Re: [lftp] Compiling with ncursesw

2013-11-28 Thread Chris Sutcliffe
On 28 November 2013 01:27, Alexander V. Lukyanov wrote:
 On Wed, Nov 27, 2013 at 07:53:39AM -0500, Chris Sutcliffe wrote:
 Is it possible to specify using ncursesw versus ncurses at time of
 configuration?

 No. But why do you need it? lftp only uses tigetstr function from ncurses, so
 the version of ncurses library should not matter.

Fair enough.  To be honest I didn't look in to the lftp code base to
see where the curses functions were used.  My only concern was the
handling of unicode characters properly, but it seems like that is not
an issue.

Cheers!

Chris

-- 
Chris Sutcliffe
http://google.com/+ChrisSutcliffe
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


Re: [lftp] lftp-4.4.13 -- multi-core/multi-threading support for get on 10GbE networks?

2013-11-28 Thread Alexander V. Lukyanov
On Thu, Nov 28, 2013 at 03:47:54PM -0500, Justin Piszcz wrote:
 When transferring data on high speed networks (10GbE) lftp hits 100% on a
 moderately fast Xeon CPU (E5645), the FTP server is not the bottleneck as it
 uses around 37% CPU (different CPU on the server host).  Are there any plans
 to spin off separate workers (if possible) so a single CPU-core is not a
 bottleneck at the client-side?

I don't think multithreading is going to be implemented in lftp. I avoided
it from the start as single-threading makes programming and debugging
easier.

But I think it is possible to squeeze more performance by optimization.
First provide me with profiling information (compile with -pg gcc option,
then run lftp, then run gprof, send me the output), then be ready to try
optimized versions to see if they make a difference.

-- 
   Alexander.
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp