D24540: [Database] Disable read-ahead to reduce thrashing
Kai Krakow
noreply at phabricator.kde.org
Thu Oct 10 18:44:01 BST 2019
hurikhan77 created this revision.
hurikhan77 added a reviewer: ngraham.
hurikhan77 added a project: Baloo.
Herald added a project: Frameworks.
Herald added subscribers: Baloo, kde-frameworks-devel.
hurikhan77 requested review of this revision.
REVISION SUMMARY
Prevent filesystem thrashing in low-mem situations by turning off
read-ahead. Access patterns of baloo are unlikely to benefit from
read-ahead and preserving cache is more valuable than reading ahead
potentially unused data.
In low-memory conditions, the random access patterns of Baloo combined
with read-ahead tend to dominate the cache. Let Baloo be the slow player
here, and leave system cache and memory for interactive performance.
REPOSITORY
R293 Baloo
REVISION DETAIL
https://phabricator.kde.org/D24540
AFFECTED FILES
src/engine/database.cpp
To: hurikhan77, ngraham
Cc: kde-frameworks-devel, ngraham, #baloo, lots0logs, LeGast00n, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191010/9e0fa313/attachment.html>
More information about the Kde-frameworks-devel
mailing list