Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

quotas

Can you set CPU and memory use quotas on an application, process, or thread?
--
Eli Allen
eallen@bcpl.net
[117 byte] By [Eli Allen] at [2007-11-9 23:49:31]
# 1 Re: quotas
look up Job Objects in the Platform SDK or MSDN.

"Eli Allen" <eallen@bcpl.net> wrote:
>Can you set CPU and memory use quotas on an application, process, or thread?
>--
>Eli Allen
>eallen@bcpl.net
>
>
Michael Howard at 2007-11-12 0:15:08 >
# 2 Re: quotas
Thanks.

I was hoping it could be done at run time to anything, not just compile
time.
--
Eli Allen
eallen@bcpl.net

"Michael Howard" <mikehow@microsoft.com> wrote in message
news:3ad5ea71$1@news.dev-archive.com...
>
> look up Job Objects in the Platform SDK or MSDN.
>
> "Eli Allen" <eallen@bcpl.net> wrote:
> >Can you set CPU and memory use quotas on an application, process, or
thread?
> >--
> >Eli Allen
> >eallen@bcpl.net
> >
> >
>
Eli Allen at 2007-11-12 0:16:08 >
# 3 Re: quotas
the job object quota stuff is determined at run-time, you can start a job
object (a collection of one or more .exe's) from an app that uses the job
object apis. this is how iis5 and 6 perform their cpu throttling.

"Eli Allen" <eallen@bcpl.net> wrote:
>Thanks.
>
>I was hoping it could be done at run time to anything, not just compile
>time.
>--
>Eli Allen
>eallen@bcpl.net
>
>"Michael Howard" <mikehow@microsoft.com> wrote in message
>news:3ad5ea71$1@news.dev-archive.com...
>>
>> look up Job Objects in the Platform SDK or MSDN.
>>
>> "Eli Allen" <eallen@bcpl.net> wrote:
>> >Can you set CPU and memory use quotas on an application, process, or
>thread?
>> >--
>> >Eli Allen
>> >eallen@bcpl.net
>> >
>> >
>>
>
>
Michael Howard at 2007-11-12 0:17:11 >