2
votes
1answer
29 views

What happens when a tmpfs is full and no swap space is available?

Let's say I have a setup with 16 GB of physical RAM, A tmpfs of max. 8 GB containing a file with 5 GB and A swap sized 4 GB. If I'd try to, e.g., create a copy of the 5 GB file on the tmpfs, what ...
6
votes
2answers
40 views

How to make files inside TMPFS more likely to swap

I'm using tmpfs for my /tmp directory. How can I make the computer decide to swap out the files inside the /tmp before swapping out anything that is being used by applications? Basically the files ...
7
votes
1answer
2k views

Tmpfs only with RAM

How to be sure that a tmpfs filesystem can only deal with physical and it's not using a swap partition on disk ? Since i have a slow HDD and a fast RAM i would like, at least, giving higher priority ...
2
votes
1answer
608 views

tmpfs and vm.swappiness

I have started tuning a bit Linux VM performance on my system (yes. I know that vm.swappiness=0 will kill kittens but I found 30-40 as much better for me as it improved my latency - probably at cost ...