Sébastien Stormacq wrote:
> Hellop,
>
> Using SNV_95, I have the impression the swap size is allocated
> dynamically at boot time depending on available memory.
>
No, swap space is allocated at install time.
> When booting with 2G memory, I have 2.5 x more swap space than web
> booting with 1Gb memory.
>
> is this correct ? If it is, how to tune this process ?
>
You can change the swap size by adjusting the volume size.
Growing is easy, but if you want to shrink it, then you should
first remove it using something like:
swap -d /dev/zvol/dsk/rpool/swap
zfs set volsize=... rpool/swap
swap -a /dev/zvol/dsk/rpool/swap [*]
[*] I found a case where this won't work, and a reboot is needed.
Bug coming once I bound the scope...
-- richard
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss