<?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 CPU usage on hyperthreaded Xeon processors in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/cpu-usage-on-hyperthreaded-xeon-processors/m-p/3053829#M76426</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm having a discussion with a mainframe guy who is doing some testing on one of my Linux boxes.  I have a box with two Xeon 2.8 Ghz CPUs in it, with hyperthreading turned on, and I'm running RedHat Advanced Server 2.1.  The box shows four CPUs in all the usual utilities [sar, top, etc.] as a result of the hyperthreading.&lt;BR /&gt;&lt;BR /&gt;My mainframe friend is running a test script that reads a large file.  He notes that his script consumes over 99% of one CPU, while the other three show no usage.  His contention is that since he is getting half of one physical 2.8 Ghz CPU, his script is running on a virtual 1.4 Ghz CPU.  I argue back with him that if nothing else is running on the second virtual CPU, he is getting all of the physical CPU.  I'm not a wizard on hyperthreading, but it seems that his CPU usage would always be at 2.4 Ghz.  I understand what he is trying to say about getting half the physical CPU, but I don't think that saying he has a 1.4 Ghz CPU is a fair statement.  I think he gets a 2.8 Ghz CPU for half as much time.&lt;BR /&gt;&lt;BR /&gt;Opinions?  Comments?&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
    <pubDate>Thu, 21 Aug 2003 12:27:15 GMT</pubDate>
    <dc:creator>John Poff</dc:creator>
    <dc:date>2003-08-21T12:27:15Z</dc:date>
    <item>
      <title>CPU usage on hyperthreaded Xeon processors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cpu-usage-on-hyperthreaded-xeon-processors/m-p/3053829#M76426</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm having a discussion with a mainframe guy who is doing some testing on one of my Linux boxes.  I have a box with two Xeon 2.8 Ghz CPUs in it, with hyperthreading turned on, and I'm running RedHat Advanced Server 2.1.  The box shows four CPUs in all the usual utilities [sar, top, etc.] as a result of the hyperthreading.&lt;BR /&gt;&lt;BR /&gt;My mainframe friend is running a test script that reads a large file.  He notes that his script consumes over 99% of one CPU, while the other three show no usage.  His contention is that since he is getting half of one physical 2.8 Ghz CPU, his script is running on a virtual 1.4 Ghz CPU.  I argue back with him that if nothing else is running on the second virtual CPU, he is getting all of the physical CPU.  I'm not a wizard on hyperthreading, but it seems that his CPU usage would always be at 2.4 Ghz.  I understand what he is trying to say about getting half the physical CPU, but I don't think that saying he has a 1.4 Ghz CPU is a fair statement.  I think he gets a 2.8 Ghz CPU for half as much time.&lt;BR /&gt;&lt;BR /&gt;Opinions?  Comments?&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Aug 2003 12:27:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cpu-usage-on-hyperthreaded-xeon-processors/m-p/3053829#M76426</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-08-21T12:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: CPU usage on hyperthreaded Xeon processors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cpu-usage-on-hyperthreaded-xeon-processors/m-p/3053830#M76427</link>
      <description>of course, there is no "1.4 GHz virtual CPU"&lt;BR /&gt;&lt;BR /&gt;related links:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://arstechnica.com/paedia/h/hyperthreading/hyperthreading-1.html" target="_blank"&gt;http://arstechnica.com/paedia/h/hyperthreading/hyperthreading-1.html&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://developer.intel.com/software/products/browse/itanium.htm" target="_blank"&gt;http://developer.intel.com/software/products/browse/itanium.htm&lt;/A&gt;  &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www-106.ibm.com/developerworks/linux/library/l-htl/?ca=dgr-lnxw01" target="_blank"&gt;http://www-106.ibm.com/developerworks/linux/library/l-htl/?ca=dgr-lnxw01&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;Vitaly</description>
      <pubDate>Thu, 21 Aug 2003 14:00:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cpu-usage-on-hyperthreaded-xeon-processors/m-p/3053830#M76427</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2003-08-21T14:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: CPU usage on hyperthreaded Xeon processors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cpu-usage-on-hyperthreaded-xeon-processors/m-p/3053831#M76428</link>
      <description>JP,&lt;BR /&gt;&lt;BR /&gt;I think the way OS behaves for hypethreading is still limited.  The advantage is more felt only when many application run simultaneously.&lt;BR /&gt;&lt;BR /&gt;More here&lt;BR /&gt;&lt;A href="http://www.2cpu.com/Hardware/ht_analysis/" target="_blank"&gt;http://www.2cpu.com/Hardware/ht_analysis/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Some statistics here &lt;BR /&gt;&lt;A href="http://www.pcworld.com/news/article/0,aid,107492,00.asp" target="_blank"&gt;http://www.pcworld.com/news/article/0,aid,107492,00.asp&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;Umapathy&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Aug 2003 15:57:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cpu-usage-on-hyperthreaded-xeon-processors/m-p/3053831#M76428</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-08-21T15:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: CPU usage on hyperthreaded Xeon processors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cpu-usage-on-hyperthreaded-xeon-processors/m-p/3053832#M76429</link>
      <description>I would think the results would be different if the box was booted off one of the SMP kernels.&lt;BR /&gt;&lt;BR /&gt;For what its worth I think you're instincts are right.  I love those boxes you are running, fast and furious.&lt;BR /&gt;&lt;BR /&gt;I'm running the old web hosting business of Red Hat 7.3's stock smp kernel even though I have but one CPU right now, that is the way I'd run things in a multi-cpu environment.&lt;BR /&gt;&lt;BR /&gt;What is your Linux Distribution?&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 21 Aug 2003 20:15:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cpu-usage-on-hyperthreaded-xeon-processors/m-p/3053832#M76429</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-08-21T20:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: CPU usage on hyperthreaded Xeon processors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cpu-usage-on-hyperthreaded-xeon-processors/m-p/3053833#M76430</link>
      <description>Vitaly and Umapathy,&lt;BR /&gt;&lt;BR /&gt;Thanks for the links.  That is some good info.&lt;BR /&gt;&lt;BR /&gt;Steven,&lt;BR /&gt;&lt;BR /&gt;I'm running Advanced Server 2.1, using the e25 enterprise kernel,&lt;BR /&gt;since I have two CPUs and 8 Gb of RAM.  I just built another one&lt;BR /&gt;this week, same configuration, except that the CPUs are 3.066 Ghz.&lt;BR /&gt;Those are some *FAST* boxes, and I'm having a blast working with them.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My point with my mainframe guy was that if he is running something&lt;BR /&gt;on one CPU at 99%, and the other CPUs are idle, then he must be getting&lt;BR /&gt;pretty much all of a 2.8 Ghz CPU, and not a 1.4 Ghz virtual CPU.  Those &lt;BR /&gt;mainframers are used to dividing up CPUs on their system, and maybe it &lt;BR /&gt;works that way on their end, but I'm debating the point with this guy and &lt;BR /&gt;I just wanted some feedback to see if I was understanding the hyperthreading &lt;BR /&gt;correctly.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Aug 2003 23:27:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cpu-usage-on-hyperthreaded-xeon-processors/m-p/3053833#M76430</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-08-21T23:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: CPU usage on hyperthreaded Xeon processors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cpu-usage-on-hyperthreaded-xeon-processors/m-p/3053834#M76431</link>
      <description>No, Hyperthreading is not like mainframe dividing up clock cycles.&lt;BR /&gt;&lt;BR /&gt;It literally is multiple-executes-per-cycle.&lt;BR /&gt;&lt;BR /&gt;Using one single threaded application won't show one whit of performance boost.  Use 10 of them at a time, and you might see some improovement.  Using a well written multi-threaded application, you'd see a reasonable amount of improovement.&lt;BR /&gt;&lt;BR /&gt;You might find this useful:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www-106.ibm.com/developerworks/linux/library/l-htl/" target="_blank"&gt;http://www-106.ibm.com/developerworks/linux/library/l-htl/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Aug 2003 23:39:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cpu-usage-on-hyperthreaded-xeon-processors/m-p/3053834#M76431</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-08-21T23:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: CPU usage on hyperthreaded Xeon processors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cpu-usage-on-hyperthreaded-xeon-processors/m-p/3053835#M76432</link>
      <description>&lt;BR /&gt; Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; I don't think that his statement is right. You are getting 2.8GHz not 1.4GHz. But it depends on the script and the OS.... &lt;BR /&gt;&lt;BR /&gt;More info on CPUs here:&lt;BR /&gt;&lt;A href="http://www.geek.com/procspec/procspec.htm" target="_blank"&gt;http://www.geek.com/procspec/procspec.htm&lt;/A&gt;</description>
      <pubDate>Sat, 23 Aug 2003 11:30:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cpu-usage-on-hyperthreaded-xeon-processors/m-p/3053835#M76432</guid>
      <dc:creator>Khalid A. Al-Tayaran</dc:creator>
      <dc:date>2003-08-23T11:30:07Z</dc:date>
    </item>
  </channel>
</rss>

