Is there a way to assign a swap space or swap file JUST to one process or a group of processes while other processes still use normal swap mechanism?
Here is some context. I have a process that uses huge amount of memory (larger than physical memory) and I want to direct the swapped pages owned ONLY by this process to a swap file that I create on SSD.
I am using Linux. I am open to use containers if that helps with the solution.