Click to See Complete Forum and Search --> : quotas


Eli Allen
04-11-2001, 05:28 PM
Can you set CPU and memory use quotas on an application, process, or thread?
--
Eli Allen
eallen@bcpl.net

Michael Howard
04-12-2001, 02:48 PM
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
04-12-2001, 03:24 PM
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.devx.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
04-13-2001, 05:58 PM
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.devx.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
>> >
>> >
>>
>
>