I'm trying to maximize the performance of a game, and if it access to the swap memory the fps drops. Is there a way to "block" the swap memory for a specific program? For the moment i reduce the swappiness value until the use of ram is not enough for start to use the swap, but it is highly unstable, also my pc is a low-end one it has 2gb ram, when i start the game only the ram hits the 95% also i put the game in -20 niceness so the freezing possiblity grows a lot.
Any help is good help :)