Re: [zfs-discuss] Re: Re: ZFS memory and swap usage

2007-03-19 Thread Robert Milkowski
Hello Rainer,

Monday, March 19, 2007, 3:07:54 AM, you wrote:

RH Thanks for the feedback. Please see below.

 ZFS should give back memory used for cache to system
 if applications are demanding it. Right it should but sometimes it
 won't.
 
 However with databases there's simple workaround - as
 you know how much ram all databases will consume at least you can
 limit ZFS's arc cache to remaining free memory (and possibly reduce
 it even more byt 2-3x factor). For details on how to do it see 'C'mon
 ARC, stay small...' thread here.
 
 So if you have 16GB RAM in a system and want 10GB for
 SGA + another 2GB for Oracle + 1GB for other kernel resources you
 are with 3GB left.
 
 So I would limit arc c_max to 3GB or even to 1GB.

RH I was of the understanding that this kernel setting was only
RH introduced in newer Nevada builds. Does this actually work under Solaris 
10, Update 3?

Yes

-- 
Best regards,
 Robertmailto:[EMAIL PROTECTED]
   http://milek.blogspot.com

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


Re: [zfs-discuss] Re: Re: ZFS memory and swap usage

2007-03-19 Thread Roch - PAE

Info on tuning the ARC was just recently updated:

http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide#Memory_and_Dynamic_Reconfiguration_Recommendations

-r

Rainer Heilke writes:
  Thanks for the feedback. Please see below.
  
   ZFS should give back memory used for cache to system
   if applications are demanding it. Right it should but sometimes it
   won't.
   
   However with databases there's simple workaround - as
   you know how much ram all databases will consume at least you can
   limit ZFS's arc cache to remaining free memory (and possibly reduce
   it even more byt 2-3x factor). For details on how to do it see 'C'mon
   ARC, stay small...' thread here.
   
   So if you have 16GB RAM in a system and want 10GB for
   SGA + another 2GB for Oracle + 1GB for other kernel resources you
   are with 3GB left.
   
   So I would limit arc c_max to 3GB or even to 1GB.
  
  I was of the understanding that this kernel setting was only introduced in 
  newer Nevada builds. Does this actually work under Solaris 10, Update 3?
  
  Thanks again.
  Rainer
   
   
  This message posted from opensolaris.org
  ___
  zfs-discuss mailing list
  zfs-discuss@opensolaris.org
  http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

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


[zfs-discuss] Re: Re: ZFS memory and swap usage

2007-03-18 Thread Rainer Heilke
Thanks for the feedback. Please see below.

 ZFS should give back memory used for cache to system
 if applications are demanding it. Right it should but sometimes it
 won't.
 
 However with databases there's simple workaround - as
 you know how much ram all databases will consume at least you can
 limit ZFS's arc cache to remaining free memory (and possibly reduce
 it even more byt 2-3x factor). For details on how to do it see 'C'mon
 ARC, stay small...' thread here.
 
 So if you have 16GB RAM in a system and want 10GB for
 SGA + another 2GB for Oracle + 1GB for other kernel resources you
 are with 3GB left.
 
 So I would limit arc c_max to 3GB or even to 1GB.

I was of the understanding that this kernel setting was only introduced in 
newer Nevada builds. Does this actually work under Solaris 10, Update 3?

Thanks again.
Rainer
 
 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss