X-Recipient: archive-cygwin AT delorie DOT 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: <4A7349CF.6030709@kc8onw.net> Date: Fri, 31 Jul 2009 15:45:19 -0400 From: Jonathan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Thunderbird/3.0b3 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: 1.7 ssh/rsync consuming all cpu on x64 Vista References: <4A457DAE DOT 7010204 AT kc8onw DOT net> In-Reply-To: <4A457DAE.7010204@kc8onw.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I tried again using 1.7.0-52 (-54 is not working for me) my current uname -a is CYGWIN_NT-6.0-WOW64 SAGER9262 1.7.0(0.212/5/3) 2009-07-24 09:59 i686 Cygwin I simplified things a bit this time by using scp instead of rsync, I still see 100% cpu usage by ssh while sending data. An strace can be found at http://serenity.kc8onw.net/strace.log or the compressed version http://serenity.kc8onw.net/strace.log.tbz Not being all that familiar with debugging at this level the only things that stand out to me are the (relatively) long times spent when scp calls peek_pipe and when ssh calls writev (if that is the correct interpretation of the strace). Any suggestions for further digging or anything about the trace that seems odd? Jonathan On 6/26/2009 10:02 PM, 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. > > Other than the slow transfer rate and significant CPU usage rsync seems > to run correctly. > > I tried to browse the strace output from a partial run but I don't know > enough to see anything obviously wrong in the strace output. > > uname -a > CYGWIN_NT-6.0-WOW64 SAGER9262 1.7.0(0.210/5/3) 2009-06-18 12:51 i686 Cygwin -- 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