[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /proc/interrupts and reproducibility of FP caculations



On Wed, 2003-07-16 at 23:56, Sanzo Miyazawa wrote:
> Does anyone undesrstand why the following things occur on my opteron?
> 
> 1. I am running a 64 bit kernel on opteron, which I compiled
> by "gcc-3.3 -m64" from a linux 2.4.21 obtained from x86-64.org.
> 
> 	smk8m> cat /proc/version
> 	Linux version 2.4.21-030702-k8-smp-64gb-devfs-raid-ext3 (root@smk8m) (gcc version 3.3 (Debian)) #1 SMP Sat Jul 5 07:53:12 JST 2003
> 	smk8m> arch
> 	x86_64
> 
> The following is the output of /proc/interrupts.
> 
> 	smk8m> cat /proc/inter*
> 	           CPU0       CPU1       
> 	  0:   85028306          0    IO-APIC-edge  timer
> 	  1:          5          0    IO-APIC-edge  keyboard
> 	  2:          0          0          XT-PIC  cascade
> 	  4:          6          0    IO-APIC-edge  serial
> 	 12:          6          0    IO-APIC-edge  PS/2 Mouse
> 	 24:   15249253          0   IO-APIC-level  ioc0, eth0
> 	 25:         44          0   IO-APIC-level  ioc1
> 	NMI:     667118     677988 
> 	LOC:   85025444   85025445 
> 	ERR:          0
> 	MIS:          0
> 
> Does anyone understand why only cpu0 is used for timer and ..?

You need to use the "irqbalance" program, which is presently not
packaged for Debian but can be downloaded here:

http://people.redhat.com/arjanv/irqbalance/

It is not well documented.  Simply run it as root at system startup, and
it becomes a deamon which periodically changes the CPU handling a
certain interrupt.

-jwb



Reply to: