On Tue, 30 Jun 2009, Warren Young wrote:

> Corinna Vinschen wrote:
> > What's still not clear is why the ssh process takes so much CPU.
>
> Too many buffer copies?  It takes a surprising amount of CPU power to
> fill a gigabit pipe from userland.  Double or triple that workload with
> unnecessary copies, and there goes your transfer rate, evaporating on
> the wind.

Even more so for context switches ;-):

http://www.cygwin.com/ml/cygwin-developers/2007-10/msg00040.html

although this performance penalty was removed from read/write and friends:

http://www.cygwin.com/ml/cygwin-developers/2007-12/msg00004.html

it is still present for send/recv and friends.

I'd be happy to make a donation or organize a fund raising effort if it
would help to find a work around for this long standing performance issue.

-- 
Brian Ford
Staff Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained crew...

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to