<?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: HP-UX Performance Issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532226#M890359</link>
    <description>From DOC ID : A4460661&lt;BR /&gt;&lt;BR /&gt;D. Tuning the File System Buffer Cache.&lt;BR /&gt;The problem has been determined to be either a file system I/O&lt;BR /&gt;bottleneck or a memory bottleneck. In either case, adjusting&lt;BR /&gt;the size of the buffer cache may resolve the problem. It is&lt;BR /&gt;easiest to measure the effectiveness of the buffer cache and&lt;BR /&gt;the effectiveness of changes if the buffer cache is of a fixed&lt;BR /&gt;size, instead of the 10.x default of a dynamic buffer cache that&lt;BR /&gt;ranges in size from 5 to 50% of main memory. The size of the&lt;BR /&gt;buffer cache is controlled by the kernel parameters bufpages,&lt;BR /&gt;nbuf, dbc_max_pct, and dbc_min_pct.&lt;BR /&gt;&lt;BR /&gt;SAM help can provide more information on these parameters, and&lt;BR /&gt;the System Administration Tasks manual has information on how&lt;BR /&gt;to rebuild the kernel. Historically, HPUX has used 10% of main&lt;BR /&gt;memory as a default buffer cache size.&lt;BR /&gt;&lt;BR /&gt;The goal of the buffer cache is to increase the speed of disk I/O&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&lt;BR /&gt;size of the buffer cache to get the best returns for this system.&lt;BR /&gt;------------&lt;BR /&gt;&lt;BR /&gt;With 3 gig of RAM, I would say that you could safely reduce your max buffer cache...  You'll probably find that your processes are swapping alot because the buffer cache is taking up too much space in memory (if it does actually grow to 50% - which is quite possible)...&lt;BR /&gt;&lt;BR /&gt;I would experiment with reducing the max, to say 20%, and see if that reduces the amount of paging your system does...&lt;BR /&gt;&lt;BR /&gt;There is a memeory management white paper at :&lt;BR /&gt;&lt;BR /&gt;/usr/share/doc/mem_mgt.txt&lt;BR /&gt;&lt;BR /&gt;use this guide for more information on tuning your memory..  But the reducing dbc_max_pct would be the first place to start...&lt;BR /&gt;&lt;BR /&gt;Hope this helps !&lt;BR /&gt;&lt;BR /&gt;Andrew&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 24 May 2001 03:08:51 GMT</pubDate>
    <dc:creator>Andrew_4</dc:creator>
    <dc:date>2001-05-24T03:08:51Z</dc:date>
    <item>
      <title>HP-UX Performance Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532220#M890353</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;We are running T600 machine with oracle database ( 7.2.3), 3 GB of memory and 4 CPU. We encounter system slowness during peak. Could anybody help on resolving this issue.&lt;BR /&gt;# swapinfo -t&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev      524288  145208  379080   28%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev      524288  146596  377692   28%       0       -    1  /dev/vg00/lvol3&lt;BR /&gt;dev     4096000  146016 3949984    4%       0       -    1  /dev/vg00/lvol12&lt;BR /&gt;reserve       -  812064 -812064&lt;BR /&gt;memory  2297936 1594416  703520   69%&lt;BR /&gt;total   7442512 2844300 4598212   38%       -       0    -</description>
      <pubDate>Thu, 24 May 2001 00:07:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532220#M890353</guid>
      <dc:creator>System Dude_1</dc:creator>
      <dc:date>2001-05-24T00:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Performance Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532221#M890354</link>
      <description>You need to try to identify the main bottleneck...  by comparing your peak period to a 'baseline' of performance....&lt;BR /&gt;&lt;BR /&gt;When you have this 'baseline' (ie, standard performance during non-peak times).. you can compare the processes, memory/swap, disk i/o, and see what has increased alot....&lt;BR /&gt;&lt;BR /&gt;This will hopefully show you where the user reponse time is being dragged down the most...&lt;BR /&gt;&lt;BR /&gt;Once you've identified this, you need to think about how you could improve the performance of this bottleneck...  (by getting faster disks, more memory etc etc...)&lt;BR /&gt;&lt;BR /&gt;Hope this helps !&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
      <pubDate>Thu, 24 May 2001 00:43:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532221#M890354</guid>
      <dc:creator>Andrew_4</dc:creator>
      <dc:date>2001-05-24T00:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Performance Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532222#M890355</link>
      <description>There are so many ways to identify the main bottleneck. As for my case it seems that the memory and CPU is bottleneck. We are waiting for new CPU and memory but for the time being what can i do to at least optimised the server performance. Any idea?</description>
      <pubDate>Thu, 24 May 2001 01:09:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532222#M890355</guid>
      <dc:creator>System Dude_1</dc:creator>
      <dc:date>2001-05-24T01:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Performance Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532223#M890356</link>
      <description>Because so much of your swap space is shown as occupied, it is highly likely that you are memory limited.  However, with a 32-bit kernel, you can't add enough RAM to make much difference.  Verify that you are paging heavily by looking at page-out rates with vmstat.  A much more detailed analysis of what you have running (all processes), amount of LAN activity and number of LAN cards, batch reports that are being run, the design of the database index files, kernel parameters and so on, will be needed for a better answer.&lt;BR /&gt;&lt;BR /&gt;The T600 is fairly old technology and it appears that you may have hit the limit of this processor and the load you require.  An A-class or L-class will remove address limits and move processing power to today's standards. Alternatively, you can move unnecessary applications to other systems to relieve the load. &lt;BR /&gt;&lt;BR /&gt;Note that the most significant performance changes can be made with better database design and configuration, much more so than working on HP-UX.</description>
      <pubDate>Thu, 24 May 2001 01:47:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532223#M890356</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-05-24T01:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Performance Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532224#M890357</link>
      <description>You could consider tuning buffer cache... that might alleviate some memory problems (depending on what type of disk access is being performed)...&lt;BR /&gt;&lt;BR /&gt;What is your dbc_max/min_pct set to ??&lt;BR /&gt;&lt;BR /&gt;If you've got max set very high, then the buffer cache will take heaps of memory, and not free it very quickly..  &lt;BR /&gt;See Doc ID A4460661  for more details...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps !&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
      <pubDate>Thu, 24 May 2001 01:50:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532224#M890357</guid>
      <dc:creator>Andrew_4</dc:creator>
      <dc:date>2001-05-24T01:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Performance Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532225#M890358</link>
      <description>dbc_max/min_pct is set to 50/5. what are the impact if I need to change this dbc_max/min_pct and what are the suggested size to change to. Any other parameter need to fine tuning</description>
      <pubDate>Thu, 24 May 2001 01:55:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532225#M890358</guid>
      <dc:creator>System Dude_1</dc:creator>
      <dc:date>2001-05-24T01:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Performance Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532226#M890359</link>
      <description>From DOC ID : A4460661&lt;BR /&gt;&lt;BR /&gt;D. Tuning the File System Buffer Cache.&lt;BR /&gt;The problem has been determined to be either a file system I/O&lt;BR /&gt;bottleneck or a memory bottleneck. In either case, adjusting&lt;BR /&gt;the size of the buffer cache may resolve the problem. It is&lt;BR /&gt;easiest to measure the effectiveness of the buffer cache and&lt;BR /&gt;the effectiveness of changes if the buffer cache is of a fixed&lt;BR /&gt;size, instead of the 10.x default of a dynamic buffer cache that&lt;BR /&gt;ranges in size from 5 to 50% of main memory. The size of the&lt;BR /&gt;buffer cache is controlled by the kernel parameters bufpages,&lt;BR /&gt;nbuf, dbc_max_pct, and dbc_min_pct.&lt;BR /&gt;&lt;BR /&gt;SAM help can provide more information on these parameters, and&lt;BR /&gt;the System Administration Tasks manual has information on how&lt;BR /&gt;to rebuild the kernel. Historically, HPUX has used 10% of main&lt;BR /&gt;memory as a default buffer cache size.&lt;BR /&gt;&lt;BR /&gt;The goal of the buffer cache is to increase the speed of disk I/O&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&lt;BR /&gt;size of the buffer cache to get the best returns for this system.&lt;BR /&gt;------------&lt;BR /&gt;&lt;BR /&gt;With 3 gig of RAM, I would say that you could safely reduce your max buffer cache...  You'll probably find that your processes are swapping alot because the buffer cache is taking up too much space in memory (if it does actually grow to 50% - which is quite possible)...&lt;BR /&gt;&lt;BR /&gt;I would experiment with reducing the max, to say 20%, and see if that reduces the amount of paging your system does...&lt;BR /&gt;&lt;BR /&gt;There is a memeory management white paper at :&lt;BR /&gt;&lt;BR /&gt;/usr/share/doc/mem_mgt.txt&lt;BR /&gt;&lt;BR /&gt;use this guide for more information on tuning your memory..  But the reducing dbc_max_pct would be the first place to start...&lt;BR /&gt;&lt;BR /&gt;Hope this helps !&lt;BR /&gt;&lt;BR /&gt;Andrew&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 May 2001 03:08:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532226#M890359</guid>
      <dc:creator>Andrew_4</dc:creator>
      <dc:date>2001-05-24T03:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Performance Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532227#M890360</link>
      <description>In principle, you may be able to buy some time by shuffling files around...&lt;BR /&gt;&lt;BR /&gt;In a database doing anything but simple reads, your transaction logs are being written to constantly...&lt;BR /&gt;&lt;BR /&gt;Therefore, those transaction logs should be on the fastest possible disk subsytem... (of course it should be reliable too..)&lt;BR /&gt;&lt;BR /&gt;Similarly, if you are doing a large number of writes, your database would benefit from being on 'the fastest disks possible'&lt;BR /&gt;&lt;BR /&gt;Here is the gotcha - you really have to understand your usage patterns... it may be faster to have your databases spread across 3 slower disks, rather then everything on one really fast disk..&lt;BR /&gt;&lt;BR /&gt;Similarly, it is CONCEPTUALLY possible to spread swap over several drives, rather than having a few massive swap volumes... in fact I don't know whether this is really useful on HPUX, possible on HPUX, or useful for you.&lt;BR /&gt;&lt;BR /&gt;Unfortunately... I don't know how to ask/answer the question 'is disk i/o a bottleneck' on HPUX.&lt;BR /&gt;&lt;BR /&gt;Good Luck.</description>
      <pubDate>Sun, 27 May 2001 17:55:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532227#M890360</guid>
      <dc:creator>Joseph T. Wyckoff</dc:creator>
      <dc:date>2001-05-27T17:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Performance Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532228#M890361</link>
      <description>Is the issue Oracle performance?&lt;BR /&gt;&lt;BR /&gt;Database performance (in general) can be improved or worsened by using INDEXES.&lt;BR /&gt;&lt;BR /&gt;I frankly know NOTHING about Oracle.&lt;BR /&gt;&lt;BR /&gt;If you are doing many inserts, i.e. a transactional database, then you want FEW, well chosen indexes.&lt;BR /&gt;&lt;BR /&gt;If you are doing primarily reads (datamining) then lots of concise indexes might serve you well.&lt;BR /&gt;&lt;BR /&gt;How queries are written can have a big impact, in principle.  Some database engines well re-order or re-write queries on the fly to try and find the best indexes to cover queries, so you may not really want to mess with queries.  However, it may be worthwhile to train your user or developer community in what is a 'good query' (for your database.)&lt;BR /&gt;&lt;BR /&gt;In some database engines you may have tables that simply are not allowed to change - and could in principle be marked read-only.  If this is possible in your scenario, you may find some performance benefit by marking tables as read-only.  By the way, if the table is read only, excess indexes won't hurt anything (well, they will suck up disk space)... you aren't making changes here anyway...&lt;BR /&gt;&lt;BR /&gt;As mentioned elsewhere, moving unneccary services off of the box is a good idea...&lt;BR /&gt;&lt;BR /&gt;If DNS is on this box, as an easy example, install it on another box... you may want to keep DNS on this box during a migration, or permanently, but every DNS query you would move off on to another platform would be 'free CPU cycles.'&lt;BR /&gt;&lt;BR /&gt;Of course getting rid of excess services (in my example DNS) entirely would free up memory too - and it sounds like you cannot add memory, you can only take away demands on memory.</description>
      <pubDate>Sun, 27 May 2001 18:11:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532228#M890361</guid>
      <dc:creator>Joseph T. Wyckoff</dc:creator>
      <dc:date>2001-05-27T18:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Performance Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532229#M890362</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As has been suggested you need to reduce your buffer cache. max_dbc_pct at 50% is way too high for a database server. If your are using raw disk I/O or OnlineJFS options convosync=direct,mincache=direct which are in effect the same as raw disk then you should really reduce the unix buffer cache since you are in effect double buffering I/O in both the SGA and the UNIX buffer cache. If this box is primarily a database server, I would forget about dynamic buffer cache and set bufpages to about 300MB (and this is generous) and them measure performance.&lt;BR /&gt;&lt;BR /&gt;As has also been mentioned, your T-box is old and even an A-box would blow it away in terms of performance.&lt;BR /&gt;&lt;BR /&gt;Food for thought, Clay</description>
      <pubDate>Sun, 27 May 2001 20:14:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532229#M890362</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-27T20:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Performance Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532230#M890363</link>
      <description>Hi Jamaludin,&lt;BR /&gt;&lt;BR /&gt;Your 'swapinfo' output indicates that pseudo-swap is enabled.  I think Oracle recommends that pseudo-swap be disabled as it competes with the database for locked memory resources.&lt;BR /&gt;&lt;BR /&gt;To disable pseudo-swap, change the value of the kernel parameter swapmem_on from 1 to 0.&lt;BR /&gt;&lt;BR /&gt;Mladen</description>
      <pubDate>Mon, 28 May 2001 16:00:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532230#M890363</guid>
      <dc:creator>Mladen Despic</dc:creator>
      <dc:date>2001-05-28T16:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Performance Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532231#M890364</link>
      <description>Jamaludin,&lt;BR /&gt;&lt;BR /&gt;If you disable pseudo-swap, you may want to add another 1-2 Gb of device swap.  In fact, you may want to add device swap before disabling pseudo-swap.&lt;BR /&gt;&lt;BR /&gt;Also, if you want to implement a number of configuration changes in order to improve your system performance, I would recommend making one change at a time.  After each step, observe or monitor your system performance.&lt;BR /&gt;&lt;BR /&gt;Hope this helps a bit.</description>
      <pubDate>Mon, 28 May 2001 16:12:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532231#M890364</guid>
      <dc:creator>Mladen Despic</dc:creator>
      <dc:date>2001-05-28T16:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Performance Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532232#M890365</link>
      <description>Salam Alaikoum Jamaludin,&lt;BR /&gt;&lt;BR /&gt;You may consider the following points :&lt;BR /&gt;&lt;BR /&gt;1. If you are runnig OLTP applications and their is a lot of concurrent processes, Your swap space MUST be 3 to 4 times you memory capacity. ( I saw it's not the case on your configurations ). If you increase the swap, please do it on different disks for loadbalancing.&lt;BR /&gt;&lt;BR /&gt;2. If you are not treating flat files and your applications are only doing database access, you MUST decrease the "Dynamic buffer max percentage" to 10 % and "Dynamic buffer min percentage" to 2 % . When this parameter ,db_max_pct, is set to 50 % ( default value from HP-UX installation) this means that the seystem could use 50 % from total RAM ( which will be 2 GB in your case ) in order to do lokk a head reading into memory. But if you are using only database and not flat files, this means that all you are reading and putting into memory is for nothing, and global degradation of the system appears.&lt;BR /&gt;&lt;BR /&gt;3. What's about the size of your Oracle SGA allocated structure. This MUST be big enough to handle concurrent users without needs for swapping.&lt;BR /&gt;&lt;BR /&gt;4. You need also to tune your shmmax, this could decrease the number of shared memory segments needed by HP-UX to handle the Oracle-SGA structure.&lt;BR /&gt;&lt;BR /&gt;5. Oracle block size must be the same like hp-ux page size.&lt;BR /&gt;&lt;BR /&gt;Hope this could help you.&lt;BR /&gt;&lt;BR /&gt;Magdi</description>
      <pubDate>Wed, 30 May 2001 15:33:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532232#M890365</guid>
      <dc:creator>Magdi KAMAL</dc:creator>
      <dc:date>2001-05-30T15:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Performance Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532233#M890366</link>
      <description>Performance analysis tools such as&lt;BR /&gt;Perfview/ Measureware and glance will allow you to identify if the problem is on disk io, cpu or memory or process.  After this you can react accordingly.&lt;BR /&gt;&lt;BR /&gt;Perfview is a free 60 day trial from software.hp.com and is good for time graph comparissons.  No other analysis s/w is worth getting.  PV is quite complete.&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Thu, 31 May 2001 14:02:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-performance-issue/m-p/2532233#M890366</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-05-31T14:02:31Z</dc:date>
    </item>
  </channel>
</rss>

