Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on Sparc
  • Search

SMP on sparc32 scheduling problems

Have a Sparc system? Post here.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
multix
Apprentice
Apprentice
User avatar
Posts: 251
Joined: Sun Nov 28, 2004 9:45 am
Location: Italy
Contact:
Contact multix
Website

SMP on sparc32 scheduling problems

  • Quote

Post by multix » Mon Feb 28, 2005 9:26 am

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.
Top
tunkaflux
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Wed Aug 20, 2003 7:13 pm
Contact:
Contact tunkaflux
Website

  • Quote

Post by tunkaflux » Tue Mar 01, 2005 5:57 am

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...
Top
multix
Apprentice
Apprentice
User avatar
Posts: 251
Joined: Sun Nov 28, 2004 9:45 am
Location: Italy
Contact:
Contact multix
Website

  • Quote

Post by multix » Tue Mar 01, 2005 9:08 am

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.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Gentoo on Sparc”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy