Subject: Re: Issue with large memory systems, revisited
To: Chuck Silvers , John Klos <john@sixgirls.org>
From: Matt Thomas <matt@3am-software.com>
List: tech-kern
Date: 11/07/2002 23:27:36
At 10:05 PM 11/7/2002, Chuck Silvers wrote:
>hi,
>
>how are you measuring "the number of simultaneous tasks"?
>I tried running 5000 copies of "sleep 100" via
>
>10 dualg4:~ # unlimit maxproc; repeat 5000 sh -c 'sleep 100 &'
>
>(from tcsh), and that worked fine:
>
>18 dualg4:~ # top | head
>load averages:  1.88,  0.90,  0.38    22:04:22
>5025 processes:5024 sleeping, 1 on processor
>
>Memory: 72M Act, 79M Wired, 1217M Free

Was that on 1.6 or -current?  Current supports 512MB of KVA which
makes that possible.  256MB under 1.6 along with the buffer cache
autosized for 1.6GB greatly reduces the among of leftover KVA
needed for the kernel stack of all those processes.


-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message