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.

Thanks,
Marcus


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to