Re: Many threads in Linux



Eric Sosman <esosman@xxxxxxxxxxxxxxxxxxxx> writes:

Scott Gifford wrote:
[...]
Here are the results I saw:
THREADS VIRT MEM RES MEM REQ/S
------- -------- ------- -----
1000 18m 9m 35218
10000 159m 79m 35216
20000 317m 159m 33659
30000 474m 238m 33733
40000 632m 318m 35183
50000 789m 398m 28864
60000 947m 477m 28018
It does start to slow down a bit, but overall the performance is
not too bad.

"A bit?" It's a twenty percent plunge! Are your friends
hedge fund managers, maybe?

It's about what I expected; my experience with servers has generally
been that throughput decreases under a high enough load. It's
actually slightly better than the "plunge" I saw with a simple
epoll-based echo server I wrote for comparison, although the epoll
server was still about 10% faster overall. See message
<lyve73oxyt.fsf@xxxxxxx> for the numbers and a link to the code:

http://groups.google.com/group/comp.programming.threads/msg/c1af24bd26a4860a

-----Scott.
.



Relevant Pages

  • Re: 30 minutes to connect!!??
    ... so I finally take the plunge and buy WoW. ... > the $15 a month fee but I really like past Blizzard titles and hope the ... > $15/month would promise a smooth hack/lag free server. ... I am not about to pay a monthly fee for this. ...
    (alt.games.warcraft)
  • Windows Server 2003 standard....application compatability?
    ... This may be an ignorant question, BUT I felt I'd better ask it anyway before ... I take this plunge into Server 2003... ... As a rule will windows Server 2003 Standard edition run all the ...
    (microsoft.public.windows.server.setup)
  • Re: Windows Server 2003 standard....application compatability?
    ... Robert Lombardi II wrote: ... > This may be an ignorant question, BUT I felt I'd better ask it anyway ... > before I take this plunge into Server 2003... ...
    (microsoft.public.windows.server.setup)
  • Re: Windows Server 2003 standard....application compatability?
    ... Robert Lombardi II wrote: ... > This may be an ignorant question, BUT I felt I'd better ask it anyway ... > before I take this plunge into Server 2003... ...
    (microsoft.public.windows.server.setup)
  • Re: Many threads in Linux
    ... Scott Gifford wrote: ... THREADS VIRT MEM RES MEM REQ/S ...
    (comp.programming.threads)