On May 9, 2010, at 6:30 AM, Roy Sigurd Karlsbakk wrote:
> ----- "Bob Friesenhahn" <bfrie...@simple.dallas.tx.us> skrev:
> 
>> On Sat, 8 May 2010, Edward Ned Harvey wrote:
>>> 
>>> A vast majority of the time, the opposite is true.  Most of the
>> time, having
>>> swap available increases performance.  Because the kernel is able to
>> choose:
>>> "Should I swap out this idle process, or should I dump files out of
>> cache?"
>>> With swap enabled, the kernel is given another degree of freedom, to
>> choose
>>> which is colder:  idle process memory, or cold cached files.
>> 
>> Are you sure about this?  It is always good to be sure ...
> 
> This is the case with most OSes now. Swap out stuff early, perhaps keep it in 
> RAM and swap at the same time, and the kernel can choose what to do later. In 
> Linux you can set it in /proc/sys/vm/swappiness.
> 
> Anyone that knows how this is tuned in osol, btw?

This is a better question for perf-discuss.

For a storage server, swap is not needed. If you notice swap being used
then your storage server is undersized.
 -- richard

-- 
ZFS storage and performance consulting at http://www.RichardElling.com










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

Reply via email to