Package: linux-2.6 Version: 3.2.15-1 Severity: important Dear Maintainer, I'm seeing some unusual behaviour in my 4 cores desktop and can't figure out what's going on. Currently I'm using latest 'testing' kernel, but I've noticed this behavior in all 3.x debian stock kernel series.
Even when the kernels have SMP enabled, only one of my 4 cores gets all the CPU affinity, distributing the load only when it's at 100%. I have checked for SMP_default_afinity, but it's in F (default), which I've read it's ok. I recently installed 'sar' to get more detailed information, but here are the outputs from mpstat and /proc/interrupts, they clearly show processing differences among all CPU cores: $ mpstat -P ALL Linux 3.2.0-2-686-pae (frankie) 29/04/12 _i686_ (4 CPU) 01:03:26 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle 01:03:26 all 2,68 13,79 3,12 7,24 0,00 0,56 0,00 0,00 72,61 01:03:26 0 1,03 0,83 0,77 5,94 0,00 0,00 0,00 0,00 91,42 01:03:26 1 0,65 0,68 0,51 5,21 0,00 0,01 0,00 0,00 92,95 01:03:26 2 0,75 1,10 0,63 5,76 0,00 0,17 0,00 0,00 91,60 01:03:26 3 8,28 52,46 10,55 12,06 0,00 2,05 0,00 0,00 14,60 $ cat /proc/interrupts CPU0 CPU1 CPU2 CPU3 0: 87 287 12806 143287 IO-APIC-edge timer 1: 0 3 153 3351 IO-APIC-edge i8042 4: 0 0 0 2 IO-APIC-edge 6: 0 0 38 1334 IO-APIC-edge floppy 7: 1 0 0 0 IO-APIC-edge parport0 8: 0 0 2 54 IO-APIC-edge rtc0 9: 0 0 0 0 IO-APIC-fasteoi acpi 14: 1 100 2774 46679 IO-APIC-edge pata_atiixp 15: 0 0 0 0 IO-APIC-edge pata_atiixp 16: 1 23 816 32680 IO-APIC-fasteoi ohci_hcd:usb3, ohci_hcd:usb4, snd_hda_intel 17: 0 3 209 21995 IO-APIC-fasteoi ehci_hcd:usb1 18: 0 0 1 52 IO-APIC-fasteoi ohci_hcd:usb5, ohci_hcd:usb6, ohci_hcd:usb7, fglrx[0]@PCI:1:5:0 19: 0 0 0 19 IO-APIC-fasteoi ehci_hcd:usb2, snd_hda_intel 21: 1 210 7109 621617 IO-APIC-fasteoi ath 22: 4 106 3942 112678 IO-APIC-fasteoi ahci 42: 0 0 0 0 PCI-MSI-edge eth0 NMI: 9 8 9 137 Non-maskable interrupts LOC: 57319 43568 42688 624135 Local timer interrupts SPU: 0 0 0 0 Spurious interrupts PMI: 9 8 9 137 Performance monitoring interrupts IWI: 0 0 0 0 IRQ work interrupts RES: 228406 119635 175374 296599 Rescheduling interrupts CAL: 4245 4228 4225 539 Function call interrupts TLB: 2111 2331 2262 4288 TLB shootdowns TRM: 0 0 0 0 Thermal event interrupts THR: 0 0 0 0 Threshold APIC interrupts MCE: 0 0 0 0 Machine check exceptions MCP: 7 7 7 7 Machine check polls ERR: 1 MIS: 0 This is my processor: # cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : AMD Phenom(tm) 9600 Quad-Core Processor stepping : 2 microcode : 0x1000083 cpu MHz : 2300.000 cache size : 512 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs npt lbrv svm_lock bogomips : 4830.18 clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate thanks in advance! -- Package-specific info: ** Version: Linux version 3.2.0-2-686-pae (Debian 3.2.15-1) (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-3) ) #1 SMP Sun Apr 15 17:56:31 UTC 2012 ** Command line: BOOT_IMAGE=/vmlinuz-3.2.0-2-686-pae root=UUID=d4fe6cec-1f8d-4767-8b4b-4646660c1f31 ro quiet ** Tainted: PO (4097) * Proprietary module has been loaded. * Out-of-tree module has been loaded. ** Kernel log: [ 585.977310] end_request: I/O error, dev fd0, sector 0 [ 598.153115] end_request: I/O error, dev fd0, sector 0 [ 598.153123] Buffer I/O error on device fd0, logical block 0 [ 610.326009] end_request: I/O error, dev fd0, sector 0 [ 610.326018] Buffer I/O error on device fd0, logical block 0 [ 622.497025] end_request: I/O error, dev fd0, sector 0 [ 622.497033] Buffer I/O error on device fd0, logical block 0 [ 634.672541] end_request: I/O error, dev fd0, sector 0 [ 634.672549] Buffer I/O error on device fd0, logical block 0 [ 646.844996] end_request: I/O error, dev fd0, sector 0 [ 646.845003] Buffer I/O error on device fd0, logical block 0 [ 659.012869] end_request: I/O error, dev fd0, sector 0 [ 659.012878] Buffer I/O error on device fd0, logical block 0 [ 695.600033] usb 1-1: new high-speed USB device number 5 using ehci_hcd [ 695.737460] usb 1-1: New USB device found, idVendor=0930, idProduct=6545 [ 695.737466] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 695.737469] usb 1-1: Product: DataTraveler 108 [ 695.737471] usb 1-1: Manufacturer: Kingston [ 695.737472] usb 1-1: SerialNumber: 0023242CA148EBC1800066B8 [ 695.760815] usbcore: registered new interface driver uas [ 695.762714] Initializing USB Mass Storage driver... [ 695.762851] scsi6 : usb-storage 1-1:1.0 [ 695.762945] usbcore: registered new interface driver usb-storage [ 695.762947] USB Mass Storage support registered. [ 696.836946] scsi 6:0:0:0: Direct-Access Kingston DataTraveler 108 PMAP PQ: 0 ANSI: 0 CCS [ 698.735789] sd 6:0:0:0: [sdd] 15240576 512-byte logical blocks: (7.80 GB/7.26 GiB) [ 698.737711] sd 6:0:0:0: [sdd] Write Protect is off [ 698.737715] sd 6:0:0:0: [sdd] Mode Sense: 23 00 00 00 [ 698.739710] sd 6:0:0:0: [sdd] No Caching mode page present [ 698.739715] sd 6:0:0:0: [sdd] Assuming drive cache: write through [ 698.744470] sd 6:0:0:0: [sdd] No Caching mode page present [ 698.744476] sd 6:0:0:0: [sdd] Assuming drive cache: write through [ 698.764977] sdd: sdd1 [ 698.767967] sd 6:0:0:0: [sdd] No Caching mode page present [ 698.767973] sd 6:0:0:0: [sdd] Assuming drive cache: write through [ 698.767976] sd 6:0:0:0: [sdd] Attached SCSI removable disk [ 727.148699] end_request: I/O error, dev fd0, sector 0 [ 739.317246] end_request: I/O error, dev fd0, sector 0 [ 739.317255] Buffer I/O error on device fd0, logical block 0 [ 984.357054] end_request: I/O error, dev fd0, sector 0 [ 996.512567] end_request: I/O error, dev fd0, sector 0 [ 996.512575] Buffer I/O error on device fd0, logical block 0 [ 1008.690058] end_request: I/O error, dev fd0, sector 0 [ 1008.690067] Buffer I/O error on device fd0, logical block 0 [ 1020.864479] end_request: I/O error, dev fd0, sector 0 [ 1020.864487] Buffer I/O error on device fd0, logical block 0 [ 1033.040865] end_request: I/O error, dev fd0, sector 0 [ 1033.040874] Buffer I/O error on device fd0, logical block 0 [ 1045.229722] end_request: I/O error, dev fd0, sector 0 [ 1045.229730] Buffer I/O error on device fd0, logical block 0 [ 1057.400718] end_request: I/O error, dev fd0, sector 0 [ 1057.400727] Buffer I/O error on device fd0, logical block 0 [ 1069.572719] end_request: I/O error, dev fd0, sector 0 [ 1069.572728] Buffer I/O error on device fd0, logical block 0 [ 1081.749231] end_request: I/O error, dev fd0, sector 0 [ 1081.749239] Buffer I/O error on device fd0, logical block 0 [ 1093.921073] end_request: I/O error, dev fd0, sector 0 [ 1093.921081] Buffer I/O error on device fd0, logical block 0 [ 1106.092828] end_request: I/O error, dev fd0, sector 0 [ 1106.092837] Buffer I/O error on device fd0, logical block 0 [ 1118.265258] end_request: I/O error, dev fd0, sector 0 [ 1118.265267] Buffer I/O error on device fd0, logical block 0 [ 1130.428914] end_request: I/O error, dev fd0, sector 0 [ 1130.428923] Buffer I/O error on device fd0, logical block 0 [ 1142.612476] end_request: I/O error, dev fd0, sector 0 [ 1142.612483] Buffer I/O error on device fd0, logical block 0 [ 1154.784513] end_request: I/O error, dev fd0, sector 0 [ 1154.784521] Buffer I/O error on device fd0, logical block 0 [ 1166.952781] end_request: I/O error, dev fd0, sector 0 [ 1166.952790] Buffer I/O error on device fd0, logical block 0 [ 1179.116596] end_request: I/O error, dev fd0, sector 0 [ 1179.116605] Buffer I/O error on device fd0, logical block 0 [ 1191.280961] end_request: I/O error, dev fd0, sector 0 [ 1191.280970] Buffer I/O error on device fd0, logical block 0 [ 1203.448446] end_request: I/O error, dev fd0, sector 0 [ 1203.448455] Buffer I/O error on device fd0, logical block 0 [ 1215.620765] end_request: I/O error, dev fd0, sector 0 [ 1215.620774] Buffer I/O error on device fd0, logical block 0 [ 1227.789195] end_request: I/O error, dev fd0, sector 0 [ 1227.789204] Buffer I/O error on device fd0, logical block 0 [ 1239.960881] end_request: I/O error, dev fd0, sector 0 [ 1239.960890] Buffer I/O error on device fd0, logical block 0 [ 1252.128807] end_request: I/O error, dev fd0, sector 0 [ 1252.128815] Buffer I/O error on device fd0, logical block 0 [ 1264.293587] end_request: I/O error, dev fd0, sector 0 [ 1264.293595] Buffer I/O error on device fd0, logical block 0 [ 1276.469172] end_request: I/O error, dev fd0, sector 0 [ 1276.469180] Buffer I/O error on device fd0, logical block 0 [ 1288.632383] end_request: I/O error, dev fd0, sector 0 [ 1288.632391] Buffer I/O error on device fd0, logical block 0 [ 1300.789218] end_request: I/O error, dev fd0, sector 0 [ 1300.789226] Buffer I/O error on device fd0, logical block 0 [ 1312.960216] end_request: I/O error, dev fd0, sector 0 [ 1312.960224] Buffer I/O error on device fd0, logical block 0 [ 1325.132923] end_request: I/O error, dev fd0, sector 0 [ 1325.132930] Buffer I/O error on device fd0, logical block 0 [ 1467.212316] warning: `VirtualBox' uses 32-bit capabilities (legacy support in use) [ 1470.059103] scsi_verify_blk_ioctl: 6 callbacks suppressed [ 1470.059107] VBoxSVC: sending ioctl 5393 to a partition! [ 1478.661132] VBoxSVC: sending ioctl 5393 to a partition! ** Model information not available ** Loaded modules: usb_storage uas btrfs crc32c libcrc32c zlib_deflate ufs qnx4 hfsplus hfs minix ntfs vfat msdos fat jfs xfs reiserfs ext3 jbd fglrx(P) nfnetlink_log nfnetlink bnep rfcomm ppdev lp pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) snd_hrtimer vboxdrv(O) binfmt_misc fuse cpufreq_userspace microcode snd_intel8x0 snd_ac97_codec ac97_bus snd_i2c snd_virmidi snd_seq_virmidi snd_seq_midi_emul hwmon_vid k8temp forcedeth cpuid powernow_k8 mperf nfsd nfs nfs_acl auth_rpcgss fscache lockd sunrpc ext2 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_midi snd_seq_midi_event snd_page_alloc snd_rawmidi arc4 snd_seq snd_seq_device snd_timer snd sp5100_tco ath5k soundcore i2c_piix4 ath mac80211 cfg80211 btusb bluetooth rfkill shpchp i2c_core parport_pc k10temp pcspkr evdev parport processor asus_atk0110 button thermal_sys wmi ext4 crc16 jbd2 mbcache dm_mod sd_mod crc_t10dif usbhid ata_generic hid firewire_ohci floppy ahci libahci firewire_core crc_itu_t pata_atiixp ohci_hcd libata ehci_hcd scsi_mod r8169 mii usbcore usb_common -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 3.2.0-2-686-pae (SMP w/4 CPU cores) Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages linux-image-3.2.0-2-686-pae depends on: ii debconf [debconf-2.0] 1.5.40 ii initramfs-tools [linux-initramfs-tool] 0.99 ii kmod 6-2 ii linux-base 3.5 ii module-init-tools 6-2 Versions of packages linux-image-3.2.0-2-686-pae recommends: ii firmware-linux-free 3 ii libc6-i686 2.13-7 Versions of packages linux-image-3.2.0-2-686-pae suggests: pn grub-pc 1.99-6 pn linux-doc-3.2 <none> Versions of packages linux-image-3.2.0-2-686-pae is related to: pn firmware-atheros <none> pn firmware-bnx2 <none> pn firmware-bnx2x <none> pn firmware-brcm80211 <none> pn firmware-intelwimax <none> pn firmware-ipw2x00 <none> pn firmware-ivtv <none> pn firmware-iwlwifi <none> pn firmware-libertas <none> pn firmware-linux <none> pn firmware-linux-nonfree 0.35 pn firmware-myricom <none> pn firmware-netxen <none> pn firmware-qlogic <none> pn firmware-ralink <none> pn firmware-realtek <none> pn xen-hypervisor <none> -- debconf information: linux-image-3.2.0-2-686-pae/postinst/depmod-error-initrd-3.2.0-2-686-pae: false linux-image-3.2.0-2-686-pae/postinst/missing-firmware-3.2.0-2-686-pae: linux-image-3.2.0-2-686-pae/prerm/removing-running-kernel-3.2.0-2-686-pae: true linux-image-3.2.0-2-686-pae/postinst/ignoring-ramdisk: -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120429042506.8954.87885.reportbug@localhost.localdomain