X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 	tests=BAYES_00,RCVD_IN_SORBS_WEB,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A48E037.8060909@kc8onw.net>
Date: Mon, 29 Jun 2009 11:39:35 -0400
From: Jonathan <jonathan@kc8onw.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: 1.7 ssh/rsync consuming all cpu on x64 Vista
References: <4A457DAE.7010204@kc8onw.net> <20090629100230.GE30864@calimero.vinschen.de>
In-Reply-To: <20090629100230.GE30864@calimero.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 6/29/2009 6:02 AM, Corinna Vinschen wrote:
> On Jun 26 22:02, Jonathan wrote:
>> I've noticed that most of the time when doing an rsync tranfser over ssh
>> from my laptop to my server both ssh and rsync will max out a processor
>> core each and the transfer rate, even on a gigabit LAN, is only about
>> 250KB/s.
>
> I'm getting a 6 Gigs/s rate using the latest Cygwin from CVS.  That's
> much better, though it's much worse than the 14 Gigs/s I get when using
> scp instead of rsync.
>
> Maybe you want to give the latest Cygwin snapshot from
> http://cygwin.com/snapshots/ a try.

I just need to replace the dll correct?  If so it didn't help CPU usage 
is still maxed out.  As noted in another email it only occurs when 
sending, receiving is normal.  What should I check next?

$ ldd /bin/rsync.exe
         ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77570000)
         kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll 
(0x756a0000)
         cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
         ADVAPI32.DLL => /cygdrive/c/Windows/syswow64/ADVAPI32.DLL 
(0x770f0000)
         RPCRT4.dll => /cygdrive/c/Windows/syswow64/RPCRT4.dll (0x76d10000)
         Secur32.dll => /cygdrive/c/Windows/syswow64/Secur32.dll 
(0x75550000)
         cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x674c0000)
         cygpopt-0.dll => /usr/bin/cygpopt-0.dll (0x10000000)

$ ldd /bin/ssh.exe
         ntdll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x77570000)
         kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll 
(0x756a0000)
         cygcrypto-0.9.8.dll => /usr/bin/cygcrypto-0.9.8.dll (0x6ba40000)
         cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
         ADVAPI32.DLL => /cygdrive/c/Windows/syswow64/ADVAPI32.DLL 
(0x770f0000)
         RPCRT4.dll => /cygdrive/c/Windows/syswow64/RPCRT4.dll (0x76d10000)
         Secur32.dll => /cygdrive/c/Windows/syswow64/Secur32.dll 
(0x75550000)
         cygz.dll => /usr/bin/cygz.dll (0x692c0000)

$ uname -a
CYGWIN_NT-6.0-WOW64 SAGER9262 1.7.0s(0.210/5/3) 20090628 15:28:41 i686 
Cygwin

Jonathan

--
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

