T12641: Refactor KFileProtocol::copy

Méven Car noreply at phabricator.kde.org
Mon Oct 18 09:14:25 BST 2021


meven added a comment.


  Found some hints how to help the kernel manage its buffers and page cache efficiently when writing
  http://lkml.iu.edu/hypermail/linux/kernel/1005.2/01845.html
  http://lkml.iu.edu/hypermail/linux/kernel/1005.2/01953.html
  
  Also additional fadvise might be worse testing.
  
    (void)posix_fadvise(fd, 0, 0, POSIX_FADV_WILLNEED);
    (void)posix_fadvise(fd, 0, 0, POSIX_FADV_SEQUENTIAL);
    (void)posix_fadvise(fd, 0, 0, POSIX_FADV_NOREUSE);
  
  In any case, I desperately need a benchmark tool as kioclient can't really play that role.
  Something that would link directly with file IOSLAVE.

TASK DETAIL
  https://phabricator.kde.org/T12641

To: meven
Cc: apol, dfaure, #frameworks, #dolphin, ognarb, broulik, meven, sdorishlab, badbunny, waitquietly, azyx, nikolaik, pberestov, iasensio, aprcela, fprice, LeGast00n, koehn, cblack, fbampaloukas, alexde, Codezela, feverfew, michaelh, ahmadsamir, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, rdieter, mikesomov, vkrause
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kfm-devel/attachments/20211018/ccda11f0/attachment.htm>


More information about the kfm-devel mailing list