Message boards : Number crunching : Question for linux gurus
Author | Message |
---|---|
dgnuff Send message Joined: 1 Nov 05 Posts: 350 Credit: 24,773,605 RAC: 0 |
I suspect this may be a BOINC issue rather than a Rosetta issue, if so I'll take the question over to the Boinc forums. However, is there a quick tweak I can do to one of the two linux systems I have crunching (Gentoo) that will allow it to use both halves of the CPU it's on. Exactly the same hardware (DELL 4700) as one of my XP systems, and my other linux box running Fedora Core. Both these two crunch two WU, while the Gentoo box only crunches one. Linux boxen: Gentoo Fedora Core 4 Windows box: Windows Or will it even make a difference? I seem to remember a discussion on the Find-a-drug boards that mentioned running two WU on a hyperthreading intel box was actually counterproductive. So what's the scoop here? -- Edit -- added links to systems -- -- 2nd Edit -- found FC box doing the right thing -- |
Delk Send message Joined: 20 Feb 06 Posts: 25 Credit: 995,624 RAC: 0 |
I dont run gentoo but it sounds like your kernel is not SMP enabled. Gentoo probably has a different kernel package which contains SMP support, so if you install that one and reboot you'll be able to use the 2nd. |
River~~ Send message Joined: 15 Dec 05 Posts: 761 Credit: 285,578 RAC: 0 |
I dont run gentoo but it sounds like your kernel is not SMP enabled. First, if other people have this problem, check your BOINC general preferences (link from your personal a/c page). What is the max cpu setting? Even if your box has two cpus, and even if your operatijg system is up for them, BOINC will not run more than it is allowed. Becasue the Win box runs OK, and because in the computer page it shows you as having only 1 cpu on the Gentoo box, I agree it is more likely to be about SMP I had the same issue on DEbian and on a box that is currently running CPDN. Debian users can fix this by running aptitude, loading the pseudo-package called kernel, which suggests all the available pre-compiled options and you'd then pick the one with SMP in the name. Gentoo has a more restricted range of pre-compiled kernels, which are really only intended to get you going. The Gentoo style is to re-compile your own kernel anyway, so their installer does less for you than (say) Debian's. The Gentoo creators figure there is no point spending their dev time creating a huge range of kernels that will only be used to support the user to roll their own. If there is no pre-compiled kernel with SMP in its name, or if you have already custom compiled your kernel without SMP, then you need to look at your kernel compile-time options for the one to switch on SMP. Oh - and then recompile of course! In my experience, with hands on tuning Gentoo gives the best results of any Linux distro, but without hends on tuning Gentoo often falls far short of the performance of say SuSe, Fedora, or Debian. In my mind Gentoo is strictly for people (like me) who get more fun out of tuning their system than out of using it ;-) River~~ edits: added advice to other people, who may have similar symptoms but unlike dgnuff may simply have an issue with BOINC settings. Tip for replies: always consider that advice on these boards is acted on by others besides the original questionner. R~~ |
MAOJC Send message Joined: 19 Jan 06 Posts: 15 Credit: 2,727,567 RAC: 0 |
You may want to look at Ubuntu. While the base install only supports single CPUs the package manager in there has the SMP kernel available for download and installation. The base install is a single ISO cd download unlike the big distros like Fedora or Suse. I run the AMD64 version my Dual cores and it performs well. Ubuntu is super easy to setup and get running and seems to support a large range of platforms and hardware right out of the "box". They also have a live CD version so you can see if it suits your needs prior to a full blown install. |
Dimitris Hatzopoulos Send message Joined: 5 Jan 06 Posts: 336 Credit: 80,939 RAC: 0 |
Right, a Unix kernel needs to be SMP-enabled for a system to "recognize" the 2nd CPU (and any application, incl. BOINC to use it). I don't use Gentoo but found this: Gentoo SMP kernel discussion As others pointed out, in today's user-friendly systems, there's usually a "package" that installs the SMP-enabled kernel, e.g. for Debian (and Debian-derivative Ubuntu):
and you'd use something like
to install it, reboot and you're done. But, if a CPU is HT (HyperThreaded) rather than "true" dual-core, then the performance diff is small and you might not want to bother with it (unless you like tweaking) Best UFO Resources Wikipedia R@h How-To: Join Distributed Computing projects that benefit humanity |
dgnuff Send message Joined: 1 Nov 05 Posts: 350 Credit: 24,773,605 RAC: 0 |
Right, a Unix kernel needs to be SMP-enabled for a system to "recognize" the 2nd CPU (and any application, incl. BOINC to use it). I don't use Gentoo but found this: Got it working, thanks to this link. Turns out I have a SMP enabled kernel running on the system already, but some comedian (i.e. the previous owner of the system) had disabled hyperthreading in the BIOS. Turned on hyperthreading, and Gentoo is now crunching two at a time. Thanks for all the help, guys! |
River~~ Send message Joined: 15 Dec 05 Posts: 761 Credit: 285,578 RAC: 0 |
Yep, Gentoo shows 2 cpu now so all of us can see the difference (hey - that will confuse latecomers to this thread)
you are very welcome - I've seen your posts elsewhere & you are not slow to offer help to others yourself not to mention that avatar which makes me smile whenever you post ;-) |
Message boards :
Number crunching :
Question for linux gurus
©2024 University of Washington
https://www.bakerlab.org