<table><tr><td style="">jtamate created this revision.<br />jtamate added a reviewer: Frameworks.<br />Restricted Application added a project: Frameworks.<br />jtamate requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9840" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>kservice uses kdirwatch to be notified when one of the directories containing it's source of information changes.<br />
But also the method TimestampChecker().checkTimestamps(allResourceDirs) is called once every 1500 miliseconds.<br />
When copying files from any directory to another one, this check introduces a big use of io/wait.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Before, when copying 20Gb files, the cpu spent in io/wait, as seen by ksysguard, was around 80%.<br />
After, when copying 20Gb files, the cpu spent in io/wait, as seen by ksysguard, is around 50%</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R309 KService</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9840" rel="noreferrer">https://phabricator.kde.org/D9840</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/sycoca/ksycoca.cpp</div></div></div><br /><div><strong>To: </strong>jtamate, Frameworks<br /></div>