<?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 A trouble with program performance in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327152#M683633</link>
    <description>Dear friends:&lt;BR /&gt; When I run the same C++ program in machine A and B and C.First,A and B completed in 7 hours,C completed in 8 hours.But after about 10 days,A and B used 14 hours or more then,and C still completed in 8 hours.&lt;BR /&gt; After about 10 days,restarted B,then B will complet about in 7 hours.But run the program tomorrow,the trouble still happened.&lt;BR /&gt; This program used maccloc() frequently.&lt;BR /&gt; So I checked program’s config file,check the program’s size,check the program version,check .profile,all same!&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;A,B machinfo &lt;BR /&gt;&lt;BR /&gt;CPU info:&lt;BR /&gt;   Number of CPUs = 8&lt;BR /&gt;   Clock speed = 1100 MHz&lt;BR /&gt;   Bus speed   = 400 MT/s&lt;BR /&gt;&lt;BR /&gt;Cache info:&lt;BR /&gt;   L1 Instruction: size =   16 KB, associativity = 4&lt;BR /&gt;   L1 Data:        size =   16 KB, associativity = 4&lt;BR /&gt;   L2 Unified:     size =  256 KB, associativity = 8&lt;BR /&gt;   L3 Unified:     size = 4096 KB, associativity = 16&lt;BR /&gt;&lt;BR /&gt;Memory = 24562 MB (23.986328 GB)&lt;BR /&gt;&lt;BR /&gt;OS info:&lt;BR /&gt;   sysname  = HP-UX&lt;BR /&gt;   release  = B.11.23&lt;BR /&gt;   version  = U (unlimited-user license)&lt;BR /&gt;   machine  = ia64&lt;BR /&gt;   vmunix _release_version:               &lt;BR /&gt;@(#) $Revision: vmunix:    B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $&lt;BR /&gt;----------------------------------------&lt;BR /&gt;C machinfo&lt;BR /&gt;CPU info:&lt;BR /&gt;   Number of CPUs = 8&lt;BR /&gt;   Clock speed = 1595 MHz&lt;BR /&gt;   Bus speed   = 532 MT/s&lt;BR /&gt; &lt;BR /&gt;Cache info (per core):&lt;BR /&gt;   L1 Instruction: size =   16 KB, associativity = 4&lt;BR /&gt;   L1 Data:        size =   16 KB, associativity = 4&lt;BR /&gt;   L2 Instruction: size = 1024 KB, associativity = 8&lt;BR /&gt;   L2 Data:        size =  256 KB, associativity = 8&lt;BR /&gt;   L3 Unified:     size = 9216 KB, associativity = 9&lt;BR /&gt;&lt;BR /&gt;Memory = 16350 MB (15.966797 GB)&lt;BR /&gt;&lt;BR /&gt;OS info:&lt;BR /&gt;   sysname  = HP-UX&lt;BR /&gt;   release  = B.11.23&lt;BR /&gt;   version  = U (unlimited-user license)&lt;BR /&gt;   machine  = ia64&lt;BR /&gt;   vmunix _release_version:               &lt;BR /&gt;@(#) $Revision: vmunix:    B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;sar –ud 2 1000&lt;BR /&gt;          c9t0d0    1.99    0.50      53     385    0.00    0.69&lt;BR /&gt;10:02:59      15      23      47      14&lt;BR /&gt;           c2t1d0  100.00   65.20     428   21985   80.39   16.69&lt;BR /&gt;           c9t0d0    4.00    0.50      62     565    0.00    0.94&lt;BR /&gt;10:03:01      16      15      52      18&lt;BR /&gt;           c2t1d0  100.00  103.83     516   23574   68.59   14.48&lt;BR /&gt;           c9t0d0    4.02    0.50      52     365    0.00    1.00&lt;BR /&gt;10:03:03      12      26      34      28&lt;BR /&gt;           c2t1d0   99.50  107.61     392   15385  111.80   16.61&lt;BR /&gt;           c9t0d0    3.00    0.50      53     398    0.00    0.85&lt;BR /&gt;10:03:05      14      32      33      22&lt;BR /&gt;           c2t1d0   94.97    9.07     238   17148   25.69   24.20&lt;BR /&gt;           c9t0d0    5.03    0.55      59     712    0.22    2.40&lt;BR /&gt;10:03:07      16      24      46      13&lt;BR /&gt;           c2t1d0   99.50   78.81     480   26205   73.25   14.05&lt;BR /&gt;           c9t0d0    1.99    0.50      49     381    0.00    0.66&lt;BR /&gt;--------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;    I hope somebody can help me.&lt;BR /&gt;    Thanks!&lt;BR /&gt;</description>
    <pubDate>Mon, 22 Dec 2008 07:00:05 GMT</pubDate>
    <dc:creator>xinm</dc:creator>
    <dc:date>2008-12-22T07:00:05Z</dc:date>
    <item>
      <title>A trouble with program performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327152#M683633</link>
      <description>Dear friends:&lt;BR /&gt; When I run the same C++ program in machine A and B and C.First,A and B completed in 7 hours,C completed in 8 hours.But after about 10 days,A and B used 14 hours or more then,and C still completed in 8 hours.&lt;BR /&gt; After about 10 days,restarted B,then B will complet about in 7 hours.But run the program tomorrow,the trouble still happened.&lt;BR /&gt; This program used maccloc() frequently.&lt;BR /&gt; So I checked program’s config file,check the program’s size,check the program version,check .profile,all same!&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;A,B machinfo &lt;BR /&gt;&lt;BR /&gt;CPU info:&lt;BR /&gt;   Number of CPUs = 8&lt;BR /&gt;   Clock speed = 1100 MHz&lt;BR /&gt;   Bus speed   = 400 MT/s&lt;BR /&gt;&lt;BR /&gt;Cache info:&lt;BR /&gt;   L1 Instruction: size =   16 KB, associativity = 4&lt;BR /&gt;   L1 Data:        size =   16 KB, associativity = 4&lt;BR /&gt;   L2 Unified:     size =  256 KB, associativity = 8&lt;BR /&gt;   L3 Unified:     size = 4096 KB, associativity = 16&lt;BR /&gt;&lt;BR /&gt;Memory = 24562 MB (23.986328 GB)&lt;BR /&gt;&lt;BR /&gt;OS info:&lt;BR /&gt;   sysname  = HP-UX&lt;BR /&gt;   release  = B.11.23&lt;BR /&gt;   version  = U (unlimited-user license)&lt;BR /&gt;   machine  = ia64&lt;BR /&gt;   vmunix _release_version:               &lt;BR /&gt;@(#) $Revision: vmunix:    B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $&lt;BR /&gt;----------------------------------------&lt;BR /&gt;C machinfo&lt;BR /&gt;CPU info:&lt;BR /&gt;   Number of CPUs = 8&lt;BR /&gt;   Clock speed = 1595 MHz&lt;BR /&gt;   Bus speed   = 532 MT/s&lt;BR /&gt; &lt;BR /&gt;Cache info (per core):&lt;BR /&gt;   L1 Instruction: size =   16 KB, associativity = 4&lt;BR /&gt;   L1 Data:        size =   16 KB, associativity = 4&lt;BR /&gt;   L2 Instruction: size = 1024 KB, associativity = 8&lt;BR /&gt;   L2 Data:        size =  256 KB, associativity = 8&lt;BR /&gt;   L3 Unified:     size = 9216 KB, associativity = 9&lt;BR /&gt;&lt;BR /&gt;Memory = 16350 MB (15.966797 GB)&lt;BR /&gt;&lt;BR /&gt;OS info:&lt;BR /&gt;   sysname  = HP-UX&lt;BR /&gt;   release  = B.11.23&lt;BR /&gt;   version  = U (unlimited-user license)&lt;BR /&gt;   machine  = ia64&lt;BR /&gt;   vmunix _release_version:               &lt;BR /&gt;@(#) $Revision: vmunix:    B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;sar –ud 2 1000&lt;BR /&gt;          c9t0d0    1.99    0.50      53     385    0.00    0.69&lt;BR /&gt;10:02:59      15      23      47      14&lt;BR /&gt;           c2t1d0  100.00   65.20     428   21985   80.39   16.69&lt;BR /&gt;           c9t0d0    4.00    0.50      62     565    0.00    0.94&lt;BR /&gt;10:03:01      16      15      52      18&lt;BR /&gt;           c2t1d0  100.00  103.83     516   23574   68.59   14.48&lt;BR /&gt;           c9t0d0    4.02    0.50      52     365    0.00    1.00&lt;BR /&gt;10:03:03      12      26      34      28&lt;BR /&gt;           c2t1d0   99.50  107.61     392   15385  111.80   16.61&lt;BR /&gt;           c9t0d0    3.00    0.50      53     398    0.00    0.85&lt;BR /&gt;10:03:05      14      32      33      22&lt;BR /&gt;           c2t1d0   94.97    9.07     238   17148   25.69   24.20&lt;BR /&gt;           c9t0d0    5.03    0.55      59     712    0.22    2.40&lt;BR /&gt;10:03:07      16      24      46      13&lt;BR /&gt;           c2t1d0   99.50   78.81     480   26205   73.25   14.05&lt;BR /&gt;           c9t0d0    1.99    0.50      49     381    0.00    0.66&lt;BR /&gt;--------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;    I hope somebody can help me.&lt;BR /&gt;    Thanks!&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2008 07:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327152#M683633</guid>
      <dc:creator>xinm</dc:creator>
      <dc:date>2008-12-22T07:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: A trouble with program performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327153#M683634</link>
      <description>&amp;gt;This program used maccloc()&lt;BR /&gt;&lt;BR /&gt;What does it do?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;But after about 10 days, A and B used 14 hours or more then,&lt;BR /&gt;&lt;BR /&gt;Does C take longer and longer too?&lt;BR /&gt;Do you have a memory leak such that these processes take more and more memory?&lt;BR /&gt;&lt;BR /&gt;Will it be faster if you just restart the application, rather than the whole machine?</description>
      <pubDate>Mon, 22 Dec 2008 12:51:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327153#M683634</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-22T12:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: A trouble with program performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327154#M683635</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; This program used maccloc() frequently.&lt;BR /&gt;&lt;BR /&gt;If you meant 'malloc()' then you should probably look for memory leaks.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 22 Dec 2008 13:02:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327154#M683635</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-12-22T13:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: A trouble with program performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327155#M683636</link>
      <description>Thanks all!&lt;BR /&gt;   I am sorry for typing "maccloc()",it is malloc().&lt;BR /&gt;    to Dennis Handly:&lt;BR /&gt;    C doesn't take longer and longer time.&lt;BR /&gt;    If only restart program,the trouble is still.&lt;BR /&gt;to James R. Ferguson:&lt;BR /&gt;    If memory leak,why C is ok,there are the same program on three machines(A,B,C).</description>
      <pubDate>Mon, 22 Dec 2008 14:16:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327155#M683636</guid>
      <dc:creator>xinm</dc:creator>
      <dc:date>2008-12-22T14:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: A trouble with program performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327156#M683637</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; If memory leak,why C is ok,there are the same program on three machines&lt;BR /&gt;&lt;BR /&gt;Are the three machines identical in terms of patches, particularly in regard to 'libc' patches?  &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2008 14:36:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327156#M683637</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-12-22T14:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: A trouble with program performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327157#M683638</link>
      <description>&amp;gt;If only restart program, the trouble is still.&lt;BR /&gt;&lt;BR /&gt;Still there after a while?  Or right away?&lt;BR /&gt;Hmm, I guess you wouldn't know that unless you monitored the memory size in top.</description>
      <pubDate>Wed, 24 Dec 2008 14:52:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327157#M683638</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-12-24T14:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: A trouble with program performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327158#M683639</link>
      <description>Is this program primarily compute-bound, that is, it does perform a lot of disk or network activity? If there is a lot of disk activity, then the first are to look at is disk performance on the problem server.&lt;BR /&gt; &lt;BR /&gt;The second has to do with installed memory. A and B have 24GB but C has only 16GB. Since the problem doesn't seem to occur on the C machine, what else do you have running on the A and B machines at the same time? Since C is smaller, is it less busy?</description>
      <pubDate>Wed, 24 Dec 2008 17:10:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327158#M683639</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-12-24T17:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: A trouble with program performance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327159#M683640</link>
      <description>One problem that can affect a system over time is fragmentation of memory.  That can happen over a period of minutes, hours, or days, depending on how the system is being used.  It can be much worse if the dbc_max_pct and dbc_min_pct kernel tunables are at different values.  Perhaps your system "C" has those tunables set to the same value.  That would make it would be relatively immune to the effect in contrast to systems "A" and "B".&lt;BR /&gt;&lt;BR /&gt;There can be a performance penalty from having dbc_max_pct different than dbc_min_pct. The dynamic buffer cache has a tendency to use 4K pages which are scattered around physical memory. That can interfere with applications which are trying to use large pages. A large page setting such as "chatr +pd 1M" or "ld +pd 1M" can really improve the performance of programs that jump around accessing data in a large memory region. It reduces the number of TLB misses.&lt;BR /&gt;&lt;BR /&gt;If you are running large processes you should consider using a fixed buffer cache size, and possibly setting the chatr +pd attribute on programs which do not already have it set. (Large pages can increase the amount of RAM a program needs by rounding up to bigger pages, so don't go too far with it.)&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jan 2009 17:06:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-trouble-with-program-performance/m-p/4327159#M683640</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2009-01-14T17:06:34Z</dc:date>
    </item>
  </channel>
</rss>

