D24538: [Database] Disable read-ahead to prevent thrashing

Kai Krakow noreply at phabricator.kde.org
Thu Oct 10 18:35:22 BST 2019


hurikhan77 updated this revision to Diff 67627.
hurikhan77 retitled this revision from "[Database] Rework handling environment flags" to "[Database] Disable read-ahead to prevent thrashing".
hurikhan77 edited the summary of this revision.
hurikhan77 added a comment.


  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

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D24538?vs=67626&id=67627

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

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/fa536f6b/attachment.html>


More information about the Kde-frameworks-devel mailing list