The tag has no wiki summary.

learn more… | top users | synonyms

9
votes
5answers
5k views

How to cache or otherwise speed up `du` summaries?

We have a large file system on which a full du (disk usage) summary takes over two minutes. I'd like to find a way to speed up a disk usage summary for arbitrary directories on that file system. For ...
7
votes
2answers
1k views

How to time grep commands accurately?

I want to compare the speed of these two commands: grep pattern1 files* grep pattern2 files* Unfortunately, the first grep reads much of files* into memory buffers, so the second grep runs ...
15
votes
4answers
14k views

Where are stored the Youtube videos cache in Google Chrome?

Google Chrome used to store YouTube videos in /tmp, but not for the last two versions. Nor could I find those files in ~/.cache/google-chrome. Googling for this query produces Windows-specific ...
68
votes
2answers
14k views

How do I clear Bash's cache of paths to executables?

When I execute a program without specifying the full path to the executable, and Bash must search the directories in $PATH to find the binary, it seems that Bash remembers the path in some sort of ...
5
votes
1answer
374 views

Why doesn't dm-crypt handle write barriers properly?

One of the well-known properties of dm-crypt is that it does not handle write barriers properly and hence it requires turning off on-drive write cache to prevent corruption of filesystems. As far as I ...
0
votes
2answers
175 views

Caching bugzilla webpages for offline use

I have a long wifi free journey ahead of me and I would like to continue to productively review bugs even without the ability to change them. Is there an easy way to cache all the pages generated ...
7
votes
3answers
503 views

Why does it makes sense to cache swap?

It sounds quite counter-productive to me to cache pages that are swapped out. If you swap pages in, what is the advantage to first cache them in memory, only to have to than move them to the right ...
7
votes
5answers
14k views

DNS queries not using nscd for caching

I'm trying to use nscd (Nameservices Cache Daemon) to cache DNS locally so I can stop using Bind to do it. I've gotten it started and ntpd seems to attempt to use it. But everything else for hosts ...