LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-16-2008, 02:08 PM   #1
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 663

Rep: Reputation: 39
imbalanced loading of core 2 duo processors


i've been wondering for a while now but hadnt had plenty of time to look it through thoroughly, but a quick search within LQ.org didn't bring up any matches.

still i was just deleting (for console using rm) a huge folder and decided to check the load balancing between the 2 processors. OS is Slackware Linux 11.0 and i used the KSysGuard(performance monitor) to check the individual system and user loads for each one of the cpu's.

system load for cpu 0 would be running at approx 85%, while
system load for cpu 1 would be at 0-1%...

likewise
user load for cpu0 would jump between 0-25%, while
user laod for cpu1 would remain at 0 ....

additionally
cat /proc/interrupts returns smth rather irritating - cpu1 is hardly serving any interrupts! (look for the zero's after the comma - they are the cpu1 column but dont appear in table form unfortunately. also what is LOC?)
CPU0 CPU1
0: 1686389743, 0 IO-APIC-edge timer
1: 10589, 0 IO-APIC-edge i8042
4: 124483213, 0 IO-APIC-edge serial
6: 3, 0 IO-APIC-edge floppy
7: 0, 0 IO-APIC-edge parport0
8: 3, 0 IO-APIC-edge rtc
9: 0, 0 IO-APIC-fasteoi acpi
12: 333080, 0 IO-APIC-edge i8042
16: 219, 0 IO-APIC-fasteoi ohci1394, ehci_hcd:usb1, libata, uhci_hcd:usb7
17: 515061235, 0 IO-APIC-fasteoi uhci_hcd:usb3, nvidia
18: 0, 0 IO-APIC-fasteoi libata
19: 145675115, 0 IO-APIC-fasteoi uhci_hcd:usb6, eth0
20: 0, 0 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb5
21: 0, 0 IO-APIC-fasteoi uhci_hcd:usb4
22: 228413, 0 IO-APIC-fasteoi HDA Intel
23: 6310, 0 IO-APIC-fasteoi ide2, ide3
219: 31157489, 0 PCI-MSI-edge libata
NMI: 0, 0
LOC: 1670444893, 1670444895
ERR: 0,
MIS: 0,

i know this matter about the interrupts has been brought up again... but with no solution at the time...

still should i be worried abt smth in my kernel? (its a custom 2.6.20.7)
or rm is not thread friendly by nature?

any pointers to read smth (a guide) or any experience on the matter would be highly appreciated!
thank you
nass

Last edited by nass; 01-16-2008 at 02:15 PM.
 
Old 01-16-2008, 02:31 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,787

Rep: Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574
Comes up occasionally - have a look at this thread for example.
 
Old 01-16-2008, 04:16 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
Normally. Pretty much once the app starts it stays with the cpu. Then the next call would hit the other but if a small app then not very cpu intense. If you really want to see both used then compile a kernel like you did but add the -j4 option to the make command.
make -j4

This will get 2 compiles of line ready one for each pcu and get 2 more ready once one of the cpus completes its step.

Brian
 
Old 01-18-2008, 05:32 PM   #4
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 663

Original Poster
Rep: Reputation: 39
well it shouldn't be necessary to require the -j4 to see the 2cpu processing interrupts... right? i mean its stuck at all 0's... that cant be fair loading...

then the -j4 option raises the amount of simultaneous jobs that can be run... but whats the drawback?...

and whats the point of choosing a core 2 duo cpu from the kernel's menuconfig if i still need this low level -j4 anabling?????

any intel forums that u may know of and i can right to ???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic on Intel Core 2 Duo E6700 Dual Core Processor nwongrat Linux - Hardware 2 01-08-2008 10:13 PM
replace core duo 2 with core duo 4 jfabiani Linux - Hardware 2 11-14-2007 11:24 AM
Intel DG33FB motherboard - cannot run second core on cpu (core 2 duo) rmitev Linux - Enterprise 2 09-28-2007 04:54 AM
Anyone know when an nForce 590 board for Intel Core2 Duo processors comes out? spursrule General 0 09-13-2006 08:46 AM
fedora core on mac mini core duo ss4ivan Linux - Software 0 04-10-2006 06:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration