[kio] [Bug 291835] KIO very slow when copying from network through fish

Federico Cuello fedux at lugmen.org.ar
Sun Sep 15 21:25:59 BST 2013


https://bugs.kde.org/show_bug.cgi?id=291835

--- Comment #13 from Federico Cuello <fedux at lugmen.org.ar> ---
Hi Michael,

It's really sad that this bug isn't officially fixed yet.

What you need to do is change one line in kioslave/smb/kio_smb.h, from 
#define MAX_XFER_BUF_SIZE           16384
to
#define MAX_XFER_BUF_SIZE           1048576

How to do It depends on which distribution you are using, and you just need to
recompile the kioslaves, not the kernel.

(In reply to comment #12)
> I must apologize, but can someone provide instructions for a capable idiot
> regarding how to increase the buffer size? Does it require that I recompile
> my kernel after applying the patch?
> 
> I notice that I get about 4 times the read speed when mounting the drive
> using smb4k and transfering the files from the mount in Dolphin. So should
> one expect to get the same speeds by either increasing the buffer size or by
> reading from a mounted smb? I also notice that read speed is faster using
> scp over cp from the mounted smb.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list