Re: High SFTP CPU usage

Andy Lutomirski <[email protected]>
Newsgroups gmane.network.lftp.devel
Message-ID <[email protected]>
Alexander V. Lukyanov wrote:
> 
> Thank you! I have made SMTask::Enter/Leave and PollVec::Empty inline and
> reduced number of calls to ShowRunStatus. I hope it will speed up lftp.
> 
> I have put out lftp-3.0.4rc1 at ftp://ftp.yar.ru/lftp/devel/ , please test.
> 

This is a lot better (CPU usage is down from 27% to 11%).

It's still not as fast as openssh.  I've attached a new profile; I may 
try to play with the the code if I find some more free time. (The opt 
version is with optimizations enabled).

Don't get me wrong, though -- this is quite good now.

Thanks!

--Andy
lftp_sftp_profile_304.gz (application/octet-stream, 58.1 KB) - not displayed
lftp_sftp_profile_304_opt.gz (application/octet-stream, 38.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.