Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual core: symmetric or asymmetric cpus load?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gentunian
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2006
Posts: 118
Location: Río Cuarto, Argentina

PostPosted: Sat Apr 07, 2007 4:19 am    Post subject: Dual core: symmetric or asymmetric cpus load? Reply with quote

hey there,

i've been watching the cpus monitors in my box. I use the fantastik-ng-dual-core theme of superkaramba. The monitor shows the activity of both cpus. I have taken screenshots but i dont have any site to upload and show you the average load of both cpus. The thing is that both cpus has an asymmetric (or symmetric depending the point of view) load. I mean: When a cpu load is 100% the other is 0%, or when cpu1 is 50% the other is 50% and so on...So, if you see the graphic is some kind of "symmetric" reversed graphic (i explain myself?).

But, when i do an emerge (generally i do this in the console's, alt+f1, ...f2, etc) i use top to see the cpu load, and it doesnt seem to be so "asymmetric" (let explain myself: i mean symmetric because the draws of lines like there were mirrored, and asymmetric it's the same thing but not graphical. So a symmetric draw, its a kind of asymmetric load...understand? I would explain better in spanish, sorry for that. Symmetric load means that they load in nearly the same percentage. Symmetric lines means mirrored lines, so the load its reversed...well, that was my effort).

Conclusion: Compiling (emerging) the top shows up that the two cpus are working really in parallel. Doing some other thing (copying, moving, etc) the load its asymmetric. It's this okey? what do you think?

Well, i must say that my english, as you maybe already know, its not quit good as a native english speaker, so i'm sorry for that.

Regards,
_________________
Si un pueblo tiene hambre, no le des un pez. Enséñale a pescar.
http://labombiya.com.ar
Back to top
View user's profile Send private message
Suicidal
l33t
l33t


Joined: 30 Jul 2003
Posts: 959
Location: /dev/null

PostPosted: Sat Apr 07, 2007 6:21 am    Post subject: Reply with quote

I have noticed that as well on some applications; my only thinking is that some applications do not take advantage of dual CPU's very well.
Back to top
View user's profile Send private message
DirtyHairy
l33t
l33t


Joined: 03 Jul 2006
Posts: 608
Location: Würzburg, Deutschland

PostPosted: Sat Apr 07, 2007 10:00 am    Post subject: Reply with quote

The only way to benefit from multiple processors is to run several task in parallel. Therefore, the only applications that benefit directly from dual core CPUs are those that launch multiple threads, which many programs don't. You still benefit from your core duo though, since a single thread will use up at most one CPU, and so the system will perform better under load...
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5947

PostPosted: Sat Apr 07, 2007 10:01 am    Post subject: Reply with quote

nothing wrong with apps that won't run in multithread... having apps run exclusively on certain cpus can actually be a benefit in some cases. if this is for you, read up on cpusets and download "bunhax".

https://forums.gentoo.org/viewtopic-t-492108.html

cheers

(the default scheduler bounces apps between the cpus to give an even system response. i don't prefer this type of scheduling routine... i'd rather set the affinity myself via bunhax)
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum