<?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 Terrible performance on Itanium in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/terrible-performance-on-itanium/m-p/4699129#M612879</link>
    <description>I have a C++ application that processes data as it comes in and the performance on Itanium is terrible to say the least.&lt;BR /&gt;&lt;BR /&gt;The exact same code is run on SPARC and RISC systems and runs fine.&lt;BR /&gt;&lt;BR /&gt;One processing loop that takes less than a second to execute on the other systems takes 46 seconds on Itanium. This is all calculations.&lt;BR /&gt;&lt;BR /&gt;Using grof, prof, and caliper I have not been able to find where the time goes.&lt;BR /&gt;&lt;BR /&gt;The really strange thing is when I run the program under tusc, the loop execution time drops from 46 seconds to 2 seconds.&lt;BR /&gt;&lt;BR /&gt;Top shows the CPU's to be basically idle when this runs.&lt;BR /&gt;&lt;BR /&gt;Any suggestions on how to track this down?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 13 Oct 2010 23:08:11 GMT</pubDate>
    <dc:creator>Jim Pennino</dc:creator>
    <dc:date>2010-10-13T23:08:11Z</dc:date>
    <item>
      <title>Terrible performance on Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/terrible-performance-on-itanium/m-p/4699129#M612879</link>
      <description>I have a C++ application that processes data as it comes in and the performance on Itanium is terrible to say the least.&lt;BR /&gt;&lt;BR /&gt;The exact same code is run on SPARC and RISC systems and runs fine.&lt;BR /&gt;&lt;BR /&gt;One processing loop that takes less than a second to execute on the other systems takes 46 seconds on Itanium. This is all calculations.&lt;BR /&gt;&lt;BR /&gt;Using grof, prof, and caliper I have not been able to find where the time goes.&lt;BR /&gt;&lt;BR /&gt;The really strange thing is when I run the program under tusc, the loop execution time drops from 46 seconds to 2 seconds.&lt;BR /&gt;&lt;BR /&gt;Top shows the CPU's to be basically idle when this runs.&lt;BR /&gt;&lt;BR /&gt;Any suggestions on how to track this down?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Oct 2010 23:08:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/terrible-performance-on-itanium/m-p/4699129#M612879</guid>
      <dc:creator>Jim Pennino</dc:creator>
      <dc:date>2010-10-13T23:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Terrible performance on Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/terrible-performance-on-itanium/m-p/4699130#M612880</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I have a C++ application [...]&lt;BR /&gt;&lt;BR /&gt;Compiled and linked how?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] that processes data as it comes in&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;I may be dense, but that description tells me&lt;BR /&gt;nothing.  What sort of data, coming into&lt;BR /&gt;where, from where, how, processed how?&lt;BR /&gt;&lt;BR /&gt;I know nothing, but a Forum search for&lt;BR /&gt;keywords like, say:&lt;BR /&gt;      alignment&lt;BR /&gt;might find some old threads related to one&lt;BR /&gt;possible source of sloth on IA64 systems.</description>
      <pubDate>Thu, 14 Oct 2010 02:28:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/terrible-performance-on-itanium/m-p/4699130#M612880</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-10-14T02:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Terrible performance on Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/terrible-performance-on-itanium/m-p/4699131#M612881</link>
      <description>&amp;gt;Using grof, prof, and caliper I have not been able to find where the time goes.&lt;BR /&gt;&lt;BR /&gt;Does time(1) and caliper show the system (vs user) is taking most of the time?  What about gpm?&lt;BR /&gt;What caliper reports did you try?&lt;BR /&gt;Is your application threaded?&lt;BR /&gt;What HP-UX version?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;This is all calculations.&lt;BR /&gt;&lt;BR /&gt;Are you heavily using floating point and getting denorms?  Link with +FPD&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The really strange thing is when I run the program under tusc&lt;BR /&gt;&lt;BR /&gt;Hmm, rings a faint bell?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Steven: Compiled and linked how?&lt;BR /&gt;&lt;BR /&gt;Right, what compiler version and opt level?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;alignment might find some old threads related to one possible source of sloth on IA64 systems.&lt;BR /&gt;&lt;BR /&gt;Except that PA has the same alignment restrictions and the default action on HP-UX is to abort.</description>
      <pubDate>Thu, 14 Oct 2010 14:16:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/terrible-performance-on-itanium/m-p/4699131#M612881</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-10-14T14:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Terrible performance on Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/terrible-performance-on-itanium/m-p/4699132#M612882</link>
      <description>Building:&lt;BR /&gt;&lt;BR /&gt;On both Itanium and RISC:&lt;BR /&gt;&lt;BR /&gt;CXXFLAGS = -AA -O $(INCLUDES)&lt;BR /&gt;LDFLAGS = -AA -Wl,-O,+n,+s,-s,-z,+k&lt;BR /&gt;&lt;BR /&gt;This program under normal operation runs forever but for running tests I added some code to limit the run to 15 minutes.&lt;BR /&gt;&lt;BR /&gt;time executable gives:&lt;BR /&gt;&lt;BR /&gt;Itanium&lt;BR /&gt;real 15m27.43s&lt;BR /&gt;user 0m2.48s&lt;BR /&gt;sys 0m0.53s&lt;BR /&gt;&lt;BR /&gt;RISC&lt;BR /&gt;real 15m7.36s&lt;BR /&gt;user 0m6.58s&lt;BR /&gt;sys 0m3.28s&lt;BR /&gt;&lt;BR /&gt;Around one of the main calculation loops I added code that looks like:&lt;BR /&gt;&lt;BR /&gt;start_time = time (0);&lt;BR /&gt;for () {&lt;BR /&gt;calculations&lt;BR /&gt;}&lt;BR /&gt;syslog (LOG_DEBUG, "Loop time %d", time (0) - start_time);&lt;BR /&gt;&lt;BR /&gt;For Itanium with 1194 data points, loop time is around 64 seconds.&lt;BR /&gt;&lt;BR /&gt;For RISC with 2337 data points, loop time is&lt;BR /&gt;0 or 1 second.&lt;BR /&gt;&lt;BR /&gt;The numbers for a SPARC machine are similar to the numbers for RISC.&lt;BR /&gt;&lt;BR /&gt;The Itanium system does not have gpm.&lt;BR /&gt;&lt;BR /&gt;In a 15 minute period this loop gets called 30 times.&lt;BR /&gt;&lt;BR /&gt;All the operations in the loop are simple arithmetic, some float, some int.&lt;BR /&gt;&lt;BR /&gt;It seems to me that most of the wall clock time is spent waiting or blocked on something, but I have no clue what would block arithmetic.&lt;BR /&gt;&lt;BR /&gt;The system has lots of memory and is not swapping.&lt;BR /&gt;&lt;BR /&gt;One other thing that may make a difference just occurred to me; the machine is virtual and I have no access to the "real" machine but the admin's butt for the real machine is on the line to get this working and will do anything I ask him to.&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Oct 2010 16:00:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/terrible-performance-on-itanium/m-p/4699132#M612882</guid>
      <dc:creator>Jim Pennino</dc:creator>
      <dc:date>2010-10-14T16:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Terrible performance on Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/terrible-performance-on-itanium/m-p/4699133#M612883</link>
      <description>Ask him to let you run the experiment on the host rather than the guest.</description>
      <pubDate>Thu, 14 Oct 2010 22:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/terrible-performance-on-itanium/m-p/4699133#M612883</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2010-10-14T22:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Terrible performance on Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/terrible-performance-on-itanium/m-p/4699134#M612884</link>
      <description>It may come down to doing that just to prove it is the virtual part causing the problem, but it won't solve the problem.&lt;BR /&gt;&lt;BR /&gt;To make a long story short, the application in question is but one of many interacting applications that are a giant pain to set up on a system, which is why I haven't done it.</description>
      <pubDate>Sat, 16 Oct 2010 02:57:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/terrible-performance-on-itanium/m-p/4699134#M612884</guid>
      <dc:creator>Jim Pennino</dc:creator>
      <dc:date>2010-10-16T02:57:29Z</dc:date>
    </item>
  </channel>
</rss>

