<?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: interrupt handling in core 2 duo - unfair balancing in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/interrupt-handling-in-core-2-duo-unfair-balancing/m-p/863660#M2584</link>
    <description>&lt;A href="http://irqbalance.org/documentation.php"&gt;http://irqbalance.org/documentation.php&lt;/A&gt;</description>
    <pubDate>Sun, 06 Jul 2008 13:26:19 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2008-07-06T13:26:19Z</dc:date>
    <item>
      <title>interrupt handling in core 2 duo - unfair balancing</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/interrupt-handling-in-core-2-duo-unfair-balancing/m-p/863656#M2580</link>
      <description>hello everyone, im looking for inside information on how to tweak my linux box (its a slackware linux v11, running a custom kernel 2.6.20.7 ).&lt;BR /&gt;i am not sure this is the right place to discuss this, yet i'm looking for possible pointers that can lead me to the right direction.&lt;BR /&gt;&lt;BR /&gt;if i do &lt;BR /&gt;nass@stargaze:~$ cat /proc/interrupts&lt;BR /&gt; CPU0 CPU1&lt;BR /&gt; 0: 1764867489 0 IO-APIC-edge timer&lt;BR /&gt; 1: 13418   0 IO-APIC-edge i8042&lt;BR /&gt; 4: 130276577   0 IO-APIC-edge serial&lt;BR /&gt; 6: 3   0 IO-APIC-edge floppy&lt;BR /&gt; 7: 0    0 IO-APIC-edge parport0&lt;BR /&gt; 8: 3    0 IO-APIC-edge rtc&lt;BR /&gt; 9: 0    0 IO-APIC-fasteoi acpi&lt;BR /&gt;12: 381820   0 IO-APIC-edge i8042&lt;BR /&gt;16: 238    0 IO-APIC-fasteoi ohci1394, ehci_hcd:usb1, libata, uhci_hcd:usb7&lt;BR /&gt;17: 539010173 0 IO-APIC-fasteoi uhci_hcd:usb3, nvidia&lt;BR /&gt;18: 0     0 IO-APIC-fasteoi libata&lt;BR /&gt;19: 185580186 0 IO-APIC-fasteoi uhci_hcd:usb6, eth0&lt;BR /&gt;20: 0   0 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb5&lt;BR /&gt;21: 0    0 IO-APIC-fasteoi uhci_hcd:usb4&lt;BR /&gt;22: 239687  0 IO-APIC-fasteoi HDA Intel&lt;BR /&gt;23: 6502   0 IO-APIC-fasteoi ide2, ide3&lt;BR /&gt;219: 
32516511 0 PCI-MSI-edge libata&lt;BR /&gt;NMI: 0   0&lt;BR /&gt;LOC: 1748160692  1748160694&lt;BR /&gt;ERR: 0&lt;BR /&gt;MIS: 0&lt;BR /&gt;&lt;BR /&gt;it is apparent to me that the 2nd cpu of my core 2 duo does not handle interrupts (apart from the LOC - what is this ? ).&lt;BR /&gt;&lt;BR /&gt;also i am under the impression that the 2nd cpu is used less altogether since when i check the KGuard system monitor, i usually see one processor usage varying at 0-85%, and the other only at 0-4%... &lt;BR /&gt;&lt;BR /&gt;any ideas how i could fix that?&lt;BR /&gt;thank you in advance for your help&lt;BR /&gt;Nass&lt;BR /&gt;</description>
      <pubDate>Sun, 20 Jan 2008 11:20:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/interrupt-handling-in-core-2-duo-unfair-balancing/m-p/863656#M2580</guid>
      <dc:creator>synthnassizer</dc:creator>
      <dc:date>2008-01-20T11:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: interrupt handling in core 2 duo - unfair balancing</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/interrupt-handling-in-core-2-duo-unfair-balancing/m-p/863657#M2581</link>
      <description>You won't get much use of the 2nd core without a multi-threaded application or when running 2 independent applications. I'm not aware of any considerations where dual cores would improve the rate of interrupt processing.&lt;BR /&gt;</description>
      <pubDate>Sun, 20 Jan 2008 14:10:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/interrupt-handling-in-core-2-duo-unfair-balancing/m-p/863657#M2581</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-01-20T14:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: interrupt handling in core 2 duo - unfair balancing</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/interrupt-handling-in-core-2-duo-unfair-balancing/m-p/863658#M2582</link>
      <description>indeed without multi-threaded apps i won't go far, but i was referring to smth much more basic - ie the fact that the system wouldn't even consider using the 2nd cpu to handle some interrupts. for example when one cpu would be serving an interrupt the other could serve another interrupt... smth that wasnt the case until now..&lt;BR /&gt;&lt;BR /&gt;however, i used this guide &lt;A href="http://"&gt;http://gentoo-wiki.com/HARDWARE_Intel_Core2_Duo&lt;/A&gt; to create a kernel with the options for the 32bit core 2 duo processor and now i get&lt;BR /&gt;&lt;BR /&gt;nass@stargaze:~$ cat /proc/interrupts &lt;BR /&gt;   CPU0  CPU1&lt;BR /&gt; 0: 3265   954119 IO-APIC-edge timer&lt;BR /&gt; 1: 38  0 IO-APIC-edge i8042&lt;BR /&gt; 4: 64630 0 IO-APIC-edge serial&lt;BR /&gt; 6: 3  0 IO-APIC-edge floppy&lt;BR /&gt; 7: 0  0 IO-APIC-edge parport0&lt;BR /&gt; 8: 3  0 IO-APIC-edge rtc&lt;BR /&gt; 9: 0  0 IO-APIC-fasteoi acpi&lt;BR /&gt;12: 196 0 IO-APIC-edge i8042&lt;BR /&gt;16: 50  0 IO-APIC-fasteoi ohci1394, ehci_hcd:usb1, ide0, uhci_hcd:usb7&lt;BR /&gt;17: 267656 0 IO-APIC-fasteoi uhci_hcd:usb3, nvidia&lt;BR /&gt;18: 0  0 IO-APIC-fasteoi libata&lt;BR /&gt;19: 3420585 3417181 IO-APIC-fasteoi uhci_hcd:usb6, eth0&lt;BR /&gt;20: 0 0 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb5&lt;BR /&gt;21: 3037 1494 IO-APIC-fasteoi ide2, ide3&lt;BR /&gt;22: 0 0 IO-APIC-fa
steoi uhci_hcd:usb4&lt;BR /&gt;23: 167 0 IO-APIC-fasteoi HDA Intel&lt;BR /&gt;219: 43196 20717 PCI-MSI-edge libata&lt;BR /&gt;NMI: 0 0&lt;BR /&gt;LOC: 944350 944349&lt;BR /&gt;ERR: 0&lt;BR /&gt;MIS: 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;it seems far more meaningful...no? :)&lt;BR /&gt;</description>
      <pubDate>Sun, 20 Jan 2008 14:47:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/interrupt-handling-in-core-2-duo-unfair-balancing/m-p/863658#M2582</guid>
      <dc:creator>synthnassizer</dc:creator>
      <dc:date>2008-01-20T14:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: interrupt handling in core 2 duo - unfair balancing</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/interrupt-handling-in-core-2-duo-unfair-balancing/m-p/863659#M2583</link>
      <description>&lt;P&gt;Multi-threaded interrupt handling would likely yield poorer performance.&lt;/P&gt;
&lt;P&gt;Interrupt handling is a very small portion of code (or at least it should be if programmed correctly). The typical interrupt code is to acknowledge the interrupt and schedule the higher level processing code. The higher level processing code is typically multi-threaded.&lt;/P&gt;
&lt;P&gt;Should the interrupts be distributed across processors or should the interrupts be distributed in another fashion (e.g. round robin via hardware) then there are two problems at interrupt levelto resolve. One being interrupt level priority inconsistencies, and the second, and likely more important, is the interrupt code that has to post the scheduling event must now be written using thread-safe coding practices. Thread-safe coding practices often result in SpinLocks or other "dependent on other processor" types of delays. This in turn would cause some interrupts to be blocked (in interrupt service) while all interrupts (using thread-safe code)would run slower.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jan 2008 16:04:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/interrupt-handling-in-core-2-duo-unfair-balancing/m-p/863659#M2583</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2008-01-20T16:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: interrupt handling in core 2 duo - unfair balancing</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/interrupt-handling-in-core-2-duo-unfair-balancing/m-p/863660#M2584</link>
      <description>&lt;A href="http://irqbalance.org/documentation.php"&gt;http://irqbalance.org/documentation.php&lt;/A&gt;</description>
      <pubDate>Sun, 06 Jul 2008 13:26:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/interrupt-handling-in-core-2-duo-unfair-balancing/m-p/863660#M2584</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-07-06T13:26:19Z</dc:date>
    </item>
  </channel>
</rss>

