AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  Memory used in Filesystem Cache

    Posted Wed July 23, 2008 05:19 PM

    Originally posted by: SystemAdmin


    We have a Oracle10g RAC ( 8 node) using ASM as storage on AIX 5.3L. we have 64GB memory, out of which 24 GB allocated to Oracle SGA. We observe, almost 50+% of total memory being used in File system Cache (reported by svmon -G+nmon ).

    Since ASM (non AIX filesystem) being used here, we don't need to cache any data.. Do we? Using 50+% of total memory for filesystem where no data (except root fileystem & Oracle Binaries ) seems to be a waste. Isn’t it? .

    What’s the recommended way to reduce memory used by File system cache? Is it possible to reduce maxclient & maxperm ( we have lru_repage = 0 and maxclient & perm parameters at their defaults ) in this scenario? What are the implications of having maxperm/maxclient reduced?

    Thanks in advance for your help.
    #AIX-Forum


  • 2.  Re: Memory used in Filesystem Cache

    Posted Wed July 23, 2008 07:26 PM

    Originally posted by: esv


    Are you using JFS2 filesystems? if so, you could use CIO option but you need to setup Oracle to work with the CIO (concurrent I/O) also, for CIO filesystems, you need to umount and re-mount the filetsystems.

    You have to make sure your cache hit ratio is high otherwise your application will suffer.

    best regards,
    esv.
    #AIX-Forum


  • 3.  Re: Memory used in Filesystem Cache

    Posted Thu July 24, 2008 10:25 AM

    Originally posted by: SystemAdmin


    Enrique,

    Thanks for your reply.. Only JFS2 file systems we have is root (for AIX binaries & paging/swap space ) and other is for oracle binaries and I guess, none of them can be made to use CIO/DIO... Right?

    All the data is stored on Oracle ASM storage ( i.e. raw volumes ) which does not use Filesystem cache.. so looking for ways to reduce the filesystem cache size...

    Thanks
    #AIX-Forum


  • 4.  Re: Memory used in Filesystem Cache

    Posted Thu July 24, 2008 10:38 AM


  • 5.  Re: Memory used in Filesystem Cache

    Posted Thu July 24, 2008 05:57 PM

    Originally posted by: SystemAdmin


    Here are the lines from this doc..

    With AIX5.2ML4 and above, we instead typically use the following values:
    • lru_file_repage=0
    • minperm% = 5
    • maxclient% = 80
    • maxperm% = 80

    My question is, can maxclient and maxclient be lower value than 80%? What are the implications of doing that?

    With this setting, AIX using 75% of Total memory for FS cache..in our case 64*.75= 48GB.. So, the question is , Does AIX needs this much memory when there is no data on File system? What happens when sudden surge of demand for process memory ? LRUD needs to free-up these pages from FS memory and that incure some cost. Doesn't it?
    Hope I'm clear now...

    TIA.
    #AIX-Forum


  • 6.  Re: Memory used in Filesystem Cache

    Posted Fri July 25, 2008 04:35 AM

    Originally posted by: MarkTaylor


    With this setting, AIX using 75% of Total memory for FS cache..in our case 64*.75= 48GB.. So,
    the question is , Does AIX needs this much memory when there is no data on File system?

    If there are no file pages to cache, then no file pages will get cached Happy

    maxperm and maxclient are only high water marks used by VMM to determine allowable memory for file system cache usage. if you dont access any files, then you wont get any file pages cached.

    What happens when sudden surge of demand for process memory ? LRUD needs to free-up these pages from FS memory
    and that incure some cost. Doesn't it?

    In what circumstances woul this actually happen. You have already stated that your SGA is 24GB, so Oracle wont just go and grab another 24GB ?? and also, if you dont cache file pages as you dont have any to cache, then there are still going to be pages left on the freelist.

    vmstat -v ## will show numperm% and numclient%

    Rgds
    Mark Taylor
    #AIX-Forum


  • 7.  Re: Memory used in Filesystem Cache

    Posted Fri July 25, 2008 10:08 AM

    Originally posted by: SystemAdmin



    In what circumstances woul this actually happen. You have already stated that your SGA is 24GB, so Oracle wont just go and grab another 24GB ?? and also, if you dont cache file pages as you dont have any to cache, then there are still going to be pages left on the freelist.
    ?
    1) there is sudden burst of connections.. This would need process memory...or Parallel Query slaves being spwaned etc etc..
    Also I'm still scratching my head as to what's using the File system cache.. All I have is AIX (root volumes ) & Oracle binaries and paging space... What command would show me the contents of filesystem cache?
    Thanks again..
    #AIX-Forum


  • 8.  Re: Memory used in Filesystem Cache

    Posted Mon August 04, 2008 11:03 AM

    Originally posted by: SystemAdmin


    Any more feed back ??
    #AIX-Forum