D9840: Tentative patch to reduce I/O overhead of plasmashell when copying files

Jaime Torres Amate noreply at phabricator.kde.org
Fri Jan 12 09:44:32 UTC 2018


jtamate created this revision.
jtamate added a reviewer: Frameworks.
Restricted Application added a project: Frameworks.
jtamate requested review of this revision.

REVISION SUMMARY
  kservice uses kdirwatch to be notified when one of the directories containing it's source of information changes.
  But also the method TimestampChecker().checkTimestamps(allResourceDirs) is called once every 1500 miliseconds.
  When copying files from any directory to another one, this check introduces a big use of io/wait.

TEST PLAN
  Before, when copying 20Gb files, the cpu spent in io/wait, as seen by ksysguard, was around 80%.
  After, when copying 20Gb files, the cpu spent in io/wait, as seen by ksysguard, is around 50%

REPOSITORY
  R309 KService

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

AFFECTED FILES
  src/sycoca/ksycoca.cpp

To: jtamate, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180112/4f9a3f7d/attachment.html>


More information about the Kde-frameworks-devel mailing list