<?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: 64 bits migration = loss of performance on HPUX 11.00 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965662#M815232</link>
    <description>I would follow everthing above make sure I've got performance patches in and....&lt;BR /&gt;&lt;BR /&gt;Collect some performance data looking for bottlenecks... script attached.&lt;BR /&gt;&lt;BR /&gt;and ...&lt;BR /&gt;&lt;BR /&gt;If your application uses random number generation, this software might help, though its really a security item.&lt;BR /&gt;&lt;BR /&gt;random number generator&lt;BR /&gt;&lt;A href="http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=KRNG11I" target="_blank"&gt;http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=KRNG11I&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If your application uses scp/sftp/ssh Secure Shell 3.5 might help.&lt;BR /&gt;&lt;BR /&gt;Secure Shell: a replacement for rcp ftp and telnet that encrypts passwords&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA" target="_blank"&gt;http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There is a known problem with the depot for 11.00, if you need that, contact support for a usuable depot.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 05 May 2003 20:53:11 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-05-05T20:53:11Z</dc:date>
    <item>
      <title>64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965654#M815224</link>
      <description>Hi,&lt;BR /&gt;For benchmark purpose I compared My application compiled either with:&lt;BR /&gt;32 bits :&lt;BR /&gt;/opt/aCC/bin/aCC  +O2 +Olibcalls +Oregionsched +Odataprefetch +Oentrysched +Oprocelim +nrv  -I/home/TANGO/STLport/stlport  -D__unix__ -D__hpux__  -Wl,+s -Wl,+blib +z +Z  -mt -AA -ext +DA2.0 +W829,921,652  &lt;BR /&gt;&lt;BR /&gt;64 bits :&lt;BR /&gt;/opt/aCC/bin/aCC  +O2 +Olibcalls +Oregionsched +Odataprefetch +Oentrysched +Oprocelim +nrv  -I/home/TANGO/STLport64/stlport  -D__unix__ -D__hpux__  -Wl,+s -Wl,+blib +z +Z  -mt -AA -ext +DA2.0W +W829,921,652&lt;BR /&gt;&lt;BR /&gt;And the result is that the 64 bits version is slower (10%) than the 32 bits version.&lt;BR /&gt;&lt;BR /&gt;Did I miss something in the way I compile?&lt;BR /&gt;Anyboy has an explanation?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;Laurent</description>
      <pubDate>Mon, 05 May 2003 11:44:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965654#M815224</guid>
      <dc:creator>Laurent Laperrousaz</dc:creator>
      <dc:date>2003-05-05T11:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965655#M815225</link>
      <description>Most 64bit apps will take longer to restart, because they have more to initialize.&lt;BR /&gt;&lt;BR /&gt;Unless you need the larger address space, or you have to link to 64bit libraries, I can see next to no reasons to use 64bit apps.&lt;BR /&gt;&lt;BR /&gt;Good reasons to use 64bit apps:&lt;BR /&gt;?? Your app needs more than 2Gb address space&lt;BR /&gt;?? Your app needs 64bit integers&lt;BR /&gt;?? You have to link to 64bit libs (Oracle/64)&lt;BR /&gt;&lt;BR /&gt;If all you want is performance gain, this is not the path to walk&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Mon, 05 May 2003 12:01:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965655#M815225</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-05-05T12:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965656#M815226</link>
      <description>64 bit can be slower depending on what you are doing&lt;BR /&gt;&lt;BR /&gt;Remember that it is now fetching 2 times more data for each instruction load from memory, then the decode of the instruction has to happen and then the execution of each instruction is close to the same, some are faster, some are slower.&lt;BR /&gt;&lt;BR /&gt;64 bit is much better if you have to access more memory or more data than can be accessed with 32 bit&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 May 2003 12:02:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965656#M815226</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2003-05-05T12:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965657#M815227</link>
      <description>The reason why I tested 64 bits compiled application is that I am searching ways to enhance the dramatic slowness of my Application on HPUX.&lt;BR /&gt;It is 10 times slower than on Linux and AIX. (it's a multi-process/multithreaded application. inter-process communication is handled via IP sockets).&lt;BR /&gt;So, I'm trying anything that could burst the application!&lt;BR /&gt;&lt;BR /&gt;...</description>
      <pubDate>Mon, 05 May 2003 12:59:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965657#M815227</guid>
      <dc:creator>Laurent Laperrousaz</dc:creator>
      <dc:date>2003-05-05T12:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965658#M815228</link>
      <description>Your 10% loss is about typical. Most UNIX processes are not CPU bound but rather I/O bound so that the differences between 32-bit and 64-bit performance are barely noticeable. You should not think of 64-bit as a performance booster but rather a resource enhancer. It's onl;y in the case where an application can make use of extremely large data structures (e.g. caches) that 64-bit code outperforms 32-bit code.&lt;BR /&gt;&lt;BR /&gt;As for why your performance is an order of magnitude slower on HP-UX, I suspect it's a difference in the socket implementation. I suggest that your use Glance to examine the process to see where (which system call(s)) are causing the bottleneck(s).&lt;BR /&gt;</description>
      <pubDate>Mon, 05 May 2003 13:09:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965658#M815228</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-05-05T13:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965659#M815229</link>
      <description>truss and tusc may be handy there too.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.3/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.3/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Mon, 05 May 2003 13:50:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965659#M815229</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-05-05T13:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965660#M815230</link>
      <description>I also suspect sockets and I am working on FIFO and/or semaphore+shared memory  communication. &lt;BR /&gt;&lt;BR /&gt;I use Glance to monitor the bottleneck. the most called system call is sched_yield (multi-thread version)&lt;BR /&gt;&lt;BR /&gt;I also had to change STL (I use STLport) which gave me 30 % enhancement on the CPU consumption.&lt;BR /&gt;&lt;BR /&gt;I also tried to compile in PBO mode but I never succeeded to generate the profile for the final step of compiling! and I don't think that could really increase more than 10 % the performance level!&lt;BR /&gt;&lt;BR /&gt;Do you agree ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 May 2003 14:30:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965660#M815230</guid>
      <dc:creator>Laurent Laperrousaz</dc:creator>
      <dc:date>2003-05-05T14:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965661#M815231</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Performanceproblems could also be a question&lt;BR /&gt;of patches.&lt;BR /&gt;Do you have the latest patches installed on&lt;BR /&gt;the system?&lt;BR /&gt;Several patches related to  threads  fix&lt;BR /&gt;problems with  performance.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Olav</description>
      <pubDate>Mon, 05 May 2003 17:36:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965661#M815231</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2003-05-05T17:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965662#M815232</link>
      <description>I would follow everthing above make sure I've got performance patches in and....&lt;BR /&gt;&lt;BR /&gt;Collect some performance data looking for bottlenecks... script attached.&lt;BR /&gt;&lt;BR /&gt;and ...&lt;BR /&gt;&lt;BR /&gt;If your application uses random number generation, this software might help, though its really a security item.&lt;BR /&gt;&lt;BR /&gt;random number generator&lt;BR /&gt;&lt;A href="http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=KRNG11I" target="_blank"&gt;http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=KRNG11I&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If your application uses scp/sftp/ssh Secure Shell 3.5 might help.&lt;BR /&gt;&lt;BR /&gt;Secure Shell: a replacement for rcp ftp and telnet that encrypts passwords&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA" target="_blank"&gt;http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There is a known problem with the depot for 11.00, if you need that, contact support for a usuable depot.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 05 May 2003 20:53:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965662#M815232</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-05-05T20:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965663#M815233</link>
      <description>I've had one other thought - check the 'timeslice' parameter. It's possible that someone has set it to a very small value (&amp;lt; 5) and that can lead to exactly the situation that you are seeing - especially if it's set to 1. Set it to 10 and leave it there.&lt;BR /&gt;Check for patches but I would much rather get some data about where the bottlenecks lie before skewing the data too much.</description>
      <pubDate>Mon, 05 May 2003 21:16:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965663#M815233</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-05-05T21:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965664#M815234</link>
      <description>As mentioned, 64bit code is not going to be faster than 32bit code, so if you do not need the addressing space, stay with 32bit. However, there have been a number of issues with threading, especially in a multi-processor system. Make sure your machine is up to date on all patches. The SupportPlus bundle of hardware (HWE) and software (QPK) patches should both be installed. Get the patch bundles from:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.software.hp.com/SUPPORT_PLUS/" target="_blank"&gt;http://www.software.hp.com/SUPPORT_PLUS/&lt;/A&gt;</description>
      <pubDate>Tue, 06 May 2003 00:52:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965664#M815234</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-05-06T00:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965665#M815235</link>
      <description>It seems really suspicious that the most common system call is sched_yield.  I would expect that most system calls would be blocking calls.  A frequent use of sched_yield would indicate that some threads are doing busy waiting, using only sched_yield instead of a proper blocking call.  That is a dangerous path, leading to thread starvation and excessive load on the entire system.  You should consider where and when you are calling sched_yield.  Perhaps you could use a debugger with a breakpoint on sched_yield if you are not familiar with all the application/library code.&lt;BR /&gt;For another view of where the time goes, you could use the prospect program profiler.  It is very strong at showing where CPU time is spent, but it will also show which system calls are responsible for most of the blocked time.  It is available from &lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,3282,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,3282,00.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 May 2003 01:24:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965665#M815235</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-05-06T01:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965666#M815236</link>
      <description>Thanks to everyone who took time to answer.&lt;BR /&gt;&lt;BR /&gt;-32 bits against 64 bits:&lt;BR /&gt;I definitly stopped thinking of 64bits migration even using Oracle because Oracle provides a 32bits version of OCI9 libraries.&lt;BR /&gt;&lt;BR /&gt;- patches: We applied last patches specially those about mutli-threading.&lt;BR /&gt;&lt;BR /&gt;- time_slice: I knew about this item and it has been checked and it's ok (10)&lt;BR /&gt;&lt;BR /&gt;- sched_yield: we use a lot of rwlock and mutexes and I think this is the reason why we have so many sched_yield calls.&lt;BR /&gt;&lt;BR /&gt;- I will try the propect program profiler and let you know about the results&lt;BR /&gt;&lt;BR /&gt;Another system call very often called is get_time_of_day because the application keep track of time spent in every step of the transactions but it seems that this call is not costly...&lt;BR /&gt;&lt;BR /&gt;to be followed!</description>
      <pubDate>Tue, 06 May 2003 06:26:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965666#M815236</guid>
      <dc:creator>Laurent Laperrousaz</dc:creator>
      <dc:date>2003-05-06T06:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965667#M815237</link>
      <description>time spent in a process (thread) is lest costly asked by using 'times ()'&lt;BR /&gt;&lt;BR /&gt; times(2)                                                           times(2)&lt;BR /&gt;&lt;BR /&gt; NAME&lt;BR /&gt;      times - get process and child process times&lt;BR /&gt;&lt;BR /&gt; SYNOPSIS&lt;BR /&gt;      #include &lt;SYS&gt;&lt;BR /&gt;&lt;BR /&gt;      clock_t times(struct tms *buffer);&lt;BR /&gt;&lt;BR /&gt; DESCRIPTION&lt;BR /&gt;      times() fills the structure pointed to by buffer with time-accounting&lt;BR /&gt;      information.  The structure defined in &lt;SYS&gt; is as follows:&lt;BR /&gt;&lt;BR /&gt;           struct tms {&lt;BR /&gt;               clock_t     tms_utime;      /* user time */&lt;BR /&gt;               clock_t     tms_stime;      /* system time */"&lt;BR /&gt;               clock_t     tms_cutime;     /* user time, children */&lt;BR /&gt;               clock_t     tms_cstime;     /* system time, children */&lt;BR /&gt;           };&lt;BR /&gt;&lt;BR /&gt;      This information comes from the calling process and each of its&lt;BR /&gt;      terminated child processes for which it has executed a wait(),&lt;BR /&gt;      wait3(), or waitpid().  The times are in units of 1/CLK_TCK seconds,&lt;BR /&gt;      where CLK_TCK is processor dependent The value of CLK_TCK can be&lt;BR /&gt;      queried using the sysconf() function (see sysconf(2)).&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn&lt;/SYS&gt;&lt;/SYS&gt;</description>
      <pubDate>Tue, 06 May 2003 07:37:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965667#M815237</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-05-06T07:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965668#M815238</link>
      <description>I just read this on "dutchworks.nl" hpux email group:&lt;BR /&gt;&lt;BR /&gt;Make sure you have PHCO_26960 installed&lt;BR /&gt;and set the following environment varialble PTHREAD_DISABLE_HANDOFF=3DON&lt;BR /&gt;(as described in the patch text)&lt;BR /&gt;Make sure it is in /etc/profile as Java scripts work with posix shells=20&lt;BR /&gt;&lt;BR /&gt;This patch has a significant - positive - impact on threaded =&lt;BR /&gt;applications performance&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 May 2003 11:47:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965668#M815238</guid>
      <dc:creator>Stuart Abramson_2</dc:creator>
      <dc:date>2003-05-06T11:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965669#M815239</link>
      <description>I have the PCO_26960 patch installed. I even tried to use the calls suggested in the description of the correction but in fact the patch does not contain the thread.h with the new prototypes... I declared them in my own file but the entries are missing in the libpthread&lt;BR /&gt;&lt;BR /&gt;Anyway i set the PTHREAD_DISABLE_HANDOFF=ON&lt;BR /&gt;and it had no effect at all!...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 May 2003 14:43:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965669#M815239</guid>
      <dc:creator>Laurent Laperrousaz</dc:creator>
      <dc:date>2003-05-06T14:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965670#M815240</link>
      <description>Depending on the application and what else is going-on, PBO could boost by 10% or more.  IIRC, it requires a "clean" termination of the application to get the flow.data file written.&lt;BR /&gt;&lt;BR /&gt;There are some writeups on improving BIND performance:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://ftp.cup.hp.com/dist/networking/briefs/" target="_blank"&gt;ftp://ftp.cup.hp.com/dist/networking/briefs/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;that while not directly applicable, the methodologies may apply.  In this day and age, the references to puma and its profiles should be replaced with something like prospect - &lt;A href="http://www.hp.com/go/prospect" target="_blank"&gt;http://www.hp.com/go/prospect&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;High sched_yield() could indeed be poor thread synchronization design - it could also mean some non-trivial mutex contention.  By default the pthread_mutex_lock call will "spin" for a short time while trying to acquire a lock (the spinning being cheaper than a full sleep/wakup path.  If the trhead is making several sched_yield() calls in a row just pior to calling ksleep() in a tusc trace (remember to use the -l option to display lwpids !-) (or you notice something like a 5 or 7 to one ratio between kspeep and sched_yield in glance) it suggests lock contention.  You will then later see some other thread calling kwakeup() with similar arguments to the ksleep() call.  One of those is the address of the mutex, which you could use to track-down the mutexes with contention. One of these days we'll have to get a mutex lock contention tool out there to the world at large...&lt;BR /&gt;&lt;BR /&gt;IIRC, default for the compiler is to compile for the architecture (eg PA2.0) on which the compile takes place.  The "best" way to ask for 64-bit these days is to use +DD64 - that way you will have one less thing to remember when you migrate to IPF.&lt;BR /&gt;&lt;BR /&gt;Another possibly useful tool would be pi (&lt;A href="ftp://ftp.cup.hp.com/dist/networking/tools/)" target="_blank"&gt;ftp://ftp.cup.hp.com/dist/networking/tools/)&lt;/A&gt; which can be used to display things like tlbmiss rates and cache miss rates and the like.  If you see more than a fraction of a percent in handling tlbmisses then you may want to chatr your binary for a larger page size (see the chatr manpage) &lt;BR /&gt;&lt;BR /&gt;You can probably also notice an increase in cache misses when you go to 64-bit from 32-bit, reflecting the increased size of pointers, and so the use of a larger number of cache lines.  Some of that can be mitigated if you make sure your structures are layed-out well for 64 bit and don't leave unused holes.  Typically, that means putting the pointers and longs (8 byte quantities in 64-bit) first, then the ints, then the shorts etc.  If you put say the ints first, and only have three ints in the struct, followed by a pointer, there will be a four-byte "hole" between the third int and the pointer - longs and pointers in LP64 have to be on an eight byte boundary, and IIRC, structs get aligned on the most restrictive alignment of their members.&lt;BR /&gt;&lt;BR /&gt;As for sockets performance, you can check that independent of your application by using netperf - &lt;A href="http://www.netperf.org/" target="_blank"&gt;http://www.netperf.org/&lt;/A&gt; and compare across your platforms.&lt;BR /&gt;&lt;BR /&gt;Also keep in mind to compare the "raw" horsepower of all the systems you are using.  If you don't do much floating point, you might normalize your results to SPECint2000.  PA2.0 systems can run the gamut from anchient and slow 160 MHz boxes to current generation 875 MHz systems.&lt;BR /&gt;&lt;BR /&gt;And as aways, those suggestions to be up on the latest patches - especially the ones talking about thread performance - is goodness.</description>
      <pubDate>Tue, 06 May 2003 16:34:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965670#M815240</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2003-05-06T16:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965671#M815241</link>
      <description>Laurent,&lt;BR /&gt;&lt;BR /&gt;as a side note:&lt;BR /&gt;&lt;BR /&gt;You said "communication is handled via IP sockets". &lt;BR /&gt;&lt;BR /&gt;Are you by any chance running BIND aka DNS aka named on your HPux box or have your resolv.conf file pointing to DNS name servers ?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 06 May 2003 18:13:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965671#M815241</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2003-05-06T18:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965672#M815242</link>
      <description>I enjoy reading your answers!&lt;BR /&gt;even if they are sometimes reminding me some "already known statements" but Magic does exist only in films or fairy tales...&lt;BR /&gt;&lt;BR /&gt;Anyway!&lt;BR /&gt; to Harry:&lt;BR /&gt;connections are permanent on my application and we essentially use localhost and defined ports (added in /etc/services). No DNS access is necessary.&lt;BR /&gt;&lt;BR /&gt;The real issue is the amazing difference of CPU usage between HPUX implementation and others like AIX 4.3 and Linux...&lt;BR /&gt;&lt;BR /&gt;to Rick:&lt;BR /&gt;&lt;BR /&gt;BEcause you are from HP maybe you can explain me why I could not use the facility PTHREAD_DISABLE_HANDOFF or the associated calls while PCO_26960 is available on our boxes?</description>
      <pubDate>Wed, 07 May 2003 06:26:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965672#M815242</guid>
      <dc:creator>Laurent Laperrousaz</dc:creator>
      <dc:date>2003-05-07T06:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: 64 bits migration = loss of performance on HPUX 11.00</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965673#M815243</link>
      <description>I'm afraid I'm not familliar with that PTHREAD_DISABLE_HANDOFF feature.&lt;BR /&gt;&lt;BR /&gt;As for CPU util differences, don't forget to account for relative raw horsepower when comparing with other system/OS combinations.&lt;BR /&gt;&lt;BR /&gt;Those tools mentioned earlier may help find some simple bottleneck that could be improved.</description>
      <pubDate>Wed, 07 May 2003 17:17:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/64-bits-migration-loss-of-performance-on-hpux-11-00/m-p/2965673#M815243</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2003-05-07T17:17:27Z</dc:date>
    </item>
  </channel>
</rss>

