<?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 Spawning more than default thread from a c++ program in hpux parisc in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/spawning-more-than-default-thread-from-a-c-program-in-hpux/m-p/5230557#M468360</link>
    <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;I am writing a multi threaded program and run it in hpux PARISC 11.23 machine. I see that there is a limitation of spawning 64 threads by default in a process in PARISC but we dont have such limitation in HPUX Itanium where i can even spawn 200 threads from one process without any problem. But when i run the same program compiled on hpux parisc on hpux itanium then i am not able to spawn more than 64 threads (this run under HP ARIES32 emulation).&lt;BR /&gt;Can someone help me to understand why is this behavior and how can i overcome this.&lt;BR /&gt;&lt;BR /&gt;Note: I am compiling my program using aCC compiler, so if any compile time flag can help here please do let me know&lt;BR /&gt;Thanks for the help in advance.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rakesh</description>
    <pubDate>Wed, 17 Mar 2010 12:55:21 GMT</pubDate>
    <dc:creator>rakeshcs123</dc:creator>
    <dc:date>2010-03-17T12:55:21Z</dc:date>
    <item>
      <title>Spawning more than default thread from a c++ program in hpux parisc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spawning-more-than-default-thread-from-a-c-program-in-hpux/m-p/5230557#M468360</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;I am writing a multi threaded program and run it in hpux PARISC 11.23 machine. I see that there is a limitation of spawning 64 threads by default in a process in PARISC but we dont have such limitation in HPUX Itanium where i can even spawn 200 threads from one process without any problem. But when i run the same program compiled on hpux parisc on hpux itanium then i am not able to spawn more than 64 threads (this run under HP ARIES32 emulation).&lt;BR /&gt;Can someone help me to understand why is this behavior and how can i overcome this.&lt;BR /&gt;&lt;BR /&gt;Note: I am compiling my program using aCC compiler, so if any compile time flag can help here please do let me know&lt;BR /&gt;Thanks for the help in advance.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rakesh</description>
      <pubDate>Wed, 17 Mar 2010 12:55:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spawning-more-than-default-thread-from-a-c-program-in-hpux/m-p/5230557#M468360</guid>
      <dc:creator>rakeshcs123</dc:creator>
      <dc:date>2010-03-17T12:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Spawning more than default thread from a c++ program in hpux parisc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spawning-more-than-default-thread-from-a-c-program-in-hpux/m-p/5230558#M468361</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;PA-RISC processors do not implement  symmetric multi-threading (SMT).&lt;BR /&gt;&lt;BR /&gt;You would get get the same number of threads of execution as your number of cores enabled on your PA-RISC server.&lt;BR /&gt;&lt;BR /&gt;So 64 cores, would let you run only 64 threads.&lt;BR /&gt;&lt;BR /&gt;Horia.</description>
      <pubDate>Wed, 17 Mar 2010 13:05:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spawning-more-than-default-thread-from-a-c-program-in-hpux/m-p/5230558#M468361</guid>
      <dc:creator>Horia Chirculescu</dc:creator>
      <dc:date>2010-03-17T13:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Spawning more than default thread from a c++ program in hpux parisc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spawning-more-than-default-thread-from-a-c-program-in-hpux/m-p/5230559#M468362</link>
      <description>Thanks for the reply.&lt;BR /&gt;but i see that there is certain flags that allows us to change the number of threads per process in PA-RISC as well. For example&lt;BR /&gt;/usr/sbin/kctune -q max_thread_proc&lt;BR /&gt;above command tells the maximum number of threads per process allowed.&lt;BR /&gt;which i can set to my required number using  below command &lt;BR /&gt;/usr/sbin/kctune -s max_thread_proc=$REQUIRED_NUMBER_OF_THREADS&lt;BR /&gt;&lt;BR /&gt;but in hpux itanium i already have set this to high value which works for hpux itanium compiled binaries but is not working for hpux parisc compiled binaries&lt;BR /&gt;&lt;BR /&gt;So if someone can shed some light on how to enable more threads per process on for hpux parisc compiled binaries on hpux itanium then that will help me a lot.&lt;BR /&gt;&lt;BR /&gt;Thanks for the help in advance.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rakesh</description>
      <pubDate>Wed, 17 Mar 2010 13:20:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spawning-more-than-default-thread-from-a-c-program-in-hpux/m-p/5230559#M468362</guid>
      <dc:creator>rakeshcs123</dc:creator>
      <dc:date>2010-03-17T13:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Spawning more than default thread from a c++ program in hpux parisc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spawning-more-than-default-thread-from-a-c-program-in-hpux/m-p/5230560#M468363</link>
      <description>on PA system kctune max_thread_proc limit the number of thread/process.... it can be more than 64&lt;BR /&gt;&lt;BR /&gt;over ARIES if you have  patch  PHCO_36445 you have options documented to increase the number of threads&lt;BR /&gt;&lt;BR /&gt;    A PA-RISC application can create a maximum of 85 threads under 32-bit&lt;BR /&gt;      ARIES and 438 threads under 64-bit ARIES with the default values of&lt;BR /&gt;      ARIES options and the kernel tunable parameters, pa_maxssiz_32bit and&lt;BR /&gt;      pa_maxssiz_64bit.&lt;BR /&gt;&lt;BR /&gt;      Make sure that the kernel tunable parameter max_thread_proc value is&lt;BR /&gt;      sufficiently large to create the required number of threads.&lt;BR /&gt;&lt;BR /&gt;      Increase the value of ARIES option -heap_ssz if your application&lt;BR /&gt;      requires more number of threads than allowed by default under ARIES.&lt;BR /&gt;&lt;BR /&gt;      NOTE: The free memory in AMA is not automatically used for application&lt;BR /&gt;      stack or ARIES heap.  Appropriate ARIES option must be specified to&lt;BR /&gt;      change the size of particular memory area in AMA.&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Mar 2010 13:40:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spawning-more-than-default-thread-from-a-c-program-in-hpux/m-p/5230560#M468363</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2010-03-17T13:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Spawning more than default thread from a c++ program in hpux parisc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spawning-more-than-default-thread-from-a-c-program-in-hpux/m-p/5230561#M468364</link>
      <description>&amp;gt;I am compiling my program using aCC compiler, so if any compile time flag&lt;BR /&gt;&lt;BR /&gt;There is only -mt.&lt;BR /&gt;Any reason you are using Aries rather than recompiling on Integrity?</description>
      <pubDate>Wed, 17 Mar 2010 14:39:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spawning-more-than-default-thread-from-a-c-program-in-hpux/m-p/5230561#M468364</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-03-17T14:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Spawning more than default thread from a c++ program in hpux parisc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/spawning-more-than-default-thread-from-a-c-program-in-hpux/m-p/5230562#M468365</link>
      <description>&lt;!--!*#--&gt;Thanks everybody for providing input on this.&lt;BR /&gt;I was able to create multiple threads after increasing the heap size of the ARIES32 using parameter -heap_ssz in the resource file, which can be done only after increasing the value of kernel tunable parameter pa_maxssiz_32bit.&lt;BR /&gt;&lt;BR /&gt;please go through link &lt;A href="http://docs.hp.com/en/B2355-60105/Aries.5.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60105/Aries.5.html&lt;/A&gt; for more information.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rakesh</description>
      <pubDate>Tue, 23 Mar 2010 05:41:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/spawning-more-than-default-thread-from-a-c-program-in-hpux/m-p/5230562#M468365</guid>
      <dc:creator>rakeshcs123</dc:creator>
      <dc:date>2010-03-23T05:41:14Z</dc:date>
    </item>
  </channel>
</rss>

