[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: CPU load control
From: Jakub Stachowski <stachowski () hypair ! net>
Date: 2005-08-20 15:06:44
Message-ID: 200508201706.44696.stachowski () hypair ! net
[Download RAW message or body]
Dnia sobota, 20 sierpnia 2005 13:39, Manuel Amador napisaĆ:
[ ... ]
> You start a background task which starts to read directories and files> (the regular activity \
> of an indexer), even with a nice 20 level, and> pretty soon apps you wanna work with need to \
> page their data from the> hard disk. This is caused by two phenomenons: disk cache eviction \
> (the> OS evicts useful files from the cache because the indexer starts to read> files, and \
> the OS services those requests, caching stuff for the> indexer) and memory pressure (which \
> happens because while the indexer> runs, stuff will get paged in to disk to service the \
> memory requests> from the indexer).
You can prevent this by using fadvise() and/or madvise() to hint kernel that indexed files \
should not be loaded into disk and page cache.
> > > > > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to> > >> unsubscribe << >> \
> > > > > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic