Sanjay,

Here are the results with

With 1GB RAM allocated to the VM

[EMAIL PROTECTED]:~$ swap -lh
swapfile             dev    swaplo   blocks     free
/dev/dsk/c3d0s1     102,1        4K     1.0G     1.0G
[EMAIL PROTECTED]:~$ swap -sh
total: 76M allocated + 47M reserved = 123M used, 1.4G available


Here are the results with 2GB RAM


[EMAIL PROTECTED]:~$ swap -lh
swapfile             dev    swaplo   blocks     free
/dev/dsk/c3d0s1     102,1        4K     1.0G     1.0G
[EMAIL PROTECTED]:~$ swap -sh
total: 76M allocated + 46M reserved = 122M used, 2.3G available


Seb
---
Sébastien Stormacq
Senior Software Architect
GSS Software Practice,
Sun Microsystems Luxembourg

On 15 Aug 2008, at 22:18, Sanjay Nadkarni wrote:

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.

Swap space is definitely not allocated dynamically at boot time. It is allocated during install. For opensolaris 2088.05 this was predefined size created during install. For Nov release we plan to have it depend on available memory, with a max.
I believe installs via Nevada ZFS installer using the logic above.
When booting with 2G memory, I have 2.5 x more swap space than web booting with 1Gb memory.


Can you provide some information about where this is allocated. i.e swap -l, swap -s etc.

-Sanjay

is this correct ?  If it is, how to tune this process ?

Thanks

Seb
---
Sébastien Stormacq
Senior Software Architect
GSS Software Practice,
Sun Microsystems Luxembourg

_______________________________________________
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
indiana-discuss mailing list
indiana-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to