Tmpfs for Cache DB

If I’m using --cache-db-purge and specify --cache-db-path, is it practical to use /dev/shm for the cache backend db file?
Does this provide any performance improvements for the cache remote? Or will it cause any problems?

I don’t see why not…

Probably, though whether you’ll notice them is a different matter!

Well you stand the risk of running your machine out of memory…

I’m no linux expert, but I assume the ls -l command shows file size in bytes.
My GDcache.db currently shows 4194304. 4M shouldn’t put too much strain on memory.

1 Like