a cache stores temporary data nearby so that it can be retrieved much more quickly than fetching it from the real backing store (disk, network), or recalculating some result all over again

learn more… | top users | synonyms

37
votes
4answers
17k views

How do I install and use flashcache/bcache to cache HDD to SSD?

I want to know if there is anyone who has tried installing and running their kernel built with flashcache or bcache for SSD caching? How did you manage to do it?
45
votes
5answers
14k views

Drawbacks of using preload? Why isn't it included by default?

I would like to know what are the drawbacks of using preload? If there would be no downside, preload would be enabled by default, so I guess there are some. Okay you need a bit more RAM, but most ...
5
votes
4answers
17k views

Why is the cache in my memory always full?

I have 6GB RAM, i5 2.4GHZ Processor running Ubuntu 11.10. I partitioned my HD so that I have 8GB swap. When streaming online or opening several tabs in Chromium I soon have 4GB Memory in the cache. ...
10
votes
5answers
23k views

Best way to set up DNS caching?

In order to speed up DNS lookups, I want to install a DNS cache or proxy. I can see at least three programs I think will do the job: bind9, pdnsd, or dnsmasq. I would like to make sure that if I ...
4
votes
1answer
4k views

Can I cache an mdadm raid with an ssd?

I have a 1TB array set up in raid 1 using mdadm on Ubuntu 8, to store mission-critical files. I'd like to speed up read/write, especially for large files by caching to an SSD. Is this possible? Does ...
0
votes
3answers
4k views

youtube video location in firefox

As I moved to newer version of firefox-8.0 I lost the location firefox use to store flash videos previously it used to be in /tmp/FLASH****, but now it's not there even in ...
10
votes
6answers
17k views

Errors in dmesg - Test WP failed, assume Write Enabled [duplicate]

I'm experiencing some problems with drive cache and I don't know what's causing these problems. This is my dmesg: [11690.011238] sd 6:0:0:0: [sdb] Asking for cache data failed [11690.011248] sd ...
5
votes
3answers
2k views

Why does /var/cache/apt/archives keep deleting files

I normally download all .deb packages and just copy the packages from /var/cache/apt/archives directory to the rest of the computers, saving me to have to download all the updates and programs again. ...
8
votes
2answers
20k views

How do I clean or disable the memory cache?

After the system starts, in a few minutes my memory cache fills up and it starts using the swap. Here's a screenshot of /proc/meminfo. However, if I can disable this process / clean the cache once ...
3
votes
1answer
1k views

How can I clear my cached gpg password?

I've tried: the SIGHUP method --> no succes the cache timeout in gpg-agent.conf --> it seems that this file is not read, althougt I have the 'use-agent' line in gpg.conf What should I do ?
4
votes
1answer
2k views

What is icon-theme.cache?

When I run the following command on my Lubuntu 12.10 [11:09 PM] ~ $ find /usr/share/icons/ -iname icon-theme.cache -type f I get the following (after adding the last modified date and size): ...
2
votes
4answers
2k views

What Updated Web Cache Servers are available (Caching HTTP Proxy)

I am going to install Ubuntu 11.10 Server (And soon 12.04 Server) and wanted to know what Web Cache servers (Caching HTTP proxy) come with Ubuntu 11.10/12.04 to improve performance and reduce ...
11
votes
2answers
6k views

How do I reset the thumbnail cache?

I have a lot of images on my laptop as I work in graphics. On the same system, I also have a folder containing my family pictures. I would like to do two things: Empty the already cached images ...
3
votes
2answers
1k views

Can I use all my RAM for application data?

I have yet another question about "where is my Linux memory" Question goes: can I use cache for application data? On my laptop I have 1GB ram. Situation after some time of work: browser takes 400MB ...
5
votes
2answers
977 views

Can an external flash or hard drive be used to boost performance, similar to Windows' ReadyBoost?

I have a number of spare external hard disk drives lying about the place and I was wondering if there is any practical way of using an external hard drive or USB flash memory drive to boost ...
20
votes
2answers
6k views

What is safe to exclude for a full system backup?

I'm looking for a list which paths/files are safe to exclude for a full system/home backup. Considering that I have a list of installed packages. /home/*/.thumbnails /home/*/.cache ...
17
votes
5answers
19k views

How do I use zRam?

I installed zRam as described on webupd8.org. I installed it from the terminal. Is that all I have to do or do I have to do some configuration or something? Does the zram-enabler do everything by ...
7
votes
2answers
6k views

Computer freezing on almost full RAM, possibly disk cache problem

The problem I think is somewhat similar to this thread. It doesn't matter if I have swap enabled or disabled, whenever the real used RAM amount starts going close to maximum and there is almost no ...
8
votes
3answers
5k views

How to clean caches in my homedir

My home directory is getting huge (100GB plus). When backupping it I notices that there are quite some caches there. Which important caches are there in my homedir and how should I clean them? One ...
4
votes
1answer
706 views

How to preload programs?

What I want to do is open some programs in the boot sequence so Ubuntu loads them into memory. I'm already using the preload package and it's not helping in that part. Thanks.
3
votes
1answer
490 views

What do these apt commands do?

What do these commands do? Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true update Acquire::http::Max-Age "0"
9
votes
2answers
853 views

How to add packages to a squid-deb-proxy cache?

To save bandwidth and data on my Internet plan, I have installed squid-deb-proxy on a desktop, and the client on it and a few other machines I've got. However, based on the post that put me onto this ...
2
votes
2answers
665 views

Possible to use ureadahead to cache frequently used programs?

EDIT I kinda answered my question with the help of this. The only question remaining is how to make the changes permanently stay in the pack-file and not be lost on reprofile. I'll leave the question ...
5
votes
3answers
2k views

How can I disable the prefetch cache?

I run a few Ubuntu servers that have a load of django sites running on them. The sites and the httpd start at boot and after that (apart from me SSHing in to update it or using bzr to update websites) ...
3
votes
1answer
176 views

add packages to apt's partial archives

I'm experimenting with a possible answer for add packages to squid-deb-proxy cache, wherein I am trying to add files downloaded on a different network to the squid-deb-proxy cache. It occurred to me ...
1
vote
1answer
90 views

Why won't Ubuntu tweak delete my Thumbnail Cache?

In Ubuntu tweak 0.8.7 which is installed in my Ubuntu 14.04 LTS running unity I could not delete a particular file called 'fail' in the thumbnail cache. I am actually trying to remove that file with ...
1
vote
0answers
663 views

How to I enable NFS caching for mounts made in /etc/auto.master [closed]

My /etc/auto.master is looking like this: /usr/groups yp:auto.groups --timeout=3600 /home yp:auto.home --timeout=3600 /nistest yp:auto.misc --timeout=3600 /misc yp:auto.misc --timeout=3600 I want ...