Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SMP on sparc32 scheduling problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 177
Location: Italy

PostPosted: Mon Feb 28, 2005 9:26 am    Post subject: SMP on sparc32 scheduling problems Reply with quote

I experience quite low performance on a dual processor sparc32 system, running kernel 2.4.29. Upon closer examination it seems to be a scheduler problem.
The two cpu's are never really exploited. When launching two processes they don't allocate evenly distributed. WHile I suspected this under normal usage and when running multiple CC instances during compilation, the proof came from running 2 instances of setiathome (conveniently renamed seti1 and seti2).

The two processes are equal and the rest of the system is idle except for TOP. The two processes do not distribute one for each cpu, giving a system load of about 2 like it happens on other operating systems (eg. Solaris). Instead they run both on one cpu. Not only, they migrate at interval of about less than a second to the other cpu, thus trashing the caches of the cpu too. Needless to say, the performance is meager.

Running emerge shows hardly an improvement when using 2 cpus !

Also adding "other" processes in the background yielded no better results. Process tend tobe distributed unevenly on the cpus and I see the setiathome processes migrate from cpu 0 to 1.

Starting a third, big process like "emerge" which then takes a long while during the ache update shows all 3 processes running on one cpu, then migrating one after the other to the other cpu and back....

anyone experiences this problem?

Gathering from chat with other peoples that use both x86 and sparc32 tell me it is a peculiarity of the latter. Supposedly 2.6 shows improvments in SMP on x86, but on sparc32 it is still unstable.

Comments? Suggestions?
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
tunkaflux
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 76

PostPosted: Tue Mar 01, 2005 5:57 am    Post subject: Reply with quote

I've been running Gentoo on my SparcStation 20 since about a year ago. This machine has dual 75 Mhz procs. I don't see the problems you are having. I.e. when 2 processes are running, both cpu's are at 100% in top/htop...
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 177
Location: Italy

PostPosted: Tue Mar 01, 2005 9:08 am    Post subject: Reply with quote

interesting, other people reported problems like I experience instead. Did you try running two identical processes on an idle box like seti and see how they allocate as time passes?
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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