From kde-devel Sat Aug 20 15:06:44 2005 From: Jakub Stachowski Date: Sat, 20 Aug 2005 15:06:44 +0000 To: kde-devel Subject: Re: CPU load control Message-Id: <200508201706.44696.stachowski () hypair ! net> X-MARC-Message: https://marc.info/?l=kde-devel&m=112455048919671 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 <<