<?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: rx3600 has 8 CPUs after installing 83I Update V4.0? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074828#M24900</link>
    <description>Michael,&lt;BR /&gt;  Interesting! &lt;BR /&gt;&lt;BR /&gt;What does:&lt;BR /&gt;&lt;BR /&gt;$ ANALYZE/SYSTEM&lt;BR /&gt;SDA&amp;gt; CLUE CONFIG&lt;BR /&gt;&lt;BR /&gt;say?&lt;BR /&gt;&lt;BR /&gt;$ SHOW CPU/FULL and&lt;BR /&gt;$ SHOW LICENSE/CHARGE&lt;BR /&gt;&lt;BR /&gt;might also be interesting.&lt;BR /&gt;&lt;BR /&gt;Something else worth trying, create a DCL procedure:&lt;BR /&gt;&lt;BR /&gt;$ c=0&lt;BR /&gt;$ loop: c=c+1&lt;BR /&gt;$ IF c.LT.100000000 THEN GOTO loop&lt;BR /&gt;$ LOGOUT/FULL&lt;BR /&gt;&lt;BR /&gt;(or some other suitably large number)&lt;BR /&gt;&lt;BR /&gt;Now submit 8 copies of this procedure at the same time. When they've all completed, compare the total CPU time with the elapsed time.&lt;BR /&gt;</description>
    <pubDate>Wed, 17 Oct 2007 18:13:44 GMT</pubDate>
    <dc:creator>John Gillings</dc:creator>
    <dc:date>2007-10-17T18:13:44Z</dc:date>
    <item>
      <title>rx3600 has 8 CPUs after installing 83I Update V4.0?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074827#M24899</link>
      <description>&lt;!--!*#--&gt;While I like the idea of a free hardware upgrade that comes included with a patch kit, something's definitely not right here.&lt;BR /&gt;&lt;BR /&gt;The HP rx3600 has 2 Itanium dual core chips which should show up as 4 CPUs on VMS.  And SHOW SYSTEM would confirm this, CUR processes would have a CPU numbered 0-3. (running VMS V8.3)  I install the VMS83I UPDATE V4.0 kit and reboot, and I happen to notice processes using CPUs 6, 7.&lt;BR /&gt;$ SHOW CPU reveals the following:&lt;BR /&gt;&lt;BR /&gt;STARDV&amp;gt; sh cpu&lt;BR /&gt;&lt;BR /&gt;System: STARDV, HP rx3600  (1.59GHz/9.0MB)&lt;BR /&gt;&lt;BR /&gt;CPU ownership sets:&lt;BR /&gt;   Active               0-7&lt;BR /&gt;   Configure            0-7&lt;BR /&gt;&lt;BR /&gt;CPU state sets:&lt;BR /&gt;   Potential            0-7&lt;BR /&gt;   Autostart            0-7&lt;BR /&gt;   Powered Down         None&lt;BR /&gt;   Not Present          None&lt;BR /&gt;   Failover             None&lt;BR /&gt;&lt;BR /&gt;What's going on here? It has 8 CPUs now?  I look at the computer itself, it looks the same as before.  I've also seen at least 7 of the CPUs in use when doing a SHOW SYSTEM.</description>
      <pubDate>Wed, 17 Oct 2007 17:12:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074827#M24899</guid>
      <dc:creator>Michael Moroney</dc:creator>
      <dc:date>2007-10-17T17:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: rx3600 has 8 CPUs after installing 83I Update V4.0?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074828#M24900</link>
      <description>Michael,&lt;BR /&gt;  Interesting! &lt;BR /&gt;&lt;BR /&gt;What does:&lt;BR /&gt;&lt;BR /&gt;$ ANALYZE/SYSTEM&lt;BR /&gt;SDA&amp;gt; CLUE CONFIG&lt;BR /&gt;&lt;BR /&gt;say?&lt;BR /&gt;&lt;BR /&gt;$ SHOW CPU/FULL and&lt;BR /&gt;$ SHOW LICENSE/CHARGE&lt;BR /&gt;&lt;BR /&gt;might also be interesting.&lt;BR /&gt;&lt;BR /&gt;Something else worth trying, create a DCL procedure:&lt;BR /&gt;&lt;BR /&gt;$ c=0&lt;BR /&gt;$ loop: c=c+1&lt;BR /&gt;$ IF c.LT.100000000 THEN GOTO loop&lt;BR /&gt;$ LOGOUT/FULL&lt;BR /&gt;&lt;BR /&gt;(or some other suitably large number)&lt;BR /&gt;&lt;BR /&gt;Now submit 8 copies of this procedure at the same time. When they've all completed, compare the total CPU time with the elapsed time.&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Oct 2007 18:13:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074828#M24900</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2007-10-17T18:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: rx3600 has 8 CPUs after installing 83I Update V4.0?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074829#M24901</link>
      <description>It would seems CPU threads (Hyperthreading) are turned on.&lt;BR /&gt;&lt;BR /&gt;If you go to the EFI Shell&amp;gt;&lt;BR /&gt;and try: cpuconfig&lt;BR /&gt;What is under the "# of Logical CPUs" column?&lt;BR /&gt;&lt;BR /&gt;Try again after playing with &lt;BR /&gt;Shell&amp;gt; cpuconfig threads [ on | off ]&lt;BR /&gt;&lt;BR /&gt;If Hyperthreading is in play, then the cpu-time versus wallclock time picture muddle quit a bit, as it heavily depends on th intensity of memory stalls to exploit overlaps.&lt;BR /&gt;&lt;BR /&gt;According to the 8.3 doc, a $SHOW CPU /BRIEF and /FULL will show hyperthreading is enabled referring to it as cothreads.&lt;BR /&gt;&lt;BR /&gt;Check the 'COTHd:' field in the display?&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Oct 2007 21:12:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074829#M24901</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-10-17T21:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: rx3600 has 8 CPUs after installing 83I Update V4.0?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074830#M24902</link>
      <description>&lt;!--!*#--&gt;That (hyperthreading) must be it!&lt;BR /&gt;&lt;BR /&gt;Show CPU/BRIEF shows (for each CPU) something like this:&lt;BR /&gt;&lt;BR /&gt;CPU 7    State: RUN                CPUDB: 8811E600     Handle: 000064E0&lt;BR /&gt;         Owner: 000004C8         Current: 000004C8     Partition 0 (STARDV)&lt;BR /&gt;         Cothd:         3&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I ran a batch job like what John G. suggested when things were quiet, and when there was just one instance running I got CPU and wall clock usage about the same:&lt;BR /&gt;&lt;BR /&gt;  Charged CPU time:        0 00:02:53.12      Elapsed time:       0 00:02:53.13&lt;BR /&gt;&lt;BR /&gt;but when 8 were running each has a result like this:&lt;BR /&gt;&lt;BR /&gt;  Charged CPU time:        0 00:02:55.14      Elapsed time:       0 00:05:50.44&lt;BR /&gt;&lt;BR /&gt;or elapsed time double.  This makes sense since it appears that hyperthreading makes one physical CPU act like two virtual CPUs, if I understand it correctly.&lt;BR /&gt;&lt;BR /&gt;What is the advantage of hyperthreading for VMS, if any?</description>
      <pubDate>Thu, 18 Oct 2007 15:13:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074830#M24902</guid>
      <dc:creator>Michael Moroney</dc:creator>
      <dc:date>2007-10-18T15:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: rx3600 has 8 CPUs after installing 83I Update V4.0?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074831#M24903</link>
      <description>At the OpenVMS Bootcamp 2006, in session A901 Clair Grant &amp;amp; Burns Fisher did a 1 hour session titled "Intermediate Hyperthreads on Montecito and OpenVMS".&lt;BR /&gt;I'm not going to be able to summarize all that in 2 minutes.&lt;BR /&gt;&lt;BR /&gt;Unfortunatly I don't think I am supposed to share that slideset here and now. I'll poke them to see if they are willing to reply here.&lt;BR /&gt;&lt;BR /&gt;Bruce Ellis presented slides on hyperthreading in Canada using:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.encompasscanada.com/documents/sem-tor07/tor07%20Ellis_Integrity_server_perf.pdf" target="_blank"&gt;http://www.encompasscanada.com/documents/sem-tor07/tor07%20Ellis_Integrity_server_perf.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hoff has a web page: &lt;A href="http://64.223.189.234/node/13" target="_blank"&gt;http://64.223.189.234/node/13&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Google for +Hyperthreads +Montecito will give a good few docs to check&lt;BR /&gt;&lt;BR /&gt;Here is my take, with some hands-on experience with Xeon hyperthreading.&lt;BR /&gt;&lt;BR /&gt;- Hyperthreading tries to utilize the  waits for memory which can be many ( 80+ ) cycles.&lt;BR /&gt;- It _should_ be strictly positive... but it is not.&lt;BR /&gt;- The extra scheduling and increased contentions slows things down.&lt;BR /&gt;&lt;BR /&gt;- The scheduler needs to learn that all CPUs are NOT create equal... if thread 0 on core 1 is busy, and no thread is busy on core 2, then the scheduler should not pick CPU 5 (thread 1, core 1) but CPU 2. They 'look the same' but they will not behave the same. Yikes.&lt;BR /&gt;&lt;BR /&gt;- Many OpenVMS SMP solutions already suffer from contention (think spinlocks and MPsync) where you have cycles available, but can not use them just yet. Adding more active threads is threat to the general health.&lt;BR /&gt;- Hyperthreading has been shown to give up to 30% improvement for just the right cpu / memory load mix, mostly memory bound where the cpu seems busy 100% in usermode but is really waiting for memory to come in. To get to htat 30%, one often needs active, aggresive, CPU affinity settings.&lt;BR /&gt;- OpenVMS applications tend to run less than 20% usermode and the inner modes often involve synchronization and serialization.&lt;BR /&gt;&lt;BR /&gt;- Practically Hyperthreading shows -5%  to + 10% gain, more towards 5%.&lt;BR /&gt;&lt;BR /&gt;- Hyperthreading cause 100% confusion&lt;BR /&gt;&lt;BR /&gt;So the risk-reward picture isn't great.&lt;BR /&gt;&lt;BR /&gt;Therefor, OpenVMS took the typical cautious stance and decided to initially disable hyperthreading, but at least they did keep it available.&lt;BR /&gt;They may have changed the attitude with the update, but I would have expect that to be well documented (was it?), or maybe something slipped through the cracks?!&lt;BR /&gt;&lt;BR /&gt;Ok... that was a little more than 2 minutes.&lt;BR /&gt;&lt;BR /&gt;Hope this helps some,&lt;BR /&gt;Hein van den Heuvel (at gmail dot com)&lt;BR /&gt;HvdH Performance Consulting&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2007 16:43:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074831#M24903</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-10-18T16:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: rx3600 has 8 CPUs after installing 83I Update V4.0?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074832#M24904</link>
      <description>Clair (Thanks Clair!) reminded me that :&lt;BR /&gt;&lt;BR /&gt;"VMS can't diretly turn on HT. You do it from the console. We have a program sys$test:hthreads which will toggle it but the change doesn't take effect until you reboot."&lt;BR /&gt;&lt;BR /&gt;So... all the kit might have done is trigger a reboot.&lt;BR /&gt;&lt;BR /&gt;If any curious privved user on the box had run sys$test:HTTHREADS any time after the last reboot before that update, then the effect of running that program would only show when rebooting after installing the update!&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Oct 2007 06:18:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074832#M24904</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-10-19T06:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: rx3600 has 8 CPUs after installing 83I Update V4.0?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074833#M24905</link>
      <description>The TechUpdateDays recently held around Europe also had a session on Hyperthreading. Online e.g. at &lt;A href="http://de.openvms.org/TUD2007/Hyperthread_Support_in_OpenVMS_2.pdf" target="_blank"&gt;http://de.openvms.org/TUD2007/Hyperthread_Support_in_OpenVMS_2.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;  Martin</description>
      <pubDate>Fri, 19 Oct 2007 14:31:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074833#M24905</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2007-10-19T14:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: rx3600 has 8 CPUs after installing 83I Update V4.0?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074834#M24906</link>
      <description>I just noticed the slides are in german. Sorry - it was the only german presentation given...&lt;BR /&gt;&lt;BR /&gt;cu,&lt;BR /&gt;  Martin</description>
      <pubDate>Fri, 19 Oct 2007 14:33:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074834#M24906</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2007-10-19T14:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: rx3600 has 8 CPUs after installing 83I Update V4.0?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074835#M24907</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to mention that a few months ago I did poke around in sys$test: and probably did run sys$test:hthreads.exe.  As mentioned offline, it doesn't take effect until reboot, and VMS being VMS, no reboot was needed for months.  Update 4, the reason for the reboot, is not to blame.</description>
      <pubDate>Sat, 20 Oct 2007 08:13:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074835#M24907</guid>
      <dc:creator>Michael Moroney</dc:creator>
      <dc:date>2007-10-20T08:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: rx3600 has 8 CPUs after installing 83I Update V4.0?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074836#M24908</link>
      <description>Cause is hthreads.exe not Update 4.</description>
      <pubDate>Sat, 20 Oct 2007 08:17:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rx3600-has-8-cpus-after-installing-83i-update-v4-0/m-p/5074836#M24908</guid>
      <dc:creator>Michael Moroney</dc:creator>
      <dc:date>2007-10-20T08:17:53Z</dc:date>
    </item>
  </channel>
</rss>

