I have an SSD, so space is a scarce resource. I'd like to use up as little as possible for swap. In fact, I have spent the last year completely without a swap partition (the computer has 6 GB RAM).
I am planning a clean reinstall and want to try some new things. Among them, I want to reduce the write load on the SSD by placing the write-heavy system directories on tmpfs. Specifically, I want to place
/var/tmp/cache in the RAM. Obviously, this will increase my RAM usage, and at some point, I might need swap after all.
I haven't logged temp directory sizes and RAM usage in the past, and don't want to install logging tools and wait with the reinstall until I have gathered sufficient data. What are my best options for making a guess for a suitable swap partition size? How sensible will such a guess be? Am I just left shooting in the dark or relying on overgenerous guidelines of the sort "1.5x your RAM size"?
I do a complete shutdown every night, so I hope the temp directories won't get too big in size.