3 ms·
> If you can get your hands on a buttload of memory, try using a tmpfs mount instead. If you don't have enough memory, using an nbdkit tmpdisk (https://libgues
by rwmj 5y ago
> If you can get your hands on a buttload of memory, try using a tmpfs mount instead.
If you don't have enough memory, using an nbdkit tmpdisk (https://libguestfs.org/nbdkit-tmpdisk-plugin.1.html https://libguestfs.org/nbdkit-tmpdisk-plugin.1.html) is a middle ground. It's backed by disk, but disables flushes which gives you a good 30% speed boost. (Obviously only use this for stuff you don't care about / can reproduce, because disabling flushes is dangerous and will lose data if the machine crashes).