On Tue, Nov 4, 2008 at 4:16 AM, Richard Jones <[EMAIL PROTECTED]> wrote:
> I'm 90% finished writing up my findings as Part 3 to my comet series on
> www.metabrew.com - it turns out that my client process (C+libevent with
> my patch) that opens 1M connections takes 2.1GB resident once all 1M
> connections are established. With my (slightly uninformed) tcp/kernel
> tuning to make it possible, the box is actually consuming close to 10GB
> though. So it looks like 8GB is consumed by the kernel/tcp stack to
> maintain the connections, which seems a bit high - but I have no basis
> for comparison.

Yeah, why would two pages be allocated per connection if there is no
network traffic going on?
It would be fun if somebody tracked down that overhead and reduced it.
Once you write up your findings, you might want to post
a question about that on lkml.  C1000K / C1M in the subject line might
get some attention :-)
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to