The tag has no wiki summary.

learn more… | top users | synonyms

20
votes
4answers
23k views

Can I safely remove /var/cache?

I am running out of disk space and noted that I have a large /var/cache directory. Can I safely remove this? (using Arch Linux, BTW).
1
vote
3answers
1k views

Increasing the size limit for /var/cache/apt/archives

I have 2 systems running Debian at home and I am trying to minimize the bandwidth use while upgrading the packages. How can I increase the size limit of the cache, so that I could just copy the ...
7
votes
2answers
5k views

Cleancache vs zram?

I have an old laptop here with only 512 MB of RAM. Since a few kernel releases, I am using zram to convert 256 MB of it to a compressed ramdisk which is then used as swap. This has proved to be very ...
1
vote
0answers
966 views

What is meant by cache aliasing? [closed]

What is the meant by cache aliasing? I searched around some, but wasn't satisfied with the answers I found. I also saw two associated terms, instruction cache aliasing & data cache aliasing. ...
2
votes
0answers
634 views

Linux kernel slab usage growing on embedded system

I'm in the process of QA/debugging a project on a custom embedded linux system. The problem we're VERY tight on memory, and even a couple megs can cause issues with our software. What I'm seeing ...
4
votes
1answer
2k views

What options are there for tuning Linux file system caching?

What various types of caching are possible in the ext3 file system and how can their values be changed using system calls or other methods? I don't want to use commands or tools.
17
votes
7answers
5k views

Linux equivalent to ReadyBoost?

Is there a kernel module or some other patch or something similar to Windows' ReadyBoost? Basically I'm looking for something that allows disk reads to be cached on a Flash drive.
1
vote
1answer
674 views

What is excessive swapping

This post led me to ask that question. Cache contention On a large site, if you are using MyISAM, contention occurs in the database tables when the cache is forced to clear after a node ...
26
votes
3answers
3k views

Does grep use a cache to speed up the searches?

I have noticed that subsequent runs of grep on the same query (and also a different query, but on the same file) are much faster than the first run (the effect is easily noticeable when searching ...
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 ...
73
votes
3answers
15k 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
380 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
180 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 ...
8
votes
3answers
520 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
15k 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 ...