On Feb 26, 2010, at 12:20 PM, Ronny Egner wrote:
> Hi Richard,
> 
> r...@openstorage:~# echo "swapfs_minfree/D" | mdb -k
> swapfs_minfree:
> swapfs_minfree: 2358757
> 
> 
> 2358757 pages * 4 KB = 9435028 Kb = 9.2 GB
> 
> So there is my memory :-)

I believe so.

> 
> If i read the documentation correctly this parameter has to be set in 
> /etc/system?

There is an interesting (to me :-) discussion about this in
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4469865

The way I see this is that the rule of 7/8 memory or memory - 1GB is, for 
all practical purposes, just 7/8 of memory because the ARC will begin
reclaiming as it crosses the 7/8 threshold.  Obviously, the box needs to
have more than 8GB before this is noticeable.

I think it is quite reasonable to set this to a lower value for a storage server
with lots of memory because you don't expect to have a sudden need for large
quantities of swap.

See also
http://docs.sun.com/app/docs/doc/819-2724/chapter2-125?a=view

 -- richard

ZFS storage and performance consulting at http://www.RichardElling.com
ZFS training on deduplication, NexentaStor, and NAS performance
http://nexenta-atlanta.eventbrite.com (March 16-18, 2010)




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

Reply via email to