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

48
votes
4answers
28k 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?
64
votes
5answers
24k 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 ...
22
votes
4answers
58k 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 ...
70
votes
4answers
54k views

Is it okay to delete ~/.cache?

When I use disk usage analyzer and scan my home folder .cache always shows up with a decent bit of things in it. Would it be okay for me to delete the contents of this folder or would it damage ...
9
votes
2answers
6k 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 ?
9
votes
3answers
25k 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. ...
13
votes
6answers
35k 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 ...
12
votes
6answers
23k 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 ...
8
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. ...
14
votes
2answers
13k 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 ...
4
votes
1answer
8k 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 ...
7
votes
2answers
3k views

How to make ubuntu use more RAM to cache a specific set of binaries?

After 2 weeks of trying, failing, trying again, still failing, I finally got Ubuntu stable and operational. My hard disk is quite old and slow but I have excessive RAM (16 GB 2133 mhz), so I was ...
0
votes
3answers
5k 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 ...
3
votes
4answers
4k 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 ...
7
votes
1answer
5k 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): ...
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
2k 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 ...
1
vote
2answers
8k views

Clearing firefox's cache [duplicate]

Possible Duplicate: How can I get the menu bar in firefox? I have ubuntu installed on my mac with VirutalBox. Firefox is installed and I want to clear the cache of Firefox. I don't find any ...
27
votes
3answers
12k 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 ...
21
votes
4answers
12k 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 ...
5
votes
1answer
784 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.
9
votes
3answers
7k 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 ...
3
votes
1answer
628 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"
3
votes
1answer
695 views

How to get apt to make files in /var/cache/apt/archives always world-readable?

I want the files in /var/cache/apt/archives to always have read permissions for everyone. That is, whenever apt downloads a new file into this directory, it should make it world-readable. This is not ...
3
votes
2answers
861 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 ...
9
votes
3answers
1k 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 ...
0
votes
1answer
323 views

There is a file in ~/.cache/deja-dup/.. with 899G size

I am running my mail server on ubuntu which has 1.2 TB in total space. Today I realized there was an issue on my mail server, it was refusing sending/receiving mails due to storage which triggers ...
6
votes
3answers
3k 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
200 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
208 views

Deleted /var/cache

My computer was slowing down, and I saw that deleting /var/log and /var/cache could help, so I did it... I didn't know /var/cache was so important, I tought it would just rebuild itself and deleting ...
1
vote
2answers
1k 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 ...
0
votes
1answer
61 views

Simple html cache for Ubuntu Server 14.10

Which is the best system for html cache in Ubuntu Server? I have some sites in hosting on my dedicated server. I installed and set APC, I enable the cache of Apache. The sites are all made in ...
0
votes
1answer
3k views

Error opening cache E: read error -read (5:input/output error)

I tried to install 13.04 after downloading and burning on a boot disc, or 12.04 from a disc from a magazine over windows 7 on a netbook but got the following code an error occurred, please run ...