<?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 Itanium in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569486#M650486</link>
    <description>Hi Dennis,&lt;BR /&gt;In caliper, I see the following vmlinux modules taking more time. Am I hitting any unaligned data accesses ? I heard of a alignment debugger aldbg, but couldn't find any information on that ? How can I find out the code that is causing these unaligned access ?&lt;BR /&gt;&lt;BR /&gt;vmunix::unaligned_get_gr          unaligned_emu.c&lt;BR /&gt;vmunix::ss_get_rsebs              ss_access.c&lt;BR /&gt;vmunix::bubbleup&lt;BR /&gt;vmunix::pre_hndlr                 hl_ivt.c&lt;BR /&gt;vmunix::post_hndlr                hl_ivt.c&lt;BR /&gt;vmunix::as_ubcopy&lt;BR /&gt;vmunix::int_ldst                  unaligned_emu.c&lt;BR /&gt;vmunix::unaligned_hndlr           hl_ivt.c&lt;BR /&gt;vmunix::ki_accum_pop_TOS          clock_ki.c&lt;BR /&gt;vmunix::ki_accum_push_TOS         clock_ki.c&lt;BR /&gt;vmunix::bubbledown&lt;BR /&gt;</description>
    <pubDate>Mon, 01 Feb 2010 10:48:48 GMT</pubDate>
    <dc:creator>vaibsk</dc:creator>
    <dc:date>2010-02-01T10:48:48Z</dc:date>
    <item>
      <title>HP-UX Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569481#M650481</link>
      <description>Hi,&lt;BR /&gt;I have a question on Traps. One of my applications uses lot of system cpu time. From Glance I can see that there are lot of traps the application generates. How can I find out which part of the code is causing the traps ? Is there any tool ? I used tusc, but it doesn't give the trap information. Any idea ?&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Fri, 22 Jan 2010 12:55:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569481#M650481</guid>
      <dc:creator>vaibsk</dc:creator>
      <dc:date>2010-01-22T12:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569482#M650482</link>
      <description>I would think Caliper would be a good place to start. &lt;A href="http://www.hp.com/go/caliper" target="_blank"&gt;http://www.hp.com/go/caliper&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Might want to read over &lt;A href="http://h21007.www2.hp.com/portal/download/files/unprot/caliper/caliper_5.1/caliper_user_guide.pdf" target="_blank"&gt;http://h21007.www2.hp.com/portal/download/files/unprot/caliper/caliper_5.1/caliper_user_guide.pdf&lt;/A&gt; first (searching for "traps" ought to help you narrow down your plan of attack here).</description>
      <pubDate>Fri, 22 Jan 2010 14:11:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569482#M650482</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2010-01-22T14:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Integrity alignment traps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569483#M650483</link>
      <description>&lt;P&gt;Did it say what type of traps?&lt;BR /&gt;Typically on HP-UX, one trap and your application aborts.&lt;BR /&gt;The traps where are it continues are either:&lt;BR /&gt;1) Some type of signals with a handler&lt;BR /&gt;&lt;BR /&gt;2) Denorm traps for very small floating point values. Do you have any floating point?&lt;BR /&gt;I had an application where it slowed because of these and we couldn't see gpm's warning about too many traps because we had the window going off the screen to the right. :-(&lt;BR /&gt;Linking with +FPD, will cause these to quickly flush to zero. (We thought we did that but only had +FPD at compile time.)&lt;BR /&gt;&lt;BR /&gt;3) Alignment traps. This will kill you too.&lt;BR /&gt;&lt;BR /&gt;As Don says, caliper should help.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 19:06:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569483#M650483</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-08-20T19:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569484#M650484</link>
      <description>Thanks for your replies.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, the processor I have in my doesn't support the caliper traps :(&lt;BR /&gt;&lt;BR /&gt;sawbuck # caliper traps date&lt;BR /&gt;HP Caliper: usage error:&lt;BR /&gt;  The 'traps' measurement is only supported on Montecito processors.&lt;BR /&gt;  Run caliper -H for help.&lt;BR /&gt;&lt;BR /&gt;This is the processor information&lt;BR /&gt;CPU info:&lt;BR /&gt;   Number of CPUs = 4&lt;BR /&gt;   Clock speed = 1000 MHz&lt;BR /&gt;   Bus speed   = 400 MT/s&lt;BR /&gt;   CPUID registers&lt;BR /&gt;      vendor information =       "GenuineIntel"&lt;BR /&gt;      processor serial number =  0x0000000000000000&lt;BR /&gt;      processor version info =   0x000000001f000704&lt;BR /&gt;         architecture revision:       0&lt;BR /&gt;         processor family:           31   Intel(R) Itanium 2 Family Processors&lt;BR /&gt;         processor model:             0   Intel(R) Itanium 2 processor&lt;BR /&gt;         processor revision:          7   Stepping B3&lt;BR /&gt;         largest CPUID reg:           4&lt;BR /&gt;      processor capabilities =   0x0000000000000001&lt;BR /&gt;                      implements long branch:  1&lt;BR /&gt;   Bus features&lt;BR /&gt;      implemented =  0xbdf0000060000000&lt;BR /&gt;      selected    =  0x0000000040000000&lt;BR /&gt;         Bus Lock Signal masked&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;From vmstat, I see lot of system calls and interrupts. But, tusc doesn't show the total system calls. Would floating point errors cause number of system calls to go up ?</description>
      <pubDate>Sat, 30 Jan 2010 13:42:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569484#M650484</guid>
      <dc:creator>vaibsk</dc:creator>
      <dc:date>2010-01-30T13:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Integrity alignment traps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569485#M650485</link>
      <description>&lt;P&gt;&amp;gt;the processor I have in my doesn't support the caliper traps&lt;BR /&gt;&lt;BR /&gt;You probably don't need that to find out what type of traps. You need to get a sampling of where you are spending time in the kernel.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Would floating point errors cause number of system calls to go up?&lt;BR /&gt;&lt;BR /&gt;Not system calls, faults. See my 2) above.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 19:06:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569485#M650485</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-08-20T19:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569486#M650486</link>
      <description>Hi Dennis,&lt;BR /&gt;In caliper, I see the following vmlinux modules taking more time. Am I hitting any unaligned data accesses ? I heard of a alignment debugger aldbg, but couldn't find any information on that ? How can I find out the code that is causing these unaligned access ?&lt;BR /&gt;&lt;BR /&gt;vmunix::unaligned_get_gr          unaligned_emu.c&lt;BR /&gt;vmunix::ss_get_rsebs              ss_access.c&lt;BR /&gt;vmunix::bubbleup&lt;BR /&gt;vmunix::pre_hndlr                 hl_ivt.c&lt;BR /&gt;vmunix::post_hndlr                hl_ivt.c&lt;BR /&gt;vmunix::as_ubcopy&lt;BR /&gt;vmunix::int_ldst                  unaligned_emu.c&lt;BR /&gt;vmunix::unaligned_hndlr           hl_ivt.c&lt;BR /&gt;vmunix::ki_accum_pop_TOS          clock_ki.c&lt;BR /&gt;vmunix::ki_accum_push_TOS         clock_ki.c&lt;BR /&gt;vmunix::bubbledown&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Feb 2010 10:48:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569486#M650486</guid>
      <dc:creator>vaibsk</dc:creator>
      <dc:date>2010-02-01T10:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Integrity alignment traps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569487#M650487</link>
      <description>&lt;P&gt;&amp;gt;Am I hitting any unaligned data accesses?&lt;BR /&gt;&amp;gt;vmunix::unaligned_get_gr unaligned_emu.c&lt;BR /&gt;&lt;BR /&gt;It sure looks like it.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;How can I find out the code that is causing these unaligned access?&lt;BR /&gt;&lt;BR /&gt;Don't call allow_unaligned_data_access and you'll abort on the first.&lt;BR /&gt;Basically if the application is calling that function, it should know (and document) where the aligned accesses are.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 19:05:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569487#M650487</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-08-20T19:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX Integrity alignment traps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569488#M650488</link>
      <description>&lt;P&gt;Have you seen the documentation about misaligned data?&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/HTML_Online_Help/pragmas.htm#pragma-pack-ex3"&gt;http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/HTML_Online_Help/pragmas.htm#pragma-pack-ex3&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Basically there are N ways to handle unaligned data&amp;amp;colon;&lt;BR /&gt;1) Abort, default, highest performance.&lt;BR /&gt;2) Explicit copy for alignment&lt;BR /&gt;3) Using pragma pack, compiler handles multiple loads&lt;BR /&gt;4) Using 3) with 6)&lt;BR /&gt;5) Using 3) with 7)&lt;BR /&gt;6) Using pragma unaligned with types.&lt;BR /&gt;7) Using allow_unaligned_data_access&lt;BR /&gt;8) Using +un to assume all pointers are unaligned.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 19:12:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-itanium/m-p/4569488#M650488</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-08-20T19:12:01Z</dc:date>
    </item>
  </channel>
</rss>

