Allan Sandfeld Jensen wrote: > On Thursday 13 May 2010, Nicolas Alvarez wrote: >> As a KDE4.3 user with 1TB of disk, I'm way more annoyed at >> kio_http_cache_cleaner starting regularly and eating my computer's I/O >> than the HTTP cache growing big. I can easily notice when the the cache >> cleaner is running from the HD light, the HD noise, and the general >> system lag. >> >> There *has* to be a better way to clean an HTTP cache than to stat every >> single file in the cache to then delete a tiny fraction of them. Someone >> told me 4.4 improved in this area, but I don't know specifics, and remain >> skeptical. > > If stat updates the files' atime, you may get a lot better performance by > simply mounting the relevant partition with relatime or noatime (which for > some reason is still not default).
After some stracing: It doesn't just stat the files. It first stats, then actually opens the files and *reads* the first few bytes of all of them (where the HTTP cache information is stored). -- Nicolas (I read mailing lists through Gmane. Please don't Cc me on replies; it makes me get one message on my newsreader and another on email.) -- To UNSUBSCRIBE, email to debian-kde-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/hslb13$ib...@dough.gmane.org