Hi, I am running rsync (rsync-2.6.3-1) on CentOS 4 (2.6.9-11.EL). I notice that the performance is pretty slow ranges between 2 and 6 MB/s. The command that I use from a remote machine to this, the archiving host, is: rsync -avz -e ssh ./dir archsrv:/archive/DATA An investigation with top shows that the system is cpu bound rather than IO bound and that the sshd process is consuming 75% of the CPU compared to the rsync process which uses about 25%. Why is ssh using so much CPU? It seems wrong to me. I would expect rsync to be using most as it has to do compression. Any Ideas? Best Regards -- This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender immediately and delete this e-mail from your system. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Ricardo (save for reports and other documentation formally approved and signed for release to the intended recipient). Only Directors or Duly Authorised Officers are authorised to enter into legally binding obligations on behalf of Ricardo unless the obligation is contained within a Ricardo Purchase Order. Ricardo may monitor outgoing and incoming e-mails and other telecommunications on its e-mail and telecommunications systems. By replying to this e-mail you give consent to such monitoring. The recipient should check this e-mail and any attachments for the presence of viruses. Ricardo accepts no liability for any damage caused by any virus transmitted by this e-mail. "Ricardo" means Ricardo plc and its subsidiary companies. Ricardo plc is a public limited company registered in England with registered number 00222915. The registered office of Ricardo plc is Bridge Works, Shoreham-by Sea, West Sussex, BN43 5FG.
On Tue 04 Oct 2005, Gary Mansell wrote:> I notice that the performance is pretty slow ranges between 2 and 6 > MB/s. > > The command that I use from a remote machine to this, the archiving > host, is: > > rsync -avz -e ssh ./dir archsrv:/archive/DATA > > > An investigation with top shows that the system is cpu bound rather than > IO bound and that the sshd process is consuming 75% of the CPU compared > to the rsync process which uses about 25%. > > Why is ssh using so much CPU? It seems wrong to me. I would expect rsync > to be using most as it has to do compression.ssh has to do encryption, which is pretty CPU-intensive stuff. You can tell ssh to use an encryption method that is less CPU-intensive, such as arcfour; your command would look like this: rsync -avz -e 'ssh -c arcfour' ./dir archsrv:/archive/DATA Alternatively, if security permits, use an rsync daemon.> [snip silly disclaimer]These are useless if writing to a mailing list... and probably useless anyway. Paul Slootman
Maybe Matching Threads
- Windows Client Print Queue does not get cleared afterjobcompletion....
- Samba authentication slow after upgrade to Samba 3
- Guest account access with User mode security?
- How should guest access work with Samba 3 and User Mode Security???
- Windows user authentication to Samba server?