<?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 hit ratio 100% in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447691#M358282</link>
    <description>&amp;gt; i want to free some amount of memory&lt;BR /&gt; &lt;BR /&gt;Other than reducing the dbc_max_pct kernel parameter, the only way to reduce memory usage is to stop running the big programs like databases. Or you can go to the DBA and ask them to reduce their shared memory usage. That will slow down performance but then you'll get additional memory. Is there a reason you have to reduce memory usage?&lt;BR /&gt; &lt;BR /&gt;is there any standard set of kernel parameter which i should use for application like tomcat?&lt;BR /&gt; &lt;BR /&gt;No, because it all depends on how Tomcat is being used. If you have a casual web page that is used every few minutes, there is nothing to change. If you have dozens of Java programs and threads presenting hundreds of web pages every second then you may need to adjust Apache values as well as open files (nfile) and processes (nproc), etc.&lt;BR /&gt;</description>
    <pubDate>Mon, 29 Jun 2009 11:27:44 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2009-06-29T11:27:44Z</dc:date>
    <item>
      <title>buffer cache hit ratio 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447681#M358272</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;On one of my HP-UX system is observing &lt;BR /&gt;&lt;BR /&gt;23:38:44 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s&lt;BR /&gt;23:38:45       0      71     100       5       8      38       0       0&lt;BR /&gt;23:38:46       0      13     100       2       2       0       0       0&lt;BR /&gt;23:38:47       0       4     100       1       1       0       0       0&lt;BR /&gt;23:38:48       0    2870     100       3      44      93       0       0&lt;BR /&gt;23:38:49       0   11275     100       3      82      96       0       0&lt;BR /&gt;&lt;BR /&gt;Average        0    2835     100       3      27      90       0       0&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;Model : rp7420&lt;BR /&gt;OS  : HP_UX 11.23&lt;BR /&gt;&lt;BR /&gt;dbc_min_pct      5&lt;BR /&gt;dbc_max_pct     60 &lt;BR /&gt;&lt;BR /&gt;Total VM :  13.8gb   Sys Mem  :   3.1gb   User Mem:   9.9gb   Phys Mem :  18.0gb&lt;BR /&gt;Active VM:  13.6gb   Buf Cache:   4.5gb   Free Mem:   435mb   FileCache:      na&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can some one help me in getting buffer cache hit ratio to normal &lt;BR /&gt;&lt;BR /&gt;Thanks in Advance &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Javed &lt;BR /&gt;</description>
      <pubDate>Fri, 26 Jun 2009 05:51:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447681#M358272</guid>
      <dc:creator>Javed Khan_1</dc:creator>
      <dc:date>2009-06-26T05:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: buffer cache hit ratio 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447682#M358273</link>
      <description>Hi Javed,&lt;BR /&gt;&lt;BR /&gt;can you paste the output of below commands?&lt;BR /&gt;&lt;BR /&gt;#kcusage -d dbc_max_pct&lt;BR /&gt;#swapinfo -tam&lt;BR /&gt;#kcusage&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Vivek&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Jun 2009 06:21:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447682#M358273</guid>
      <dc:creator>Vivek Bhatia</dc:creator>
      <dc:date>2009-06-26T06:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: buffer cache hit ratio 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447683#M358274</link>
      <description>$ /usr/sbin/swapinfo -mta&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev       19500     211   19289    1%       0       -    1  /dev/vx/dsk/rootdg/swapvol&lt;BR /&gt;reserve       -   10079  -10079&lt;BR /&gt;memory    18405    4586   13819   25%&lt;BR /&gt;total     37905   14876   23029   39%       -       0    -&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ /usr/sbin/kcusage&lt;BR /&gt;Tunable                 Usage / Setting&lt;BR /&gt;=============================================&lt;BR /&gt;dbc_max_pct                24 / 60&lt;BR /&gt;maxdsiz             155119616 / 2063835136&lt;BR /&gt;maxdsiz_64bit         1118208 / 4294967296&lt;BR /&gt;maxfiles_lim               69 / 8192&lt;BR /&gt;maxssiz               1048576 / 134217728&lt;BR /&gt;maxssiz_64bit           28672 / 1073741824&lt;BR /&gt;maxtsiz               1363968 / 67108864&lt;BR /&gt;maxtsiz_64bit           16384 / 1073741824&lt;BR /&gt;maxuprc                    80 / 14763&lt;BR /&gt;max_thread_proc           140 / 3000&lt;BR /&gt;maxvgs                      0 / 256&lt;BR /&gt;msgmni                      2 / 16404&lt;BR /&gt;msgseg                      0 / 32767&lt;BR /&gt;msgtql                      0 / 16404&lt;BR /&gt;nfile                    1303 / 248108&lt;BR /&gt;nflocks                    23 / 8192&lt;BR /&gt;ninode                   1244 / 133280&lt;BR /&gt;nkthread                 1224 / 28723&lt;BR /&gt;nproc                     225 / 16404&lt;BR /&gt;npty                        0 / 512&lt;BR /&gt;nstrpty                     1 / 60&lt;BR /&gt;nstrtel                     0 / 60&lt;BR /&gt;nswapdev                    1 / 10&lt;BR /&gt;nswapfs                     0 / 10&lt;BR /&gt;semmni                     34 / 4096&lt;BR /&gt;semmns                     46 / 16384&lt;BR /&gt;shmmax               34953688 / 5000000000&lt;BR /&gt;shmmni                     13 / 400&lt;BR /&gt;shmseg                      6 / 300&lt;BR /&gt;$&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Jun 2009 06:27:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447683#M358274</guid>
      <dc:creator>Javed Khan_1</dc:creator>
      <dc:date>2009-06-26T06:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: buffer cache hit ratio 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447684#M358275</link>
      <description>So what this is telling you is that 100% of your filesystem reads are being satsified out of buffer cache rather than having to go to disk...&lt;BR /&gt;&lt;BR /&gt;In what way do you think this is a *bad* thing?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Can some one help me in getting buffer cache hit ratio to normal&lt;BR /&gt;&lt;BR /&gt;What do you *think* a "normal" buffer cache hit ration should be????&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Fri, 26 Jun 2009 11:44:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447684#M358275</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-06-26T11:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: buffer cache hit ratio 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447685#M358276</link>
      <description>Hi Javed:&lt;BR /&gt;&lt;BR /&gt;To add to Duncan's comments, I'd say your system's performance must be damn good!&lt;BR /&gt;&lt;BR /&gt;The question really is, are you having any performance issues?  Are you end-users happy?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 26 Jun 2009 11:48:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447685#M358276</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-26T11:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: buffer cache hit ratio 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447686#M358277</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I would adjust dbc_max_pct to between 5-10.&lt;BR /&gt;&lt;BR /&gt;Why:&lt;BR /&gt;1) A lot of memory is consumed by your current buffer cache settings and you may not be getting benefit. Oracle for example on 11.11 does not benefit at all from a buffer cache.&lt;BR /&gt;2) System performance suffers during times when the system is adjusting its buffer cache. Locking into a figure with dbc_min_pct and dbc_max_pct avoids this problem.&lt;BR /&gt;&lt;BR /&gt;I liked to lock systems in at 5. Depending on how you use your system a different number might work better for you. But your current settings waste a lot of memory and impact your system when the system is adjusting itself.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 26 Jun 2009 13:24:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447686#M358277</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-06-26T13:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: buffer cache hit ratio 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447687#M358278</link>
      <description>AS mentioned, buffer cache read percentage of 100% is absolutely the best possible value. Your write cache percentage will always be lower, sometimes below 40-50%.&lt;BR /&gt; &lt;BR /&gt;If you want to lower the percentage, run either (or both) of these two commands:&lt;BR /&gt; &lt;BR /&gt;find / -type f -exec grep -q zzz {} \;&lt;BR /&gt;du -s /&lt;BR /&gt; &lt;BR /&gt;These commands will overflow your buffer cache instantly and the percentage hit ratio will drop dramatically. Warning: This demonstrates how the buffer cache works and will definitely impact system performance. But it proves nothing. There is *NO* normal value for the percentage. The goal is 100% which you have already seen.</description>
      <pubDate>Fri, 26 Jun 2009 14:28:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447687#M358278</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-06-26T14:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: buffer cache hit ratio 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447688#M358279</link>
      <description>buffer cache hit is 100% that is good but you only have 400MB of free memory.. Have you ever got low on memory where you system did paging.&lt;BR /&gt;&lt;BR /&gt;If you did not get low on memory then your buffer cache is ok but what is running on that system. Could a application like oracle SGA benefit from being bigger while buffer cache is smaller.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 27 Jun 2009 00:14:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447688#M358279</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2009-06-27T00:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: buffer cache hit ratio 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447689#M358280</link>
      <description>Thanks all &lt;BR /&gt;&lt;BR /&gt;i want to free some amount of memory</description>
      <pubDate>Mon, 29 Jun 2009 07:05:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447689#M358280</guid>
      <dc:creator>Javed Khan_1</dc:creator>
      <dc:date>2009-06-29T07:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: buffer cache hit ratio 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447690#M358281</link>
      <description>is there any standard set of kernel parameter which i should use for application like tomcat?&lt;BR /&gt;&lt;BR /&gt;What are the best practices one should consider while installing tomcat on PA-RISC machines?</description>
      <pubDate>Mon, 29 Jun 2009 09:08:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447690#M358281</guid>
      <dc:creator>Javed Khan_1</dc:creator>
      <dc:date>2009-06-29T09:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: buffer cache hit ratio 100%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447691#M358282</link>
      <description>&amp;gt; i want to free some amount of memory&lt;BR /&gt; &lt;BR /&gt;Other than reducing the dbc_max_pct kernel parameter, the only way to reduce memory usage is to stop running the big programs like databases. Or you can go to the DBA and ask them to reduce their shared memory usage. That will slow down performance but then you'll get additional memory. Is there a reason you have to reduce memory usage?&lt;BR /&gt; &lt;BR /&gt;is there any standard set of kernel parameter which i should use for application like tomcat?&lt;BR /&gt; &lt;BR /&gt;No, because it all depends on how Tomcat is being used. If you have a casual web page that is used every few minutes, there is nothing to change. If you have dozens of Java programs and threads presenting hundreds of web pages every second then you may need to adjust Apache values as well as open files (nfile) and processes (nproc), etc.&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Jun 2009 11:27:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/buffer-cache-hit-ratio-100/m-p/4447691#M358282</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-06-29T11:27:44Z</dc:date>
    </item>
  </channel>
</rss>

