Ubound

Started by Qinn, July 24, 2016, 10:28:21 AM

Previous topic - Next topic
July 26, 2016, 07:57:48 AM #15 Last Edit: July 26, 2016, 09:33:48 AM by Qinn
Quote from: franco on July 25, 2016, 08:48:38 PM
You're right. I've added the first if later. It's not a bug, though an unreachable conditions. I can mop this up for the final image.

Though the question still stands... what should be the threshold for using swap?


Cheers,
Franco


Quote; "As a rule of thumb, the swap partition should be about double the size of physical memory (RAM). Systems with minimal RAM may perform better with more swap. Configuring too little swap can lead to inefficiencies in the VM page scanning code and might create issues later if more memory is added. (from https://www.freebsd.org/doc/handbook/bsdinstall-partitioning.html)." So with that in mind an approach could be, to link the size to the setup and there Minimum & Recommended Configurations https://opnsense.org/users/get-started/ , so Virtual, Minimum and Reasonable and Recommended.  So 1 GB, 512 MB, 1 GB and 4 GB which leads to 2 GB, 1 GB, 2 GB and 8 GB swap sizes. The threshold could be related to the recommended disk size so, 8 GB, 4 GB,  40 GB and 120 GB.

Btw I still would appreciate your advise on my Q in reply #11?