

If you genuinely attempting to quantify this, you can create a swap file of any size right there on your drive. You could iterate and test every setting for every scenario. You could even change settings dynamically if you wanted to.
That said, I leave it to the kernel to figure out and over the past 25 or so years that’s been fine.
About that.
Just because I’ve done it this way and haven’t had issues, doesn’t mean it’s the best or only way.
You dared to ask a question and the tools to explore answers are readily available.
This is how we as a society make progress.
Please don’t feel like my experience is the final answer to your question … my experience tells me that this is rarely … if ever … the case.
So … please … explore!