Bob Friesenhahn wrote:
> On Sat, 19 Apr 2008, Richard Elling wrote:
>   
>> Don't worry about swapping on CF.  In most cases, you won't be
>> using the swap device for normal operations.  You can use the
>> swap -l command to observe the swap device usage.  No usage
>> means that you can probably do away with it.  If you actually
>> use swap, performance will suck, so buy more RAM.
>>     
>
> I don't agree that if swap is used that performance will necessarily 
> suck.  If swap is available, Solaris will mount /tmp there, which 
> helps temporary file performance.  It is best to look at system paging 
> (hard faults) while programs are running in order to determine if 
> performance sucks due to inadequate RAM.  In many runtime 
> environments, only a small bit of the application address space is 
> ever needed.
>   

swapfs is always there.  But, IMHO, it is a misnomer because it just uses
the virtual memory system.

The prevailing method of determining memory shortfall is to observe the
page scanner (scan rate, sr).  But just for grins, try swap -l on your 
systems
and see if any pages have been used on the swap device.  The answer
usually surprises ;-)

> More RAM definitely improves ZFS repeated read performance due to 
> caching in RAM.  ZFS gives otherwise unused memory something useful to 
> do.
>
> Regardless, with a 64-bit CPU and a 64-bit OS it seems like a crying 
> shame to install less than 4GB of RAM. :-)
>   

Yep, or if you do OpenGL stuff, like I've been doing lately, much more 
RAM :-)
 -- richard

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

Reply via email to