The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
1answer
321 views

How to use an SSD for caching, so my hard disks can spin down?

I've got a file server with a bunch of disks running together in a BTRFS pool and want to add an SSD for caching. I'm not mainly after speeding up things, but want to catch the regular small accesses ...
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.
3
votes
1answer
81 views

Artificially prime buffer cache?

Is it beneficial to artificially prime the buffer cache when dealing with larger files? Here's a scenario: A large file needs to be processed, line by line. Conceptually, it is easy to parallelize ...
2
votes
1answer
78 views

Monitoring file reads for cache warming

After adding more memory to my Linux machine I was tempted to use the cache more agressively. The thing is: I boot up my machine, go to bathroom, come back and log in. It takes like half a minute to ...
1
vote
1answer
70 views

Request header for Cache-Control not working

I have set Cache-Control in apache for 1 week for my JS Files but when i check in the browser Cache-Control shows no-cache. Where i am missing the configuration ? Below is my configuration in apache ...
0
votes
1answer
187 views

flashcache tuning

I installed flashcache version 3.1.1 and created a write-back cache. The performance is good as long as the percentage of dirty blocks is not too high. My application does heavy IO at the beginning ...
0
votes
1answer
58 views

Is there a way to prevent SWAP from collecting cached data?

Here is the following info: Do I need more swap? No, disk caching only borrows the ram that applications don't currently want. It will not use swap. If applications want more memory, they ...
0
votes
1answer
41 views

How to print a Bind10 cache dump?

How can you print the current state of the bind10 cache? I searched the bind10 manual and tried to figure it out using bindctl.
5
votes
0answers
346 views

Cleanup of temporary file ~/.cache/duplicity/temp failed

Often when I run Duplicity I see an error message like this at the end of the run: Cleanup of temporary file ...
3
votes
0answers
11 views

Discover what is cached by dm-cache

I am using dm-cache successfully for quite a while now. Now I would like to know which files are being currently in the cache. I understand that dm-cache works with blocks, not files, but since there ...
3
votes
0answers
56 views

Figuring out physical cache layout in FreeBSD

I'm trying to figure out they physical cache layout of my CPU in FreeBSD 10. I see the following from sysctl kern.sched.topology_spec kern.sched.topology_spec: <groups> <group level="1" ...
3
votes
0answers
724 views

Tune write disk cache flushing algorithm

I would like to use the free memory for write cache. Linux does that automatically, but it has some weird flushing algorithm that I would like tuned for my use. I have recently used ddrescue to copy ...
2
votes
0answers
15 views

Restore /var/cache files

I've accidentally deleted all contents of /var/cache files. I managed to reinstall most by doing dpkg -S /var/cache and apt-get --reinstall install PACKAGE_NAME (see here) on every package that I've ...
2
votes
0answers
73 views

Reduce cache size of flash storage devices

For various benefits Linux uses a memory cache for writes to removable stogare devices like memory sticks. This cache seems to be quite large on my system, which leads to some annoying behavior. For ...
2
votes
0answers
31 views

In meminfo, sometimes Mapped more than Cached

In /proc/meminfo, AFAIK Cached >= Mapped But after /proc/sys/vm/drop_caches, it goes to Cached < Mapped Cached: 66132 kB Mapped: 67792 kB /proc/meminfo contents ...
2
votes
0answers
410 views

Route all HTTP traffic through polipo

I've set up polipo on my machine to listen to the default port 8123. To test it, I set the in-memory cache to a ridiculously high 2 GB and downloaded a 50 MB file using wget utilizing the proxy. ...
2
votes
0answers
48 views

Too large cache causes disks to grind, I/O to drop

This is a followup question to my earlier problem. In short I was experiencing massive I/O drops together with not-so-violent disk grinding, and with help I found out that the big caches were the ...
2
votes
0answers
686 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 ...
1
vote
0answers
39 views

How shareable is /var/cache?

I know that some subdirectories of /var/cache are pretty much shareable, for example /var/cache/pacman (in case of ArchLinux), and possibly others (/var/cache/man?), but at least /var/cache/ldconfig ...
1
vote
0answers
24 views

Avoid -dbg_version packages on apt-cacher-ng server

We have created a apt-cacher-ng server to provide cached packages to our users that have Ubuntu 14.04 installed. Combined with the cached packages, we are doing a weekly "mirror" of some Ubuntu ...
1
vote
0answers
117 views

Ubuntu: Restore not printed document from browser cache

I was at work today faced with a situation where I have to prove that I did not make a mistake. Without going into detail, yesterday I generated an important document which was to be printed. For ...
1
vote
0answers
18 views

Can not analyze output from Squid and varnish

I'm using one Squid server between tow cache server. I get from headers following information: X-Cache MISS, HIT from cache-zz X-Cache-Age 515 X-Cache-Control public, max-age=3600 X-Cache-Lookup HIT ...
1
vote
0answers
1k views

How to set up ZFS with ZIL and L2ARC SSD?

I have been considering bcache and flashcache. However my friend suggested me something called ZFS. In fact it says that formating disk with ZFS can actually do the exact same thing without kernel ...
0
votes
0answers
19 views

Booting from an lvm-cached volume

I created a cache pool following this article. The process seems to be successful. After doing an upgrade-grub and rebooting, Grub complains that it can not find the root volume (showing a UUID). - ...
0
votes
0answers
30 views

Very strange issue, something is blocking specific links on local domain

I have a very strange issue and I ran out of ideas. The major problem is that the symptoms are not consistent. I have a short link website hosted on 2 virtual machines, one with nginx+php-fpm and one ...
0
votes
0answers
59 views

Can't configure NGINX to cache images

I have been trying to cache images that are stored in nginx server, I am quite new here and to nginx I have installed it and configure it with php5-fpm, I have been reading many tutorial regarding ...
0
votes
0answers
105 views

Real copy to Android device

When i copy files to the Android phone, they are copied to some cache, but they aren't written. I don't like it, because i don't know what is done. I've tried these methods: copying via thunar file ...