Re: Help with buffer cache

From: drub sledkey (drubsledkey_at_yahoo.com)
Date: 01/30/04

  • Next message: Tim Bradshaw: "Re: vnc issues... are gonna cause me to start banging on the sparc machine now..."
    Date: 29 Jan 2004 16:22:47 -0800
    
    

    shaun.lukhan@eskom.co.za wrote in message news:<bv2lqr$t2c$1@newsreader02.ops.uunet.co.za>...
    > Hi
    >
    > How do I see what size the buffer cache is currently and how do I increase
    > it ? I am running solaris 8
    >
    > Thanks
    > Shaun

    By default, buffer cache is 2% of total memory.

    To get the current value of bufhwm, you can:

       sysdef -i | grep bufhwm

    To change it, make an entry in /etc/system such as:

       set bufhwm=10000 <--(value is in k...this example would set it to 10MB)

    Now reboot the system to invoke the new buffer cache value.


  • Next message: Tim Bradshaw: "Re: vnc issues... are gonna cause me to start banging on the sparc machine now..."

    Relevant Pages

    • Re: Localmemcache-0.3.0: A persistent key-value database bas
      ... That's also the reason why LocalMemCache doesn't need ... the file will be still there if you do a normal reboot and the ... buffer cache will be purged before that happens. ...
      (comp.lang.ruby)
    • Re: jffs2 question
      ... can I reboot the system immediately after having closed the file by C ... it is handled by the filesystem code in the kernel. ... It goes through the VFS layer, which normally uses buffer cache, so ... The metadata (the filesystem data ...
      (comp.os.linux.embedded)