[Kget] kio filecopy use too much cpu

Manolo Valdes nolis71cu at gmail.com
Mon Dec 24 04:45:08 CET 2007


Hi guys

try this pacth. that calls Filejob::Seek() and filejob::write()
only when the segment buffer has more than 8k of data.
this should use less cpu usage. seems that kio::filejob needs too much cpu

if it works better with this patch on linux please let me know to commit it.

here on FreeBSD it works normally to me.

-- 
Sobre toda cosa guardada, guarda tu corazón; porque de él mana la vida.
Prov. 4:23
---------------------------------------------------------
Keep your heart with all diligence, for out of it spring the issues of live
Prov. 4:23
-------------- next part --------------
A non-text attachment was scrubbed...
Name: segmentfactory.diff
Type: text/x-diff
Size: 705 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kget/attachments/20071223/fafbf416/attachment.bin 


More information about the Kget mailing list