lkml.org 
[lkml]   [1999]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: Max tcp connections

> If you think it sounds cool in theory, try watching it in action. The
> kernel support is in 2.3, and there is a simple static http server demo
> of the user-mode code in
>
> http://people.redhat.com/zab/phhttpd/
>
> It's just a demonstration-of-concept in its current form, but the
> performance results are rather nice.

I have a vastly improved version I'm about to push out too. Its far more
flexible, is relatively compliant, and gets the fast path serving to
around 6 syscalls or so.

It really wants shared rt queues.

[and david, what workloads have you profiled this stuff under? I'm
definitely interested.

at least under linux I was seeing the kernel spend significant amounts of
time walking the poll lists just to find that a single fd was ready. Given
the tight core of phhttpd it can service an fd quite quickly.. you'd need
gigabit to keep it busy. the trick is to keep _lots_ of 'slow 57.6'
concurrent connections going, not churn through lots of tiny 100mb fetches
over lossless ether. the former is what the real world looks like..]

Zach Brown <zab@redhat.com> -- Software Princess


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:2.700 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site