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