Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <40F3CE2E.7010403@x-ray.at> Date: Tue, 13 Jul 2004 13:57:34 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7) Gecko/20040616 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: rsync very slow, but not a network issue References: <40F2CE78 DOT 7030109 AT alexisgallagher DOT com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Thorsten Kampe schrieb: > * Alexis Gallagher (2004-07-12 19:46 +0200) > >>I am finding that rsync+ssh is giving extremely slow file transfers. But >>this slowdown is hitting not when it needs to send data over the >>network, but when it applies the rsync algorithm which is supposed to be >>faster than sending all the data over the network. This is very puzzling. >> >>For a benchmark, I tried transfering a 5.4 MB mp3 file three different >>ways. Here were my results, as reported by 'scp -v' and 'rsync >>--progress --stats': >> >> scp: 311000 B/s >> rsync (file not there): 309000 B/s >> rsync (file already there): 741 B/s >> >>When the file is alredy there, rsync reports a speedup of about 70. >>(When the file is not already there, the speed up is 1, of course.) I am >>running rsync over ssh with pre-generated keys installed in my .ssh >>directories. > > > rsync under Cygwin is extremly slow and CPU intensive. For example a > simple script that syncs my dot files from my local NetWare server > takes 1:10 minutes to run and eats about 60% CPU while on my Gentoo > box (which has exactly the same hardware) it takes 7 seconds and 2% > CPU. > > Try disabling checksumming, zipping and transfer the whole file > ('-W'). Try it without ssh. I rechecked my test, this time with cygserver enabled. Before I ran it without cygserver and without ipc-daemon2. (Forgot if rsync uses now the old ipc-daemon2 or the new cygserver or no ipc at all.) Same (fast) results as expected, for both cases with local files. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/