Networking Forums

Networking Forums > Computer Networking > Linux Networking > Looking for *nix (esp. Linux) equivalent of IO Completion Ports...

Reply
Thread Tools Display Modes

Looking for *nix (esp. Linux) equivalent of IO Completion Ports...

 
 
WTH
Guest
Posts: n/a

 
      08-19-2005, 03:11 AM
Have read many contradictory statements on the web, I just wanted to know
how to avoid thread thrashing on high performance TCP/IP servers in Linux
(think hundreds of simultaneous active connections [like a web server.])

I'd read something about, in a couple of places, a fairly recent kernel
addition that signals a thread when activity occurs on an FD (but not
something that polls like the bad old days (at several microseconds per
FD...)

Thanks,
WTH


 
Reply With Quote
 
 
 
 
chris-usenet@roaima.co.uk
Guest
Posts: n/a

 
      08-19-2005, 10:19 AM
WTH <(E-Mail Removed)> wrote:
> Have read many contradictory statements on the web, I just wanted to know
> how to avoid thread thrashing on high performance TCP/IP servers in Linux
> (think hundreds of simultaneous active connections [like a web server.])


Hardware support? I've seen several ads recently in Linux Journal for
a board that appears to claim to do what need. (No I can't remember the
product name, maybe someone else can pitch in?)

Chris
 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      08-19-2005, 09:57 PM

"WTH" <(E-Mail Removed)> wrote in message
news:w4cNe.23284$(E-Mail Removed).. .

> Have read many contradictory statements on the web, I just wanted to know
> how to avoid thread thrashing on high performance TCP/IP servers in Linux
> (think hundreds of simultaneous active connections [like a web server.])


Use a thread pool and an "any thread can do any job" architecture. I've
tested up to 16,000 connections with this architecture with no problem.

> I'd read something about, in a couple of places, a fairly recent kernel
> addition that signals a thread when activity occurs on an FD (but not
> something that polls like the bad old days (at several microseconds per
> FD...)


http://www.kegel.com/c10k.html

DS


 
Reply With Quote
 
WTH
Guest
Posts: n/a

 
      08-20-2005, 02:38 AM
David Schwartz <(E-Mail Removed)> loquated like no one had ever loquated
before with:

> "WTH" <(E-Mail Removed)> wrote in message
> news:w4cNe.23284$(E-Mail Removed).. .
>
>> Have read many contradictory statements on the web, I just wanted to
>> know how to avoid thread thrashing on high performance TCP/IP
>> servers in Linux (think hundreds of simultaneous active connections
>> [like a web server.])

>
> Use a thread pool and an "any thread can do any job" architecture.
> I've tested up to 16,000 connections with this architecture with no
> problem.
>> I'd read something about, in a couple of places, a fairly recent
>> kernel addition that signals a thread when activity occurs on an FD
>> (but not something that polls like the bad old days (at several
>> microseconds per FD...)

>
> http://www.kegel.com/c10k.html
>
> DS


Great link, thanks .

WTH

--
"I notice a former captain of ours said recently that this squad is so
good that we don't need a manager. I took this as a great compliment.
He must have changed his mind since leaving as he said at the time that
Phil Thompson and I would drag the club down. On that point I suppose
he was right - we dragged the club down to Cardiff three times in the
last 10 months." - Gérard Houllier


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux equivalent of packeteer? Daz Linux Networking 0 05-10-2008 11:41 AM
Equivalent of NetMeter for Linux Shevek Broadband 2 01-28-2006 03:44 PM
Analogue of Windows I/O completion ports on Linux? Krzys Ostrowski Linux Networking 0 09-24-2005 12:57 AM
Linux equivalent to ipconfig /all IANAL_VISTA Linux Networking 6 11-21-2004 09:05 PM
Solaris ndd command equivalent in Linux Rao Kosaraju Linux Networking 1 12-10-2003 09:10 AM



1 2 3 4 5 6 7 8 9 10 11