Re: High SFTP CPU usage

"Alexander V. Lukyanov" <[email protected]>
Newsgroups gmane.network.lftp.devel
Message-ID <[email protected]>
On Tue, May 11, 2004 at 01:37:51AM -0700, Andy Lutomirski wrote:
> 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).

openssh does less things than lftp while it transfers data. E.g. lftp
shows dynamic status and calculates current rate.

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

I have looked at the profile data and have not found obvious ways to improve
performance. Maybe Speedometer::Add can be slightly improved.

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