lkml.org 
[lkml]   [2003]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: IRQ Routing. [A 2.6 question about smp irq balancing]
"Martin J. Bligh" <mbligh@aracnet.com>, on Tue Oct 21, 2003 [07:34:01 AM] said:
[paul said]
> > Ok, my question is, is this how it is supposed to be?
> > I ask because I am seeing a throughput decrease on 2.6 v 2.4
> > on hdparm -t, bonnie, kernel compile benchmarks, though interactivity
> > seems to be better.
>
> I doubt that's caused by interrupt load, but try this:
>

Hi;

Thanks;
This seems to generate a more of a distribution.
(uptime 3 hours) You are correct that I notice no performance
difference.

Paul
set@pobox.com

CPU0 CPU1
0: 5011222 5035676 IO-APIC-edge timer
1: 5441 0 IO-APIC-edge i8042
2: 0 0 XT-PIC cascade
3: 8203 1 IO-APIC-edge serial
4: 58980 356739 IO-APIC-edge serial
5: 0 0 IO-APIC-edge eth0
8: 2 0 IO-APIC-edge rtc
12: 4968 3423 IO-APIC-edge i8042
14: 119080 62085 IO-APIC-edge ide0
15: 142 0 IO-APIC-edge ide1
16: 101 1 IO-APIC-level eth1
17: 110 10782 IO-APIC-level eth2
19: 1776 0 IO-APIC-level Ensoniq AudioPCI
NMI: 10044606 10041826
LOC: 10042436 10042460
ERR: 0
MIS: 0

> diff -urN linux-2.6.0-test4-clean/arch/i386/kernel/io_apic.c
> linux-2.6.0-test4-div10/arch/i386/kernel/io_apic.c
> --- linux-2.6.0-test4-clean/arch/i386/kernel/io_apic.c 2003-09-15
> 06:46:02.000000000 -0700
> +++ linux-2.6.0-test4-div10/arch/i386/kernel/io_apic.c 2003-09-15
> 06:47:17.000000000 -0700
> @@ -393,7 +393,7 @@
> unsigned long max_cpu_irq = 0, min_cpu_irq = (~0);
> unsigned long move_this_load = 0;
> int max_loaded = 0, min_loaded = 0;
> - unsigned long useful_load_threshold = balanced_irq_interval +
> 10;
> + unsigned long useful_load_threshold = (balanced_irq_interval +
> 10) / 10;
> int selected_irq;
> int tmp_loaded, first_attempt = 1;
> unsigned long tmp_cpu_irq;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.392 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site