<?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: need disk performance tool. in Operating System - Tru64 Unix</title>
    <link>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153847#M8282</link>
    <description>There is a tool called dt(disk test) written by an employee at Tru64 Engineering. I don't know if it's public but if you've got a support contract you could probably obtain it directly from hp.</description>
    <pubDate>Tue, 30 Dec 2003 11:42:39 GMT</pubDate>
    <dc:creator>Martin Andersson</dc:creator>
    <dc:date>2003-12-30T11:42:39Z</dc:date>
    <item>
      <title>need disk performance tool.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153841#M8276</link>
      <description>Hello experts,&lt;BR /&gt;I need some disk performance tools such as "stkio" for raw device test.&lt;BR /&gt;I tried to download it on "StorageTek" home page but the link is not available anymore.&lt;BR /&gt;If anyone tell me any other source, it would be helpful.&lt;BR /&gt;&lt;BR /&gt;We're getting sequential read io problems and we still don't know where the problem comes from. -Could be host, SAN, storage.&lt;BR /&gt;&lt;BR /&gt;Thank you for your help.&lt;BR /&gt;Insu&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Dec 2003 08:14:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153841#M8276</guid>
      <dc:creator>Insu Kim</dc:creator>
      <dc:date>2003-12-30T08:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: need disk performance tool.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153842#M8277</link>
      <description>Hi Insu,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.sunmanagers.org/pipermail/summaries/2002-February/002408.html" target="_blank"&gt;http://www.sunmanagers.org/pipermail/summaries/2002-February/002408.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Not sure if it will work, but give it a try !!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 30 Dec 2003 08:46:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153842#M8277</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-12-30T08:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: need disk performance tool.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153843#M8278</link>
      <description>Insu:&lt;BR /&gt;&lt;BR /&gt;I use glance, perfview, and "sar -d".&lt;BR /&gt;&lt;BR /&gt;We also have EMC Workload Analyzer, but it isn't working and I have to fix it.</description>
      <pubDate>Tue, 30 Dec 2003 08:56:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153843#M8278</guid>
      <dc:creator>Stuart Abramson_2</dc:creator>
      <dc:date>2003-12-30T08:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: need disk performance tool.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153844#M8279</link>
      <description>Thank you for your quick response.&lt;BR /&gt;I'm struggling with Tru64, not HP-UX so I need tools for stkio.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Tue, 30 Dec 2003 09:00:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153844#M8279</guid>
      <dc:creator>Insu Kim</dc:creator>
      <dc:date>2003-12-30T09:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: need disk performance tool.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153845#M8280</link>
      <description>you may find something on this webpage?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.netlib.org/benchweb/apps.html" target="_blank"&gt;http://www.netlib.org/benchweb/apps.html&lt;/A&gt;</description>
      <pubDate>Tue, 30 Dec 2003 09:14:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153845#M8280</guid>
      <dc:creator>lawrenzo</dc:creator>
      <dc:date>2003-12-30T09:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: need disk performance tool.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153846#M8281</link>
      <description>try "tapex" for tapes or collect to get a performance statistic for storage/io.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Dec 2003 11:42:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153846#M8281</guid>
      <dc:creator>Ralf Puchner</dc:creator>
      <dc:date>2003-12-30T11:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: need disk performance tool.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153847#M8282</link>
      <description>There is a tool called dt(disk test) written by an employee at Tru64 Engineering. I don't know if it's public but if you've got a support contract you could probably obtain it directly from hp.</description>
      <pubDate>Tue, 30 Dec 2003 11:42:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153847#M8282</guid>
      <dc:creator>Martin Andersson</dc:creator>
      <dc:date>2003-12-30T11:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: need disk performance tool.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153848#M8283</link>
      <description>Wee, found the link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.bit-net.com/~rmiller/dt.html" target="_blank"&gt;http://www.bit-net.com/~rmiller/dt.html&lt;/A&gt;</description>
      <pubDate>Tue, 30 Dec 2003 11:45:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153848#M8283</guid>
      <dc:creator>Martin Andersson</dc:creator>
      <dc:date>2003-12-30T11:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: need disk performance tool.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153849#M8284</link>
      <description>Please provide a little more info, like the exact OS version, whether you use lsm, stipes, what connectivity, which standard tools you tried, and why they did not solve your problem.&lt;BR /&gt;&lt;BR /&gt;The first standard tool is plain old 'iostat'. Give it a lit of devices and it will spit out IO rate and volume.&lt;BR /&gt;&lt;BR /&gt;Personally I like 'monitor' for a quick overview.&lt;BR /&gt;&lt;BR /&gt;And then there is 'collect' for longer term tiemline views.&lt;BR /&gt;&lt;BR /&gt;For instant, specific, detailed, data I dig deep and use: '/sbin/hwmgr -get attribute'&lt;BR /&gt;All the gory counters are there for you to interpret. Hardest things to understand:&lt;BR /&gt;- the multiple fibr path having individual cell... but you want that.&lt;BR /&gt;- the transfer size in counted in 64 byte words (need 16384 to make a Megabyte).&lt;BR /&gt;&lt;BR /&gt;I use a helper script for that which I will include below as well as attach.&lt;BR /&gt;&lt;BR /&gt;Instead of measuring rate like to use 'dd' to enforced a rate &amp;amp; size and measure resulting timing.&lt;BR /&gt;&lt;BR /&gt;Maybe your stripe chunksizes are too low? (lsm or storage). Maybe you need more alternative paths?&lt;BR /&gt;&lt;BR /&gt;Hope this helps some,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;#!/bin/perl&lt;BR /&gt;#&lt;BR /&gt;# io_eval based on os_stat.&lt;BR /&gt;# os_stat, Hein van den Heuvel, July 1999.&lt;BR /&gt;# July-2000 clean up parsing.&lt;BR /&gt;#&lt;BR /&gt;# The module is either called directly by SAP benchrun for the evalute&lt;BR /&gt;# function or indirectly through the os_start or os_stop scripts.&lt;BR /&gt;# Look at argument 2 to find out what to do: start, stop, or eval if empty.&lt;BR /&gt;#&lt;BR /&gt;# start: an new temporary file with counters is created.&lt;BR /&gt;# stop: append new counter values to temporary file.&lt;BR /&gt;# eval: read temporary, calculate differences, print summaries, append input.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;($function, $argument) = @ARGV;&lt;BR /&gt;&lt;BR /&gt;$directory="";&lt;BR /&gt;$io_out="io.out";&lt;BR /&gt;$io_temp="io.tmp";&lt;BR /&gt;&lt;BR /&gt;$append_or_create = ($function eq "start") ? "" : "&amp;gt;"; # create new files ?&lt;BR /&gt;&lt;BR /&gt;if ($function =~ /^st/) {               # both stop or start&lt;BR /&gt;#   print "os_stat start-or-stop - $argument - $function\n" ;&lt;BR /&gt;    system ("date $append_or_create&amp;gt; $directory$io_temp");&lt;BR /&gt;&lt;BR /&gt;    open (TMP,"&amp;gt;&amp;gt; $directory$io_temp");&lt;BR /&gt;    foreach $_ (`/sbin/hwmgr -get attribute`) {&lt;BR /&gt;        if (/^  path_state_(\d+) = (\d+)/) {&lt;BR /&gt;          $bus = int($1);&lt;BR /&gt;          $state = int($2);&lt;BR /&gt;          break;&lt;BR /&gt;          }&lt;BR /&gt;        if (/^  path_wds_(\d+) = (\d+)/) {&lt;BR /&gt;          $b=int($1);&lt;BR /&gt;          $wds=int($2);&lt;BR /&gt;          if ($b==$bus) {&lt;BR /&gt;              print TMP "b${b}w${wds}\n" if ($state==1);&lt;BR /&gt;            } else {&lt;BR /&gt;              print "found bus $b when expecting $bus for $dsk\n";&lt;BR /&gt;            }&lt;BR /&gt;          break;&lt;BR /&gt;          }&lt;BR /&gt;        if (/^  dev_base_name = dsk(\d+)/) {&lt;BR /&gt;          $dsk = "dsk$1";&lt;BR /&gt;          $state = 0;&lt;BR /&gt;          print TMP "dsk$1\n";&lt;BR /&gt;          break;&lt;BR /&gt;          }&lt;BR /&gt;        if (/^  write_bytes = (\d+)/) {&lt;BR /&gt;          print TMP "r${read}w$1\n";&lt;BR /&gt;          break;&lt;BR /&gt;          }&lt;BR /&gt;        if (/^  read_bytes = (\d+)/) {&lt;BR /&gt;          $read = $1;&lt;BR /&gt;          break;&lt;BR /&gt;          }&lt;BR /&gt;        }&lt;BR /&gt;    exit 0;&lt;BR /&gt;    }&lt;BR /&gt;&lt;BR /&gt;if ($function ne "eval") {&lt;BR /&gt;        print "Usage: os_stat [start | stop | eval] argument\n";&lt;BR /&gt;        exit 0;&lt;BR /&gt;        }&lt;BR /&gt;&lt;BR /&gt;#--------------- This section when executing eval ----------------------.&lt;BR /&gt;&lt;BR /&gt;sub sort_by_disk {&lt;BR /&gt;        int($a) &amp;lt;=&amp;gt; int($b);&lt;BR /&gt;        }&lt;BR /&gt;&lt;BR /&gt;sub seconds {&lt;BR /&gt;        @time=(0, split(/[:.]/,@_[0]), 0);&lt;BR /&gt;        shift(@time) unless (@_[0]=~/\./);&lt;BR /&gt;        (($time[0]*60) + $time[1])*60 + $time[2] + $time[3]/100;&lt;BR /&gt;        }&lt;BR /&gt;&lt;BR /&gt;sub mega {&lt;BR /&gt;        my $x;&lt;BR /&gt;        $x = @_[0];&lt;BR /&gt;        if ( $x &amp;gt; 10000000000 ) {&lt;BR /&gt;                $x = int($x/1000000000) . "G";&lt;BR /&gt;        } elsif ( $x &amp;gt; 10000000 ) {&lt;BR /&gt;                $x = int($x/1000000) . "M";&lt;BR /&gt;        } elsif ( $x &amp;gt; 10000 ) {&lt;BR /&gt;                $x = int($x/1000) . "K";&lt;BR /&gt;                }&lt;BR /&gt;        $x;&lt;BR /&gt;        }&lt;BR /&gt;$d=-1;&lt;BR /&gt;$end=-1;&lt;BR /&gt;$maxwds=0;&lt;BR /&gt;&lt;BR /&gt;# Loop through the input file.&lt;BR /&gt;&lt;BR /&gt;unless (open (TMP,$directory . $io_temp)){&lt;BR /&gt;        die "os_stat - failed to open $io_temp\n";&lt;BR /&gt;        }&lt;BR /&gt;unless (open (IO,"&amp;gt;".$io_out)){&lt;BR /&gt;        die "os_stat - failed to open $io_out\n";&lt;BR /&gt;        }&lt;BR /&gt;while (&lt;TMP&gt;) {&lt;BR /&gt;        if ($d &amp;gt;= 0) {&lt;BR /&gt;          if (/^b(\d+)w(\d+)/) {&lt;BR /&gt;            $b = int($1);&lt;BR /&gt;            $w = $2;&lt;BR /&gt;            $maxbus = $b if ($b &amp;gt; $maxbus);&lt;BR /&gt;            if ($end) {&lt;BR /&gt;              $x = 0.0 + $w - $wds[$d][$b];&lt;BR /&gt;              $maxwds = $x if ($x &amp;gt; $maxwds);&lt;BR /&gt;              $wds[$d][$b] = $x;&lt;BR /&gt;              $bus[$b] += $x;&lt;BR /&gt;              $maxwdsbus = $bus[$b] if ($bus[$b] &amp;gt; $maxwdsbus);&lt;BR /&gt;              } else {&lt;BR /&gt;              $wds[$d][$b] = $w;&lt;BR /&gt;              }&lt;BR /&gt;            break;&lt;BR /&gt;            }&lt;BR /&gt;          }&lt;BR /&gt;&lt;BR /&gt;        if (/^dsk(\d+)/) {&lt;BR /&gt;            $dsk = $1;&lt;BR /&gt;            $d = int($dsk);&lt;BR /&gt;            break;&lt;BR /&gt;            }&lt;BR /&gt;&lt;BR /&gt;        if (/^r(\d+)w(\d+)/) {&lt;BR /&gt;            if ($end) {&lt;BR /&gt;              $read{$dsk} += $1;&lt;BR /&gt;              $write{$dsk}+= $2;&lt;BR /&gt;              } else {&lt;BR /&gt;              $read{$dsk} = -$1;&lt;BR /&gt;              $write{$dsk}= -$2;&lt;BR /&gt;              }&lt;BR /&gt;            $d = -1;&lt;BR /&gt;            }&lt;BR /&gt;&lt;BR /&gt;        # Recognise (re)start of IO output from date and time. Sample input:&lt;BR /&gt;        #Mon Jul 26 12:41:52 MET DST 1999&lt;BR /&gt;&lt;BR /&gt;        if (/^\w{3} (\w{3}\s+\d+) (\d+:\d+:\d+).*( \d{4})/) {&lt;BR /&gt;&lt;BR /&gt;            $elapsed[++$end]=seconds($2); # Time saved in regular expresion.&lt;BR /&gt;            if ($end) {&lt;BR /&gt;                $interval = $elapsed[1] -$elapsed[0];&lt;BR /&gt;                $interval += 86400 if ($interval &amp;lt; 0);&lt;BR /&gt;                $procent = $cpu * $interval / 100;&lt;BR /&gt;                print IO "\n$1 $3  ";&lt;BR /&gt;                }&lt;BR /&gt;            }&lt;BR /&gt;        }&lt;BR /&gt;if (($maxwds &amp;lt; 1000) || ($interval &amp;lt; 1)) {&lt;BR /&gt;        print "Not enough data. No &lt;STOP&gt; done?\n";&lt;BR /&gt;        exit 1;&lt;BR /&gt;        }&lt;BR /&gt;&lt;BR /&gt;$u = 16384 * $interval;&lt;BR /&gt;$u = $maxwds / 32;&lt;BR /&gt;$maxbus++;&lt;BR /&gt;#x print "maxbus = $maxbus, maxwds = $maxwds.\n";&lt;BR /&gt;$h1 = sprintf ("%-16s BUS...", $interval . " seconds.");&lt;BR /&gt;$h2 = "                ";&lt;BR /&gt;$h3 = "disk  MB/sec Rd%";&lt;BR /&gt;$h4 = "----------------";&lt;BR /&gt;for ($i = 0; $i &amp;lt; $maxbus; $i++) {&lt;BR /&gt;   $h2 .= " " . int($i/10);&lt;BR /&gt;   $h3 .= " " . $i%10;&lt;BR /&gt;   $h4 .= "--";&lt;BR /&gt;   }&lt;BR /&gt;$code=" .--====++++++++****************################################";&lt;BR /&gt;for ($i=0; $i&amp;lt;6; $i++) {&lt;BR /&gt;  $l1 .= substr ($code,2**$i,1) ;&lt;BR /&gt;  $l2 .= sprintf ("%4.2f ", ($u * 2**$i / $interval ) / 16384);&lt;BR /&gt;  }&lt;BR /&gt;print IO "   BUS MB/sec legend: $l1 = $l2\n$h1\n$h2\n$h3\n$h4\n";&lt;BR /&gt;&lt;BR /&gt;foreach $dsk (sort sort_by_disk keys %read) {&lt;BR /&gt;        $sum = $read{$dsk} + $write{$dsk};&lt;BR /&gt;        $total += $sum;&lt;BR /&gt;        $d = int($dsk);&lt;BR /&gt;        if ($sum &amp;gt; 0) {&lt;BR /&gt;          $line = sprintf ("dsk%-3d%6.2f%4d ", $d,&lt;BR /&gt;            (($sum/(1024*1024)) / $interval), int(100*($read{$dsk}/$sum)) );&lt;BR /&gt;          for ($b=0; $b&amp;lt;$maxbus; $b++) {&lt;BR /&gt;            $line .= substr($code,$wds[$d][$b]/$u, 1) . " ";&lt;BR /&gt;            }&lt;BR /&gt;          print IO $line, "\n";&lt;BR /&gt;          }&lt;BR /&gt;        }&lt;BR /&gt;&lt;BR /&gt;$u = $maxwdsbus / 32;&lt;BR /&gt;$line = $h4 . sprintf ("\nTOTAL%7.2f     ", ($total/(1024*1024)) / $interval);&lt;BR /&gt;for ($b=0; $b&amp;lt;$maxbus; $b++) {&lt;BR /&gt;  $line .= substr($code,$bus[$b]/$u, 1) . " ";&lt;BR /&gt;  }&lt;BR /&gt;print IO $line, "\n\nBUS   MB/Sec\n------------\n";&lt;BR /&gt;for ($b=0; $b&amp;lt;$maxbus; $b++) {&lt;BR /&gt;  printf IO ("%-3d%9.2f\n", $b, ($bus[$b]/16384)/$interval);&lt;BR /&gt;  }&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#unless (unlink ($io_temp, $net_temp)){&lt;BR /&gt;#        die "os_stat - failed to unlink $io_temp or $net_temp\n";&lt;BR /&gt;&lt;BR /&gt;&lt;/STOP&gt;&lt;/TMP&gt;</description>
      <pubDate>Tue, 06 Jan 2004 00:58:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153849#M8284</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-01-06T00:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: need disk performance tool.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153850#M8285</link>
      <description>ooops, the attachment failed. Here is a new try to attach a perl script that parses '/sbin/hwmgr -get attribute' output to present per-path, per bus io stats.&lt;BR /&gt;&lt;BR /&gt;Haven't used it in a while, so it may need tweaks.&lt;BR /&gt;&lt;BR /&gt;Enjoy,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jan 2004 01:03:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153850#M8285</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-01-06T01:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: need disk performance tool.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153851#M8286</link>
      <description>Not a raw, but a very good filesystem benchmark.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.iozone.org/" target="_blank"&gt;http://www.iozone.org/&lt;/A&gt;</description>
      <pubDate>Wed, 07 Jan 2004 09:17:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153851#M8286</guid>
      <dc:creator>Megyes András</dc:creator>
      <dc:date>2004-01-07T09:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: need disk performance tool.</title>
      <link>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153852#M8287</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;please post os release/patch level.&lt;BR /&gt;what kind of problems are you getting? Any error messages in messages/binlog?&lt;BR /&gt;Have you tried dd if=/dev/rawdevice of=/dev/null to test for disk errors?&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jan 2004 10:11:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-tru64-unix/need-disk-performance-tool/m-p/3153852#M8287</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-01-07T10:11:25Z</dc:date>
    </item>
  </channel>
</rss>

