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
14k 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?
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
1answer
251 views

Configuring a HTTP and HTTPS web accelerator using Varnish

I have installed and configured varnish on my new server. The server is currently working for http traffic. I would like to also forward SSL traffic to my webserver. It is not necessary to cache this ...
1
vote
0answers
117 views

Disk cache is sometimes dropped/erased

I have a memory/cpu monitor running, and sometimes see the graph line for “cached memory” drop, for no apparent reason. Earlier today Cache memory was at about 4.8GB but then dropped in two steps ( a ...
1
vote
1answer
917 views

how clear/clean unneeded files or cache for my customized distro

Can you help me to find out how do I clear the Cache files or unnecessary or lib that can be updated on new ubuntu install i used "ubuntu 12.10" this my top size file/folder list: 4380MiB /usr ...
1
vote
3answers
214 views

Making up cacher server for older ubuntu releases

we have ubuntu 10.04 and ubuntu 10.10 operating systems. However our software works only in these versions. We are facing some problems in the new versions 12.04 (LTS) we are working in it. But ...
0
votes
1answer
987 views

Can we install Xcache 2.0 or 3 on Ubuntu 12.04?

Xcache have already reached the version 3.0. But in Ubuntu 12.04, we still have version 1. How can we install Xcache 2 or 3 in Ubuntu 12.04?
2
votes
1answer
1k views

Install deb package with all dependencies in same folder?

I need to install multiple deb files of same software from apt cache in another ubuntu installation. For example, I have all deb files of vlc in same folder(/var/cache/apt/archives). I need to ...
6
votes
2answers
524 views

Tell the kernel to strongly cache a particular directory

This question is a rephrasing of Optimizing EXT4 performance. I have a directory that contains build files, most very small, but totaling 5.6G. I usually access the same subset of files (some ...
0
votes
1answer
73 views

Install packages in cache automatically

I have restored all my packages to cache using aptoncd. Now I want to reinstall the packages without having to choose each package. Is there any way?
6
votes
3answers
1k views

How do I tell what type of CPU cache is in my laptop?

Is there an application for Ubuntu that could tell me details about CPU, CPU cache memory, memory hierarchy, cache architecture implemented in my system, cpu cache size, cpu cache, access cycle and ...
1
vote
1answer
173 views

Dump video data from RAM DISK to the HARD DISK?

This is the story: Some online video streaming sites like www.putlocker.com won't allow Adobe Flash Player to cache the streaming videos on your Hard Disk, so the users can't watch them offline. ...
0
votes
3answers
518 views

How can I use up all RAM by cache?

I am using Ubuntu 12.10 with 4G RAM. I have changed SWAP to 10 and installed Preload. However, My system only use less than 1G RAM to cache and It remains more than 2G RAM standby. How can I use up ...
2
votes
3answers
819 views

What is the write-mode policy that is used in Ubuntu?

Is there anyway to see whether Ubuntu uses write through or write back policy? I know that write back is much better, but when I write a program in C to test the cache, it appears that Ubuntu uses ...
3
votes
1answer
491 views

KVM host: Ubuntu 12.04 3.2 Kernel showing incorrect “cache size” in cpuinfo?

2x Xeon E5620 . 16 Cores altogether. /proc/cpuinfo shows cache is only @ 4096kb According to intel this should have 12MB of "smart cache". Doing searched for E5620 and CPUinfo shows the correct ...
0
votes
1answer
671 views

Will my nginx reverse proxy cache work?

I have a website running Nginx and Apache Apache deals with PHP files, and Nginx the html static files We have now changed the site so there are no html static files, only PHP files and this has ...
1
vote
1answer
157 views

How can I stop Nautilus from caching thumbnails?

In Nautilus, I want to see thumbnails on the fly, but I don't want them to be cached. Any way to do this?
0
votes
2answers
3k 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 ...
0
votes
2answers
537 views

Are the deb files stored in /var/cache important?

I have nearly 800 MB of .deb files in cache folder .... I went through other posts related to this query but I wan not convinced. Should I just save all theses files somewhere ? I guess it won't ...
15
votes
5answers
16k 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 ...
0
votes
2answers
4k views

How to change default location of Thunderbird cache directory?

Mozilla Firefox has the key browser.cache.parent_directory for this but in Thunderbird I couldn't find it.
2
votes
1answer
154 views

Why does Zeitgeist use ~/.local/share/ instead of ~/.cache?

I have noticed that many applications like Chromium, MC, and Ubuntu One use one common ~/.cache directory, so why doesn't Zeitgeist?
0
votes
1answer
878 views

Why is downloading repository updates so slow?

Okay, I have Ubuntu version 11.10 and I wish to upgrade to 12.04. Whenever I open the Update Manager and click "Check," it has taken literally over an hour to download the cache. I cannot update ...
5
votes
2answers
16k 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 ...
4
votes
1answer
103 views

Is it possible to recover unflushed data from the disk/page cache?

In Ubuntu, I move some file to a USB stick, using mv dir/file /media/7EXXX/swap/. When finishing this, I forget to "safely remove" before physically removing usb stick. Now, the file is not shown in ...
0
votes
1answer
919 views

Packages (gstreamer, etc.) cause Broken Cache

When installing "Teamviewerx64", a package error occurs. Output of the error: Title: Package operation failed In a nutshell: The installation or removal of a software package failed. Details: ...
2
votes
1answer
3k views

How to tell if squid-deb-proxy is working?

I've got squid-deb-proxy, avahi-tools, and squid-deb-proxy-client installed on a gateway VM running 12.04 Server, and squid-deb-proxy-client installed on two client VMs running Lubuntu and Xubuntu ...
0
votes
1answer
192 views

Can Squid be used to cache updates for other distros?

Specifically, if I have a small virtual LAN with multiple VMs of each different distro - say three CentOS VMs, two Debian VMs, and assorted Ubuntu VMs - can Squid safely cache the updates for each ...
1
vote
1answer
49 views

Re-install a set of deb files on another machine without re-downloading

I made a setup for development, and it downloaded a large set of .deb files. Now, I want to re-do this for a presentation, but I do not want to re-download the 400 files live. That would take too ...
8
votes
6answers
15k 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 ...
4
votes
1answer
2k views

“No caching mode page present” when USB flash disk attached

When attaching a USB flash disk (NTFS formatted) to a laptop with Ubuntu Server 12.04 on board, I get following messages: [ 3572.355603] sd 2:0:0:0: [sdb] No Caching mode page present [ 3572.355640] ...
12
votes
2answers
3k views

Can I copy large files faster without using the file cache?

After adding the preload package, my applications seem to speed up but if I copy a large file, the file cache grows by more than double the size of the file. By transferring a single 3-4 GB ...
1
vote
0answers
636 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 ...
0
votes
1answer
105 views

How can I set up URL Caching in Ubuntu?

I'd like to set up Linux to cache some commonly requested URLs so that it doesn't have to go out to the net to get them every time. This would be a system-wide URL cache, not just in a particular ...
3
votes
1answer
168 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 ...
8
votes
2answers
772 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
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 ...
43
votes
5answers
11k 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 ...
6
votes
3answers
14k views

How do I increase cache size in Chrome?

is there any way to increase the cache size of google chrome in ubuntu 11.10 so that frequently visited pages load faster, im using a very-slow internet connection so i badly need this
24
votes
3answers
22k 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 ...
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 ...
1
vote
0answers
342 views

Auto save all visited pages in Firefox [closed]

So is there any add-on which automatically saves all the pages I visit in some cache, so that I can access them in offline mode also. I am using Firefox-8.0 and Ubuntu-10.10 .
10
votes
2answers
11k views

How to clean var/cache/apt in a way that it leaves only the latest versions of each package

I want to know a way to clean the var/cache/apt folder in a way that it only leaves the latest version of a package if it has several versions or it leaves a package if it is the only one of that ...
4
votes
1answer
1k views

Retrieve Google Chrome Ubuntu favicon

Where the favicon .ico file is stored in Ubuntu 11.10? How can I extract the .ico file from the chrome cache?
2
votes
2answers
1k views

Is there a difference between SWAP and Cache memory?

I installed the indicator-multiload 0.2-0ubuntu1 from the software center. (It's very similar to the gnome panel indicator showing memory and CPU graphs) When I click on the Unity panel which shows ...
0
votes
1answer
433 views

Cache Memory and fglrx driver slows computer

When ever my Cache memory gets extremely high, my entire computer slows down. Windows slow to load, and there's lagging on the mouse-overs for everything. The only way I can restore everything is by ...
5
votes
1answer
2k views

How to move the user cache directory [~/.cache] out of the /home directory to another partition

The .cache directory is full of volatile, non-essential files. I would like to move it to a more appropriate partition, i.e. faster and not backed up. I believe that ~/.pam_environment file is ...
5
votes
1answer
778 views

Safe to remove…?

I'm trying to customize a LiveCD, but I can't manage to fit it on a normal CD. So I investigated, and came across a few files of which I don't know if it's safe to remove them. Maybe you can help me ...
2
votes
2answers
714 views

Does seeding torrents affect the harddisk RAM caching?

I've downloaded a lot of torrent files and while I'm seeding them, I've noticed that very often when I start the browser it's slow and the hard disk activity indicator is on. Usually when I start a ...
4
votes
1answer
181 views

When running locally, does Juju use the host machine's APT cache?

When juju fetches packages for a unit, does it make use of the host system's APT cache? I'm asking this because in my case, bandwidth is limited and I am doing some charm development. It is not ...