Re: compile glibc + nptl fail
chen liwen <[email protected]>
| Newsgroups | gmane.comp.lib.phil |
|---|---|
| Message-ID | <[email protected]> |
KERNEL: 2.6.0-test1
GLIBC: glibc-2.3.2+nptl0.52
OS: redhat 8.0
yes, I ignore stacksize. i use the default stacksize.
I change it to 1M, I can create max 950 threads in my
machine( ramsize is 256M and swapspace is 300M).
./pp -v -i 10000 -n 950 -S 1000000
PING-PONG CONFIGURATION:
target (-i) = 10000
ntables (-n) = 950
sleepms (-z) = 0
pthread_scope (-s) = 134517959
pthread_process (-p) = 134517944
concurrency (-c) = 0
stacksize (-S) = 1000000
1900 threads initialised in 0s 257ms
950 games completed in 83s 947ms
thanks
chen
--- Jakub Jelinek <[email protected]> wrote:
> On Thu, Jul 17, 2003 at 01:53:01PM +0200, Ingo
> Molnar wrote:
> >
> > which precise kernel version are you using?
>
> Also, what pthread stack sizes are you using?
> If the default 8MB stacks (linuxthreads
> non-FLOATING_STACKS
> default to 2MB), then 300*8MB is more than 2.3GB.
>
> Jakub
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com