[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: providing memory objects to users

From: Marcus Brinkmann
Subject: Re: providing memory objects to users
Date: Wed, 12 Jun 2002 13:36:30 -0400
User-agent: Mutt/1.3.25i

On Wed, Jun 12, 2002 at 10:32:21AM -0700, Thomas Bushnell, BSG wrote:
> Map a big region, start modifying pages.  Eventually you will trigger
> pageout.  The kernel will now proceed to start paging things out: all
> at once.

Ok, I see.  How about throtteling the creation of new service threads in
libpager's ports_manage_multithreaded (eg make it an option to
libports).  I wouldn't want to make it a fixed limit as this can always
potentially lead to a deadlock, but we could limit the number of threads
we create in one second.  It seems to me that this would sanitize the
situation, as it would give the first couple of dozens pager_write_page
threads a chance to run and return to the pool before the next couple
hundreds are created.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]