Does anyone use swap on a system with real time response goals? Just disable swap.
Agreed, but it is worth mentioning.
Disabling swap only prevents major page faults on anonymous memory. You want to avoid all page faults by using mlockall (https://linux.die.net/man/2/mlockall). At that point swap settings doesn't matter. But yeah, disable swap anyway just in case.