<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Buffer Cache in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224054#M687058</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;U can use "top" or "glance" command.&lt;BR /&gt;&lt;BR /&gt;BR/&lt;BR /&gt;Yaqub</description>
    <pubDate>Sat, 28 Jun 2008 07:59:12 GMT</pubDate>
    <dc:creator>YAQUB_1</dc:creator>
    <dc:date>2008-06-28T07:59:12Z</dc:date>
    <item>
      <title>Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224053#M687057</link>
      <description>Hi guys&lt;BR /&gt;&lt;BR /&gt;I have a Rx7620 server running HP-UX 11.2vi.&lt;BR /&gt;&lt;BR /&gt;I can see from the tool kmeminfo that my buffer cache usage is 4.7GB (29%).&lt;BR /&gt;&lt;BR /&gt;Is there anyway I can find out what data or processes using the buffer cache?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 28 Jun 2008 07:53:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224053#M687057</guid>
      <dc:creator>Subentu</dc:creator>
      <dc:date>2008-06-28T07:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224054#M687058</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;U can use "top" or "glance" command.&lt;BR /&gt;&lt;BR /&gt;BR/&lt;BR /&gt;Yaqub</description>
      <pubDate>Sat, 28 Jun 2008 07:59:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224054#M687058</guid>
      <dc:creator>YAQUB_1</dc:creator>
      <dc:date>2008-06-28T07:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224055#M687059</link>
      <description>Thanks.&lt;BR /&gt;&lt;BR /&gt;But to my understanding top command gives the physical memory usage of processes.&lt;BR /&gt;&lt;BR /&gt;What I want is a break-up of the buffer cache usage.&lt;BR /&gt;&lt;BR /&gt;Or maybe what you are saying is the processes that are using the physical memory most are also using the buffer cache?</description>
      <pubDate>Sat, 28 Jun 2008 08:02:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224055#M687059</guid>
      <dc:creator>Subentu</dc:creator>
      <dc:date>2008-06-28T08:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224056#M687060</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Buffer cache is an area of memory between disk and OS. If you don't change any setting it's adjusted so that it can grow up to %50 of memory. Practically this is waste of memory. &lt;BR /&gt;dbx_max_pct and dbc_min_pct are kernel parameter you want to set. a common idea is setting these values to:&lt;BR /&gt;&lt;BR /&gt;dbc_max_pct = 5&lt;BR /&gt;dbc_min_pct = 2&lt;BR /&gt;&lt;BR /&gt;so it grow up to %5 of memory. You can analyz buffer cache utulization with sar -d command. &lt;BR /&gt;&lt;BR /&gt;Kenan.</description>
      <pubDate>Sat, 28 Jun 2008 08:06:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224056#M687060</guid>
      <dc:creator>Kenan Erdey</dc:creator>
      <dc:date>2008-06-28T08:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224057#M687061</link>
      <description>when you run kmem, there is a option said that you can use -u option that you can elaborately see that.</description>
      <pubDate>Sat, 28 Jun 2008 16:58:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224057#M687061</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-06-28T16:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224058#M687062</link>
      <description>setting kernel parameters &lt;BR /&gt;dbc_max_pct&lt;BR /&gt;dbc_min_pct&lt;BR /&gt;&lt;BR /&gt;depends upon your physical memory size. for large physical memory you better to use the mentioned values above but for minimum memory this is not fruitful.</description>
      <pubDate>Sat, 28 Jun 2008 17:07:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224058#M687062</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-06-28T17:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224059#M687063</link>
      <description>Buffer cache is the most recently used blocks of files from all of your filesystems.  Since a file like a library could be open from many processes there is no real reason to see if a process is using buffer cache.  You need to size your buffer cache so your buffer cache hit rate is optimal for the size of memory you have but not too large so it causes you to get low on memory and start paging and vhand has to shrink the buffer cache.&lt;BR /&gt;&lt;BR /&gt;Example  2 GB of buffer cache  hit rate 90%&lt;BR /&gt;         2.5 gb buffer cache   hit rate 95%&lt;BR /&gt;         3 gb buffer cache     hit rate 95%&lt;BR /&gt;&lt;BR /&gt;optimal buffer cache size is 2.5 bg based on the files and blocks of files processes are using.  &lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;With 11.31 all bets are off we now have unified file cache.</description>
      <pubDate>Sun, 29 Jun 2008 19:43:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224059#M687063</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2008-06-29T19:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer Cache</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224060#M687064</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;dbc_max_pct - the maximum percentage of memory to be used by dynamic buffer cache.&lt;BR /&gt;&lt;BR /&gt;Values:-&lt;BR /&gt;Minimum---&amp;gt;2; Maximun---&amp;gt;90; Default---&amp;gt;50&lt;BR /&gt;&lt;BR /&gt;DESCRIPTION:-&lt;BR /&gt;When the parameters bufpages and nbuf are both set to their default value of 0, the size of the buffer cache grows or shrinks dynamically, depending on competing requests for system memory.&lt;BR /&gt;&lt;BR /&gt;The value of dbc_max_pct sets the maximum percentage of physical memory that can be allocated tothe dynamic buffer cache.&lt;BR /&gt;&lt;BR /&gt;It is possible to set both dbc_max_pct and dbc_min_pct to the same value, 12 for example, andcreate a kernel that uses exactly that percentage of physical memory for the buffer cache, regardless of the size of physical memory.&lt;BR /&gt;&lt;BR /&gt;Related Parameters:-&lt;BR /&gt;dbc_max_pct must be greater than or equal to dbc_min_pct.&lt;BR /&gt;&lt;BR /&gt;To use dynamic buffer caching, bufpages and nbuf must both be set to zero.&lt;BR /&gt;&lt;BR /&gt;dbc_min_pct - the minimum percentage of memory to be used by the dynamic buffer cache.&lt;BR /&gt;&lt;BR /&gt;Values:-&lt;BR /&gt;Minimum---&amp;gt;2; Maximun---&amp;gt;90; Default---&amp;gt;50&lt;BR /&gt;&lt;BR /&gt;DESCRIPTION:-&lt;BR /&gt;During file-system I/O operations, data is stored in a buffer cache, the size of which can be fixed or dynamically allocated. When the parameters bufpages and nbuf are both set to their default values of 0, the size of the buffer cache grows or shrinks dynamically, depending on competing requests for system memory.&lt;BR /&gt;&lt;BR /&gt;The value of dbc_min_pct specifies the minimum percentage of physical memory that is reserved for use by the dynamic buffer cache.&lt;BR /&gt;&lt;BR /&gt;It is possible to set both dbc_min_pct and dbc_max_pct to the same value, 12 for example, and create a kernel that uses exactly that percentage of physical memory for the buffer cache, regardless of the size of physical memory.&lt;BR /&gt;&lt;BR /&gt;Selecting an Appropriate Value:-&lt;BR /&gt;If dbc_min_pct is set to too low a value, very high demand on the buffer cache can effectively hang the system. The is also true when using fixed buffer cache. To determine a reasonable (and conservative)&lt;BR /&gt;value for the minimum cache size in megabytes, use the following formula:&lt;BR /&gt;(number-of-system-processes)*(largest-file-system-block-size)/1024&lt;BR /&gt;&lt;BR /&gt;To determine the value for dbc_min_pct, divide the result by the number of megabytes of physical memory installed in the computer and multiply that value by 100 to obtain the correct value in percent.&lt;BR /&gt;&lt;BR /&gt;Only those processes that actively use disk I/O should be included in the calculation. All others can be excluded. Here are some examples of what processes should be included in or excluded from the calculation:&lt;BR /&gt;a) Include:-&lt;BR /&gt;NFS daemons, text formatters such as nroff, database management applications, text editors, compilers, and so on, that access or use source and/or output files stored in one or more file systems mounted on the system.&lt;BR /&gt;b)Exclude:-&lt;BR /&gt;X-display applications, hpterm, rlogin, login shells, system daemons, telnet or uucp connections, and so on. These processes use very little, if any, disk I/O. &lt;BR /&gt;&lt;BR /&gt;Related Parameters:-&lt;BR /&gt;dbc_min_pct must be less than or equal to dbc_max_pct.&lt;BR /&gt;To use dynamic buffer caching, bufpages and nbuf must both be set to zero.&lt;BR /&gt;&lt;BR /&gt;BR/&lt;BR /&gt;Yaqub</description>
      <pubDate>Mon, 30 Jun 2008 00:11:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache/m-p/4224060#M687064</guid>
      <dc:creator>YAQUB_1</dc:creator>
      <dc:date>2008-06-30T00:11:37Z</dc:date>
    </item>
  </channel>
</rss>

