<?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: write io performance problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902490#M105220</link>
    <description>If I/O is the bottleneck, how did turning off four *unused* database improve the situation?&lt;BR /&gt;&lt;BR /&gt;Your original stats show run queue occupancy consistently at 100%:&lt;BR /&gt;&lt;BR /&gt;00:00:01 runq-sz %runocc swpq-sz %swpocc&lt;BR /&gt;00:15:00 1.8 100 0.0 0&lt;BR /&gt;00:30:00 1.9 100 0.0 0&lt;BR /&gt;00:45:00 2.1 100 0.0 0&lt;BR /&gt;01:00:01 2.0 100 0.0 0&lt;BR /&gt;01:15:00 2.0 100 0.0 0&lt;BR /&gt;01:30:00 2.2 100 0.0 0&lt;BR /&gt;01:45:00 1.9 100 0.0 0&lt;BR /&gt;02:00:01 1.9 100 0.0 0&lt;BR /&gt;02:15:00 2.2 100 0.0 0 &lt;BR /&gt;&lt;BR /&gt;and some swapping going on.  My take on this is that you need more CPU power and more memory.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Wed, 12 Feb 2003 14:36:56 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-02-12T14:36:56Z</dc:date>
    <item>
      <title>write io performance problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902484#M105214</link>
      <description>My 180 Mhz 1280 machine running 24 oracle databases. ( yeah, I know rather a lot. But dispite my advice etc etc etc )&lt;BR /&gt;&lt;BR /&gt;Sar tells me that the write io disk is running at top speed.&lt;BR /&gt;&lt;BR /&gt;I have attached a some sar data.&lt;BR /&gt;&lt;BR /&gt;Could someone please tell me if there is anything tweakable left. &lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appriciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;00:00:01 runq-sz %runocc swpq-sz %swpocc&lt;BR /&gt;00:15:00     1.8     100     0.0       0&lt;BR /&gt;00:30:00     1.9     100     0.0       0&lt;BR /&gt;00:45:00     2.1     100     0.0       0&lt;BR /&gt;01:00:01     2.0     100     0.0       0&lt;BR /&gt;01:15:00     2.0     100     0.0       0&lt;BR /&gt;01:30:00     2.2     100     0.0       0&lt;BR /&gt;01:45:00     1.9     100     0.0       0&lt;BR /&gt;02:00:01     1.9     100     0.0       0&lt;BR /&gt;02:15:00     2.2     100     0.0       0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Feb 2003 09:16:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902484#M105214</guid>
      <dc:creator>Ferdinand_2</dc:creator>
      <dc:date>2003-02-12T09:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: write io performance problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902485#M105215</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;#sysdef | grep dbc_max_pct&lt;BR /&gt;&lt;BR /&gt;What is the value ?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Feb 2003 09:41:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902485#M105215</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-02-12T09:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: write io performance problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902486#M105216</link>
      <description>(mowdb016)/tmp # sysdef | grep dbc_max_pct &lt;BR /&gt;dbc_max_pct                  50          -           -                   -&lt;BR /&gt;(mowdb016)/tmp # sysdef | grep dbc_min_pct&lt;BR /&gt;dbc_min_pct                   5          -&lt;BR /&gt;&lt;BR /&gt;RAM = 1280 MB&lt;BR /&gt;&lt;BR /&gt;THX</description>
      <pubDate>Wed, 12 Feb 2003 09:48:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902486#M105216</guid>
      <dc:creator>Ferdinand_2</dc:creator>
      <dc:date>2003-02-12T09:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: write io performance problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902487#M105217</link>
      <description>Hi!&lt;BR /&gt;As I see at your sar output, you havent any&lt;BR /&gt;problem. The problem occur, when the&lt;BR /&gt;value of runc-sz &amp;gt; 4 or %swpocc &amp;gt;5, for&lt;BR /&gt;example. Anyway you can run: #sar -u&lt;BR /&gt;to receive an information - look at&lt;BR /&gt;column %WIO, if %WIO&amp;gt;7, you&lt;BR /&gt;have a I/O-bottleneck.&lt;BR /&gt;And also try using HPGlance - it is better&lt;BR /&gt;for tracing the system performance.&lt;BR /&gt;Regards,Stan &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Feb 2003 09:56:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902487#M105217</guid>
      <dc:creator>Stanimir</dc:creator>
      <dc:date>2003-02-12T09:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: write io performance problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902488#M105218</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Increasing Dynamic Buffer Cache will improve Write IO operations to a great Extent trading memory space.&lt;BR /&gt;&lt;BR /&gt;Increase the max_dbc_pct to 80% if you have enough memory space for other applications.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Feb 2003 09:59:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902488#M105218</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-02-12T09:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: write io performance problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902489#M105219</link>
      <description>Hi this machine runs just databases.&lt;BR /&gt;&lt;BR /&gt;Here is a result from sar -u:&lt;BR /&gt;&lt;BR /&gt;HP-UX mowdb016 B.11.00 A 9000/810    02/12/03&lt;BR /&gt;&lt;BR /&gt;00:00:01    %usr    %sys    %wio   %idle&lt;BR /&gt;00:15:00       0       1      50      49&lt;BR /&gt;00:30:00       0       1      45      54&lt;BR /&gt;00:45:00       0       1      47      52&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;05:45:01       0       1      49      50&lt;BR /&gt;06:00:01       1       1      52      46&lt;BR /&gt;06:15:00       6       2      58      34&lt;BR /&gt;06:30:01       0       1      46      53&lt;BR /&gt;06:45:01       1       1      46      52&lt;BR /&gt;07:00:00      18      13      38      31&lt;BR /&gt;07:15:01      17       6      46      31&lt;BR /&gt;07:30:01       2       2      48      49&lt;BR /&gt;07:45:00      28       5      33      34&lt;BR /&gt;08:00:00       6       2      41      51&lt;BR /&gt;08:15:01       2       4      48      47&lt;BR /&gt;08:30:01       2       2      47      50&lt;BR /&gt;08:45:03       2       1      49      48&lt;BR /&gt;09:00:00       2       1      46      51&lt;BR /&gt;09:15:00       3       2      47      48&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;13:00:00       1       1      37      61&lt;BR /&gt;13:15:00       2       1      37      60&lt;BR /&gt;13:30:00       2       1      35      62&lt;BR /&gt;13:45:01       2       1      39      59&lt;BR /&gt;&lt;BR /&gt;Average        3       2      44      51&lt;BR /&gt;&lt;BR /&gt;Together with the dba we switched off 4 unused databases. I seems to look better now.&lt;BR /&gt;&lt;BR /&gt;Accourding our mothly sar data the IO is the bottleneck in this machine.&lt;BR /&gt;&lt;BR /&gt;&lt;/SNIP&gt;&lt;/SNIP&gt;</description>
      <pubDate>Wed, 12 Feb 2003 14:00:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902489#M105219</guid>
      <dc:creator>Ferdinand_2</dc:creator>
      <dc:date>2003-02-12T14:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: write io performance problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902490#M105220</link>
      <description>If I/O is the bottleneck, how did turning off four *unused* database improve the situation?&lt;BR /&gt;&lt;BR /&gt;Your original stats show run queue occupancy consistently at 100%:&lt;BR /&gt;&lt;BR /&gt;00:00:01 runq-sz %runocc swpq-sz %swpocc&lt;BR /&gt;00:15:00 1.8 100 0.0 0&lt;BR /&gt;00:30:00 1.9 100 0.0 0&lt;BR /&gt;00:45:00 2.1 100 0.0 0&lt;BR /&gt;01:00:01 2.0 100 0.0 0&lt;BR /&gt;01:15:00 2.0 100 0.0 0&lt;BR /&gt;01:30:00 2.2 100 0.0 0&lt;BR /&gt;01:45:00 1.9 100 0.0 0&lt;BR /&gt;02:00:01 1.9 100 0.0 0&lt;BR /&gt;02:15:00 2.2 100 0.0 0 &lt;BR /&gt;&lt;BR /&gt;and some swapping going on.  My take on this is that you need more CPU power and more memory.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 12 Feb 2003 14:36:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902490#M105220</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-02-12T14:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: write io performance problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902491#M105221</link>
      <description>Yes, you definately have a disk bottleneck - but it's not your only bottleneck.&lt;BR /&gt;&lt;BR /&gt;There's lots you can do to increase your I/O to disk; but most will cost you some cash.&lt;BR /&gt;&lt;BR /&gt;It looks like you're using JBOD (from you response times).  Typical response times for newer disk arrays are 1-5ms, not &amp;gt;20ms; so upgrading your disk array would improve your speed dramatically.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, since you are doing a little swapping, and that run queue is full... as soon as you open up the disk bottleneck, it's probable that you will hit a processor and memory bottleneck.&lt;BR /&gt;&lt;BR /&gt;What's your disk subsystem look like?  JBOD?  FC60?  12H?  FC or SCSI?  perhaps we can make some recommendations for improving that.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Vince</description>
      <pubDate>Wed, 12 Feb 2003 19:17:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902491#M105221</guid>
      <dc:creator>Vincent Fleming</dc:creator>
      <dc:date>2003-02-12T19:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: write io performance problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902492#M105222</link>
      <description>Vincent,&lt;BR /&gt;&lt;BR /&gt;Thanks for your imput.&lt;BR /&gt;&lt;BR /&gt;This is an old ( 1997 ) D380 with 1280 MB &amp;amp; 180Mhz cpu.&lt;BR /&gt;&lt;BR /&gt;it holds 6 disks 2 * 4GB; 2 * 9 GB; 2 * 18 GB&lt;BR /&gt;The 18 GB disk are my Oracle disks, these are the fastest's disks. Al are raid 1. ( see ioscan.txt attached ) Also these are the c0t3d0 disks with I see as write io bottlenecks in sar -d.&lt;BR /&gt;&lt;BR /&gt;I am playing with the dbc_min /max_pct&lt;BR /&gt;&lt;BR /&gt;I calculated that the min value had to be 5.&lt;BR /&gt;&lt;BR /&gt;minimum cache size in Mbytes, use the following formula: (number of system processes) * (largest file-system block size) / 1024. &lt;BR /&gt;To determine the value for dbc_min_pct, divide the result by the number of Mbytes 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;What should I do to the dbc_max_pct???&lt;BR /&gt;&lt;BR /&gt;I know the results, if any, are marginal but I'd like to keep this machine in the best performance mode possible.&lt;BR /&gt;&lt;BR /&gt;Ta,&lt;BR /&gt;&lt;BR /&gt;F&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Feb 2003 14:00:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902492#M105222</guid>
      <dc:creator>Ferdinand_2</dc:creator>
      <dc:date>2003-02-13T14:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: write io performance problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902493#M105223</link>
      <description>Well, since you're using one mirror pair for your database, this is a bottleneck.  If you can use some of the other drives I see in your ioscan (ie: reorganize your disk layout) so that you are striping over several mirror pairs, you will increase your performance.&lt;BR /&gt;&lt;BR /&gt;The more you spread the DB's I/O load over more drives, the faster it will get.&lt;BR /&gt;&lt;BR /&gt;Depending on your disk utilization and LVM configuration, this may be very easy to do; but it can also mean a full backup and restore of all the application data.&lt;BR /&gt;&lt;BR /&gt;Post back if you need more direction.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Vince</description>
      <pubDate>Thu, 13 Feb 2003 15:50:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902493#M105223</guid>
      <dc:creator>Vincent Fleming</dc:creator>
      <dc:date>2003-02-13T15:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: write io performance problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902494#M105224</link>
      <description>The system is maxed out, so there's nothing wrong except trying to run more databases than the users find acceptable. If you can convince your users to wait 5 minutes for each query, you can probably add a dozen more instances of Oracle.&lt;BR /&gt;&lt;BR /&gt;True, most every query will cause deactivation and page outs for many, many programs, but at least you don't have to upgrade the system. In other words, there nothing the opsystem or the disk design can do for an overloaded machine.&lt;BR /&gt;&lt;BR /&gt;You need 8 to 12 Gbytes of RAM, 8 to 16 processors, fibre channel connections to a lare disk array with Gbytes of caching and your 24 instances of Oracle (which must be upgraded to 64bit versions) will perform as expected. Since the D-class computer can't be upgraded to these types of features, it's up to management to decide how much is the wait time worth. Having dozens of users wait for an underpowered machine every day versus a current technology machine (that will cost less than the original D-class, yet be 10x faster), that is the question. &lt;BR /&gt;&lt;BR /&gt;The opsystem and I/O changes that might be made can't fix a bad design. And running 24 instances on a single machine without any backup (ie, a clustered Service Guard connection) is a massive risk. A single failure in the D-class takes everything down. Two or three L1000 systems each with 4Gb of RAM and a current technology disk array with Service Guard is a very cost effective and reliable solution. Performance will be unbelievable.</description>
      <pubDate>Thu, 13 Feb 2003 16:34:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902494#M105224</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-02-13T16:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: write io performance problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902495#M105225</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;I know, your are right/ But the management is thinking about a new system. &lt;BR /&gt;Also I don't care much. The machine is my baby and I try to keep it in tip top condition. Even if the dba's and the management are using her as a mule.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Vincent, ( and of course Bill, )&lt;BR /&gt;&lt;BR /&gt;I am still concidering my dbc_max/ min_pct.&lt;BR /&gt;Should I set it equal? So that the buffer cache isn't dynamic?&lt;BR /&gt;Should I set to 250MB, something like 20?&lt;BR /&gt;Should I set it to 80% as was suggested earlier in this thread?&lt;BR /&gt;Should I concider playing with the "swapmem_on" parameter?&lt;BR /&gt;&lt;BR /&gt;Thx again!&lt;BR /&gt;&lt;BR /&gt;F</description>
      <pubDate>Thu, 13 Feb 2003 16:55:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902495#M105225</guid>
      <dc:creator>Ferdinand_2</dc:creator>
      <dc:date>2003-02-13T16:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: write io performance problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902496#M105226</link>
      <description>&lt;BR /&gt;For your database filesystems I would try a different approach:&lt;BR /&gt;&lt;BR /&gt;You actually want Oracle to be doing the caching (SGA) as Oracle knows best how it's data is stored and accessed. In comparison the O/S can only do relatively 'dumb' caching.&lt;BR /&gt;&lt;BR /&gt;Using a buffercache for your database files only means a lot of extra memory-to-memory copying and the larger your bc is, the more overhead UX has managing it... &lt;BR /&gt;&lt;BR /&gt;You should mount your database filesystems with -o mincache=direct (I believe this requires OnlineJFS) and keep your bc to a minimum, leaving more available memory for the Oracle SGA.&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;Stanley.</description>
      <pubDate>Mon, 17 Feb 2003 10:19:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/write-io-performance-problem/m-p/2902496#M105226</guid>
      <dc:creator>Stanley Merkx</dc:creator>
      <dc:date>2003-02-17T10:19:45Z</dc:date>
    </item>
  </channel>
</rss>

