[OmniOS-discuss] to swap or not to swap

Paul B. Henson henson at acm.org
Fri Jun 7 17:27:10 EDT 2013


On 6/5/2013 2:00 AM, Richard PALO wrote:

> Although I can't seem to quickly put my finger on the install script, it
> would be nice if when the swap volume is created that the zfs create
> command specify the blocksize as such :
>
> # zfs create -V 8G -b $(pagesize) rpool/swap
>
> (8G is only an example here)
>
> I noticed 8K default swap blocksize on amd64 instead of 4K, I understand
> 8K is normally for SPARC.

It looks like 4K is still the current recommendation in Solaris 
documentation for creating swap under x86. I'm hoping my swap is very 
rarely used, but still I'd prefer it to be optimal. I'm assuming the 
recommendation is to match the x86 page size of 4K. I guess I'll destroy 
and re-create my swap volume…

Any thoughts on making this the default in the installer?



More information about the OmniOS-discuss mailing list