<?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>Operating System - HP-UX의 주제 bad i/o performance (application problem)</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312715#M185902</link>
    <description>Hi all. I have an L2000 with hpux 11.0, which is running an absurd, home made (_not by me_), application, written in shell script, using a pseudo-database based on many text files.&lt;BR /&gt;Each minute it runs from crontab and updates the - ehm - database, which means creating, deleting, sorting, compressing, uncompressing these thousands of little files and of course forking like a rabbit. Strange to say, sometimes it has performance problems and the disk containing the "db" is 100% busy with long i/o queue.&lt;BR /&gt;Since I cannot erase the application from the server, can anybody suggest me any workaround I could apply to the system, like kernel parm tuning (I think DNLC, inode cache, etc.) or similar?&lt;BR /&gt;&lt;BR /&gt;TIA, Carlo</description>
    <pubDate>Wed, 23 Jun 2004 03:20:47 GMT</pubDate>
    <dc:creator>Carlo Montanari</dc:creator>
    <dc:date>2004-06-23T03:20:47Z</dc:date>
    <item>
      <title>bad i/o performance (application problem)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312715#M185902</link>
      <description>Hi all. I have an L2000 with hpux 11.0, which is running an absurd, home made (_not by me_), application, written in shell script, using a pseudo-database based on many text files.&lt;BR /&gt;Each minute it runs from crontab and updates the - ehm - database, which means creating, deleting, sorting, compressing, uncompressing these thousands of little files and of course forking like a rabbit. Strange to say, sometimes it has performance problems and the disk containing the "db" is 100% busy with long i/o queue.&lt;BR /&gt;Since I cannot erase the application from the server, can anybody suggest me any workaround I could apply to the system, like kernel parm tuning (I think DNLC, inode cache, etc.) or similar?&lt;BR /&gt;&lt;BR /&gt;TIA, Carlo</description>
      <pubDate>Wed, 23 Jun 2004 03:20:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312715#M185902</guid>
      <dc:creator>Carlo Montanari</dc:creator>
      <dc:date>2004-06-23T03:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: bad i/o performance (application problem)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312716#M185903</link>
      <description>hi,&lt;BR /&gt; &lt;BR /&gt;you can try to increase the buffer cache (dbc_min_pct &amp;amp; dbc_max_pct) which might relieve the disks a bit.&lt;BR /&gt; &lt;BR /&gt;Another possibility is that all memory is consumed and that the server is swapping like hell, so check swapinfo during peak time.&lt;BR /&gt; &lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Wed, 23 Jun 2004 05:51:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312716#M185903</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2004-06-23T05:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: bad i/o performance (application problem)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312717#M185904</link>
      <description>How could you ascertain it is an I/O problem? I've seen many such "applications" that uses flat files or pseudo ISAM files or UNIX db files - to great success. Simple but effective apps - I would call them.&lt;BR /&gt;&lt;BR /&gt;The key to such applications is tuning your system.. you already thought of some. Filesystem buffer cache is one area that most of the time fixes the problem -- study your "sar -b" output over time.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jun 2004 08:13:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312717#M185904</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-06-23T08:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: bad i/o performance (application problem)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312718#M185905</link>
      <description>I've had a problem in the past with a similar setup. The application in my case would create thousands of small log files which would later be deleted. After a while it really started to run poorly. &lt;BR /&gt;&lt;BR /&gt;Even a simple 'ls -l' command in the directory and it was very slow. &lt;BR /&gt;&lt;BR /&gt;I then defraged the directory (fsadm -F vxfs -d &lt;MOUNT_POINT&gt;). After it finished the 'ls -l' returned much quicker and the application responded much better.&lt;BR /&gt;&lt;BR /&gt;David&lt;/MOUNT_POINT&gt;</description>
      <pubDate>Wed, 23 Jun 2004 08:30:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312718#M185905</guid>
      <dc:creator>David Child_1</dc:creator>
      <dc:date>2004-06-23T08:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: bad i/o performance (application problem)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312719#M185906</link>
      <description>Do you have glance installed?&lt;BR /&gt;Open it up, what is hitting high-cpu, memory, disk, network?&lt;BR /&gt;&lt;BR /&gt;Identifying a bottle neck is a big exercise. Depending on what you have given..&lt;BR /&gt;What's RAM on this machine? What are buffer cahe settings?&lt;BR /&gt;&lt;BR /&gt;Which FS is being accessed by this crontab entry? glance -i (will give those details)&lt;BR /&gt;&lt;BR /&gt;If this crontab entry is accessing particular&lt;BR /&gt;FS and that FS hitting 100 % i/o, then&lt;BR /&gt;try distibuting the files on to different FS and make appropriate chnages in your script.&lt;BR /&gt;&lt;BR /&gt;Also depending on what are your buffer cache settings, it may be increased.&lt;BR /&gt;Give sar -b 2 20 output.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 23 Jun 2004 08:30:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312719#M185906</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-06-23T08:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: bad i/o performance (application problem)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312720#M185907</link>
      <description>Hi Carlo,&lt;BR /&gt;&lt;BR /&gt;I'd also check to see whether 1 minute cron jobs is the proper timing.&lt;BR /&gt;Could it be that jobs are not completeing w/in that minutes &amp;amp; are "backing up" causing contention issues?&lt;BR /&gt;Watch the cron queue using the /var/adm/cron/log to see just when they're starting &amp;amp; ending. Each entry pair will be denoted by a unique PID. Just grep for it.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 23 Jun 2004 08:44:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312720#M185907</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-06-23T08:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: bad i/o performance (application problem)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312721#M185908</link>
      <description>A huge amount of the performance hit is caused by the directory operations (opening, extending, closing) files. These tasks affect every other process on the system and create a very high system overhead. If cost is no object, move the data files to a RAM disk appliance, or at least a SAN with lots of disk cache. Another option is to simple move the database and scripts to a dedicated machine. Otherwise, get a lot more memory and set the max_dbc_pct parameter to equal 800 to 1500 megs. There's not a lot of magic to 'fix' a badly designed process.</description>
      <pubDate>Wed, 23 Jun 2004 08:54:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312721#M185908</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-06-23T08:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: bad i/o performance (application problem)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312722#M185909</link>
      <description>Thank you all.&lt;BR /&gt;I've Glance on the server, so I can provide any info about the problem. The system has lots of free CPU and memory, it's mainly waiting for I/O on a single filesystem (where there is the db); yet I cannot distribute it around, since I've no free disks.&lt;BR /&gt;The "db" is composed by thousands of *very* little files, so the size of buffer cache (it's 1 Gb BTW) doesn't seem to me the key, since the total data moved is quite little.&lt;BR /&gt;Looking at the syscall rate in Glance, I see that the system is spending much time in doing open(), so what Bill says about directory operations is very likely.&lt;BR /&gt;Using "sar -a" I see also a high rate of iget, namei, dirbk.&lt;BR /&gt;Maybe I'll try reorganizing the directories as David writes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jun 2004 10:36:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312722#M185909</guid>
      <dc:creator>Carlo Montanari</dc:creator>
      <dc:date>2004-06-23T10:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: bad i/o performance (application problem)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312723#M185910</link>
      <description>It does sound like most of the time is spent accessing the data files.  You could take a very detailed look at that using the tusc system call tracer with the -T option to record times.&lt;BR /&gt;Looking in a different direction, you can reduce the time for starting short-lived programs by using the fastbind command.  It records the shared libraries and symbol resolutions for a program so dld.sl does not need to look them up everytime the program is started.  Fastbind needs to be rerun whenever you update a shared library.  Otherwise it quietly returns to the old way of looking up symbols.&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jun 2004 11:18:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bad-i-o-performance-application-problem/m-p/3312723#M185910</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2004-06-24T11:18:39Z</dc:date>
    </item>
  </channel>
</rss>

