<?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 Buffered Cache on Swap Memory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/buffered-cache-on-swap-memory/m-p/2640212#M43447</link>
    <description>Every week my buffered cache grows about 6%. How can I prevent buffered cache from growing so large?</description>
    <pubDate>Mon, 07 Jan 2002 18:37:54 GMT</pubDate>
    <dc:creator>Brian Ham</dc:creator>
    <dc:date>2002-01-07T18:37:54Z</dc:date>
    <item>
      <title>Buffered Cache on Swap Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffered-cache-on-swap-memory/m-p/2640212#M43447</link>
      <description>Every week my buffered cache grows about 6%. How can I prevent buffered cache from growing so large?</description>
      <pubDate>Mon, 07 Jan 2002 18:37:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffered-cache-on-swap-memory/m-p/2640212#M43447</guid>
      <dc:creator>Brian Ham</dc:creator>
      <dc:date>2002-01-07T18:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Buffered Cache on Swap Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffered-cache-on-swap-memory/m-p/2640213#M43448</link>
      <description>&lt;P&gt;Try this document&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 05:35:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffered-cache-on-swap-memory/m-p/2640213#M43448</guid>
      <dc:creator>ramesh_6</dc:creator>
      <dc:date>2025-08-05T05:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Buffered Cache on Swap Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffered-cache-on-swap-memory/m-p/2640214#M43449</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;These three kernel parameters required to change for the proper buffer cache. Changes to made this parameter required a reboot.&lt;BR /&gt;dbc_min_pct, dbc_max_pct or bufpages.&lt;BR /&gt;&lt;BR /&gt;If all three are set, then bufpages will&lt;BR /&gt;                   determine the size.&lt;BR /&gt;&lt;BR /&gt;Look at this doc for more info&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/sid=ad306a7611ec3e0d35/screen=ckiDisplayDocument?docId=200000058374588" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/sid=ad306a7611ec3e0d35/screen=ckiDisplayDocument?docId=200000058374588&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Goodluck,&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Mon, 07 Jan 2002 21:01:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffered-cache-on-swap-memory/m-p/2640214#M43449</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2002-01-07T21:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Buffered Cache on Swap Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffered-cache-on-swap-memory/m-p/2640215#M43450</link>
      <description>The following is taken from "System Performance FaxPak" found in Kmine, Please consult the document for an overview &amp;amp; others for more info about Dynamic Buffer caching: &lt;BR /&gt;&lt;BR /&gt;Tuning the File System Buffer Cache&lt;BR /&gt;&lt;BR /&gt;The problem has been determined to be either a file system IO&lt;BR /&gt;bottleneck or a memory bottleneck.  In either case, adjusting the size&lt;BR /&gt;of the buffer cache may resolve the problem.  It is easiest to measure&lt;BR /&gt;the effectiveness of the buffer cache and the effectiveness of&lt;BR /&gt;changes if the buffer cache is of a fixed size, instead of the 10.X&lt;BR /&gt;default of a dynamic buffer cache that ranges in size from 5 to 50%&lt;BR /&gt;of main memory.  The size of the buffer cache is controlled by the kernel&lt;BR /&gt;parameters bufpages, nbuf, dbc_max_pct, and dbc_min_pct.  SAM help&lt;BR /&gt;can provide more information on these parameters, and the System&lt;BR /&gt;Administration Tasks manual has information on how to rebuild the&lt;BR /&gt;kernel.  Historically, HP-UX has used 10% of main memory as a default&lt;BR /&gt;buffer cache size.&lt;BR /&gt;&lt;BR /&gt;The goal of the buffer cache is to increase the speed of disk io&lt;BR /&gt;reads and writes.  The trade off for that increased performance is&lt;BR /&gt;the usage of a percentage of main memory.  After isolating the&lt;BR /&gt;resource that is slowing the system, the job is to adjust the size&lt;BR /&gt;of the buffer cache to get the best returns for this system.&lt;BR /&gt;&lt;BR /&gt;# sar -b  &lt;BR /&gt;It is desirable to see %rcache &amp;gt;= 90, and %wcache &amp;gt;= 70%.  Some&lt;BR /&gt;system configurations (for example systems with raw partitions or&lt;BR /&gt;applications that perform random reads and writes) will never see&lt;BR /&gt;these buffer cache hit rates.  The goal is to adjust the cache to&lt;BR /&gt;give the best performance for that particular system.  Start with a&lt;BR /&gt;fixed buffer cache size, and adjust the cache larger or smaller&lt;BR /&gt;(ex. 2% at a time).  Then measure the results: did the hit rate&lt;BR /&gt;increase/decrease, and was the result worth the change in memory&lt;BR /&gt;usage?&lt;BR /&gt;&lt;BR /&gt;Two things to remember: if %rcache and %wcache do not change as&lt;BR /&gt;you are increasing/decreasing the buffer cache in small increments,&lt;BR /&gt;then the adjustment has neither helped nor hurt file system IO&lt;BR /&gt;performance.  Also, every system will peak at different read/write&lt;BR /&gt;hit rates.  Some systems will never see very high hit rates.&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jan 2002 21:13:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffered-cache-on-swap-memory/m-p/2640215#M43450</guid>
      <dc:creator>T. M. Louah</dc:creator>
      <dc:date>2002-01-07T21:13:50Z</dc:date>
    </item>
  </channel>
</rss>

