<?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: decreased dbx_max_pct - system seems sluggish in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118426#M802292</link>
    <description>with &lt;BR /&gt;dbc_max_pct 3&lt;BR /&gt;dbx_min_pct 1&lt;BR /&gt;&lt;BR /&gt;About 960Mbytes is allocated for dynamic buffer.&lt;BR /&gt;&lt;BR /&gt;If you were to tune dbc_max_pct to 15, about 4.8Gybte max will be allocated to buffer cache &lt;BR /&gt;&lt;BR /&gt;In fact anything greater than 250 megs of memory allocated to buffer cache in&lt;BR /&gt;most environments is excessive. As you have been informed the buffer cache will take memory much easier than it gives it back so it's better to properly tune the buffer cache so that it can't take more than it&lt;BR /&gt;needs to be efficient. &lt;BR /&gt;&lt;BR /&gt;check with sar -b, it is desirable to see %rcache &amp;gt;=90% and %wcache &amp;gt;=90%&lt;BR /&gt;&lt;BR /&gt;ideally, we want to see average %wcache of 95% or greater. If the system is consistently showing %wcache less than 75% it would be adviseable to lower the value of dbc_max_pct. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 14 Nov 2003 03:20:12 GMT</pubDate>
    <dc:creator>Lee Huei</dc:creator>
    <dc:date>2003-11-14T03:20:12Z</dc:date>
    <item>
      <title>decreased dbx_max_pct - system seems sluggish</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118420#M802286</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm using an HP 9000 box, with 16 processors, and 32 Gig Ram.&lt;BR /&gt;I noticed that buffer cache was using 16Gig of the ram.&lt;BR /&gt;So, I modified some kernel parameters.&lt;BR /&gt;&lt;BR /&gt;The original values were:&lt;BR /&gt;dbc_max_pct 50&lt;BR /&gt;dbc_min_pct 5&lt;BR /&gt;&lt;BR /&gt;The new values are:&lt;BR /&gt;dbc_max_pct 3&lt;BR /&gt;dbx_min_pct 1&lt;BR /&gt;&lt;BR /&gt;The buffer cache is now using 982Mb.&lt;BR /&gt;However, the system seems to slowdown from time to time.  (ie) I type a character, and it takes up to 30 seconds to see the character).&lt;BR /&gt;&lt;BR /&gt;Could I have set these values too low for my machine?&lt;BR /&gt;I am running two Oracle instances, about 12 java processes, and between 1-12 single threaded C processes that are CPU-intensive.&lt;BR /&gt;&lt;BR /&gt;Thanks for any help,&lt;BR /&gt;jason</description>
      <pubDate>Thu, 13 Nov 2003 11:15:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118420#M802286</guid>
      <dc:creator>Jason Youzwak_1</dc:creator>
      <dc:date>2003-11-13T11:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: decreased dbx_max_pct - system seems sluggish</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118421#M802287</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I wouldn't think that trimming down your buffer cache would slow down your system.  Do you have Glance/Measureware on the box?  If so, can you pull some stats for the system during the times it gets slow?  Did you change any other kernel parameters?&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Nov 2003 11:20:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118421#M802287</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-11-13T11:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: decreased dbx_max_pct - system seems sluggish</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118422#M802288</link>
      <description>It sounds like it.&lt;BR /&gt;&lt;BR /&gt;check sar -b for % on r+w to see the hit rate. If less than 50%, cache might need to be raised. Also, check sar -d, look for access times (last column 0n right) for times over 100ms to check that a disk is not slow or rereading (it could have been slow before, but condition hidden by the large cache)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Nov 2003 11:22:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118422#M802288</guid>
      <dc:creator>doug mielke</dc:creator>
      <dc:date>2003-11-13T11:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: decreased dbx_max_pct - system seems sluggish</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118423#M802289</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for the quick responses!&lt;BR /&gt;&lt;BR /&gt;I have used glance, but did not see anything suspicious:&lt;BR /&gt;&lt;BR /&gt;Total VM :  7.09gb  Sys Mem  :  1.92gb   User Mem:  4.33gb   Phys Mem:  32.0gb&lt;BR /&gt;Active VM:  6.69gb   Buf Cache: 982.1mb   Free Mem:  24.8gb&lt;BR /&gt;&lt;BR /&gt;Swap Device                     Type        Avail       Used     Priority&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;/dev/vg00/lvol2                device       4.0gb        0mb        1&lt;BR /&gt;/dev/vg00/lvol9                device       4.0gb        0mb        1&lt;BR /&gt;pseudo-swap                    memory      25.8gb      682mb       na&lt;BR /&gt;&lt;BR /&gt;I did change another kernel parameter:&lt;BR /&gt;&lt;BR /&gt;Original value:&lt;BR /&gt;maxdsiz         1073741824&lt;BR /&gt;maxdsiz_64bit 1073741824&lt;BR /&gt;&lt;BR /&gt;New value:&lt;BR /&gt;maxdsiz  2147483648&lt;BR /&gt;maxdsiz_64bit 2147483648&lt;BR /&gt;&lt;BR /&gt;However, according to "top", the processing are taking up 800Mb memory or less.  So, I don't think that this should be causing any problem.&lt;BR /&gt;&lt;BR /&gt;I have also noticed that "du" is taking a longer time than usual.  (Seems like a candidate for the buffer cache.)&lt;BR /&gt;&lt;BR /&gt;According to sar, it seems like my reads are okay, but the writes may be an issue:&lt;BR /&gt;&lt;BR /&gt;shell: sar -b 1 10&lt;BR /&gt;&lt;BR /&gt;12:51:01 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s&lt;BR /&gt;12:51:02       0      52     100       2       3      33       0       0&lt;BR /&gt;12:51:03       0       0       0       5       5       0       0       0&lt;BR /&gt;12:51:04       0       4     100       7       1       0       0       0&lt;BR /&gt;12:51:05       0      11     100       0       6     100       0       0&lt;BR /&gt;12:51:06       0     385     100       3      16      81       0       0&lt;BR /&gt;12:51:07       0       3     100       7       3       0       0       0&lt;BR /&gt;12:51:08       4      12      67       4      10      60       0       0&lt;BR /&gt;12:51:09       2      19      89       4       4       0       0       0&lt;BR /&gt;12:51:10       5      61      92       6       0       0       0       0&lt;BR /&gt;12:51:11       2       0       0       0       6     100       0       0&lt;BR /&gt;&lt;BR /&gt;Average        1      54      98       4       5      30       0       0&lt;BR /&gt;&lt;BR /&gt;(It's not slowing down a terrible amount currently.)&lt;BR /&gt;&lt;BR /&gt;I'm assuming that I should probably increase my buffer cache.  Perhaps to max 20%, min 5%.&lt;BR /&gt;&lt;BR /&gt;Does this sound like a good idea?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;jason&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Nov 2003 11:54:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118423#M802289</guid>
      <dc:creator>Jason Youzwak_1</dc:creator>
      <dc:date>2003-11-13T11:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: decreased dbx_max_pct - system seems sluggish</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118424#M802290</link>
      <description>To completely clarify the doubt, I would defenitely increase the value of dbc_max_pct to 10 or 15% and will observe the performance. Increasing or decreasing this kernel parameter is depend up on your application and processes buffer cache usage. Set it to the optimal value for your environment.</description>
      <pubDate>Thu, 13 Nov 2003 11:59:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118424#M802290</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-11-13T11:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: decreased dbx_max_pct - system seems sluggish</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118425#M802291</link>
      <description>Perhaps use this sar script to collect some performance data.&lt;BR /&gt;&lt;BR /&gt;Attached.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 13 Nov 2003 12:01:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118425#M802291</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-11-13T12:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: decreased dbx_max_pct - system seems sluggish</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118426#M802292</link>
      <description>with &lt;BR /&gt;dbc_max_pct 3&lt;BR /&gt;dbx_min_pct 1&lt;BR /&gt;&lt;BR /&gt;About 960Mbytes is allocated for dynamic buffer.&lt;BR /&gt;&lt;BR /&gt;If you were to tune dbc_max_pct to 15, about 4.8Gybte max will be allocated to buffer cache &lt;BR /&gt;&lt;BR /&gt;In fact anything greater than 250 megs of memory allocated to buffer cache in&lt;BR /&gt;most environments is excessive. As you have been informed the buffer cache will take memory much easier than it gives it back so it's better to properly tune the buffer cache so that it can't take more than it&lt;BR /&gt;needs to be efficient. &lt;BR /&gt;&lt;BR /&gt;check with sar -b, it is desirable to see %rcache &amp;gt;=90% and %wcache &amp;gt;=90%&lt;BR /&gt;&lt;BR /&gt;ideally, we want to see average %wcache of 95% or greater. If the system is consistently showing %wcache less than 75% it would be adviseable to lower the value of dbc_max_pct. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Nov 2003 03:20:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118426#M802292</guid>
      <dc:creator>Lee Huei</dc:creator>
      <dc:date>2003-11-14T03:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: decreased dbx_max_pct - system seems sluggish</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118427#M802293</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Please find attached a good cock book for tuning performance! Here is a cut and paste:&lt;BR /&gt;Keeping the default values for systems with a large amount of RAM can have a negative impact on performance, due to the time the lower level routines that check on free memory in the cache take.&lt;BR /&gt;&lt;BR /&gt;To monitor the use of the buffer cache run the following command :&lt;BR /&gt;&lt;BR /&gt;sar -b 5 30 &lt;BR /&gt;&lt;BR /&gt;You will see output similar to :&lt;BR /&gt;&lt;BR /&gt;bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s&lt;BR /&gt;  0      95      100       1       2      54       0       0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ideally we want to see an average %wcache of 95 or greater. If the system consistenly shows %wcache less than 75 it would be advisable to lower the&lt;BR /&gt;value of dbc_max_pct.</description>
      <pubDate>Fri, 14 Nov 2003 03:42:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118427#M802293</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2003-11-14T03:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: decreased dbx_max_pct - system seems sluggish</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118428#M802294</link>
      <description>Apologies if this is a stupid question, but why&lt;BR /&gt;should we REDUCE dbc_max_pct if %wcache is&lt;BR /&gt;below 75% (desired value being &amp;gt;= 95%)?&lt;BR /&gt;I know the cook book says to reduce dbc_max_pct&lt;BR /&gt;if %wcache is too low, but I'd have thought&lt;BR /&gt;you'd get more cache hits if the cache was&lt;BR /&gt;bigger, rather than smaller.</description>
      <pubDate>Fri, 14 Nov 2003 09:03:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118428#M802294</guid>
      <dc:creator>Alan Turner</dc:creator>
      <dc:date>2003-11-14T09:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: decreased dbx_max_pct - system seems sluggish</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118429#M802295</link>
      <description>Alan,&lt;BR /&gt;&lt;BR /&gt;Simply put, buffer cache takes up physical memory. The more memory it takes, the less there is available for other uses. So, by using 95% as a target, you can trim it down to it's most efficient size. This allows you to leave as much memory as possible for other uses.&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Nov 2003 10:43:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118429#M802295</guid>
      <dc:creator>Joe Short</dc:creator>
      <dc:date>2003-11-14T10:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: decreased dbx_max_pct - system seems sluggish</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118430#M802296</link>
      <description>Hi Alan,&lt;BR /&gt;&lt;BR /&gt;        I was thinking exactly the same thing.  The only reason I can think of is maybe it assumes that if you are using too much memory for buffers you will be getting excessive paging (which I guess isn't buffered), hence skewing the cache hits.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;        Tony.</description>
      <pubDate>Fri, 14 Nov 2003 19:44:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118430#M802296</guid>
      <dc:creator>Tony Horton</dc:creator>
      <dc:date>2003-11-14T19:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: decreased dbx_max_pct - system seems sluggish</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118431#M802297</link>
      <description>Tony, Joe&lt;BR /&gt;&lt;BR /&gt;Thanks for your responses - sounds like a consensus of "don't know".&lt;BR /&gt;&lt;BR /&gt;Jason - apologies for diverting your thread. Did you make any changes?  What effect did they have?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Alan</description>
      <pubDate>Mon, 17 Nov 2003 05:34:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118431#M802297</guid>
      <dc:creator>Alan Turner</dc:creator>
      <dc:date>2003-11-17T05:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: decreased dbx_max_pct - system seems sluggish</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118432#M802298</link>
      <description>Jason&lt;BR /&gt;&lt;BR /&gt;I think setting dbc_min_pct value to 1 is too small. It's smaller than the minimum value.&lt;BR /&gt;Browse the following URL&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.DBCminPct.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.DBCminPct.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Nov 2003 05:57:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118432#M802298</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2003-11-17T05:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: decreased dbx_max_pct - system seems sluggish</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118433#M802299</link>
      <description>All:&lt;BR /&gt;&lt;BR /&gt;Thanks everyone for the help - I appreciate the valuable insight, suggestions and discussions.&lt;BR /&gt;&lt;BR /&gt;I have changed the parameters to:&lt;BR /&gt;&lt;BR /&gt;dbc_min_pct  5&lt;BR /&gt;dbc_max_pct 25&lt;BR /&gt;&lt;BR /&gt;This seems to have helped - now 8Gig is being assigned to the buffer cache.&lt;BR /&gt;This seems too big at first, but realize that the machine has 16 processors - which means more possible disk activity than a 4 processor machine.&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;jason</description>
      <pubDate>Mon, 17 Nov 2003 10:41:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decreased-dbx-max-pct-system-seems-sluggish/m-p/3118433#M802299</guid>
      <dc:creator>Jason Youzwak_1</dc:creator>
      <dc:date>2003-11-17T10:41:34Z</dc:date>
    </item>
  </channel>
</rss>

