D27504: WIP: RFC: smb faster copy to local

Harald Sitter noreply at phabricator.kde.org
Wed Feb 19 14:57:07 GMT 2020


sitter added inline comments.

INLINE COMMENTS

> kio_smb_dir.cpp:88
> +        const off_t idealSegmentSize = qMin(fileSize / 50,
> +                                            4L * 1024 * 1024 /* 4 MiB */);
> +        segmentSize = qMax(segmentSize,

This may actually be too optimistic. If you happen to use all 20 allowed instances of the slave (5 per server) and each copies a file that hits the segment limit, then we'd be looking at up to 400MiB. A bit steep. Then again, I am not sure how likely that is.

REPOSITORY
  R320 KIO Extras

REVISION DETAIL
  https://phabricator.kde.org/D27504

To: sitter, ngraham, cfeck
Cc: kde-frameworks-devel, kfm-devel, pberestov, iasensio, fprice, LeGast00n, cblack, MrPepe, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200219/8c6bc20c/attachment.html>


More information about the Kde-frameworks-devel mailing list