[gentoo-user] Compiling on SMP machine?
Got a dual athlon machine with a SMP kernel and have MAKEOPTS=-j 3 in my make.conf when I emerge something and the source is compiling I am only ever using 100% of a single CPU while the other sits idle. If I have the ksim CPU usage meters running while its cooking you can watch the load being switched from one to the other evertime gcc starts with a fresh file. Any ideas on what I should be doing to get it using both CPU's 100% at the same time? Rick Kitty5 NewMedia http://Kitty5.com POV-Ray News Resources http://Povray.co.uk TEL : +44 (01270) 501101 - ICQ : 15776037 PGP Public Key http://pgpkeys.mit.edu:11371/pks/lookup?op=getsearch=0x231E1CEA -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Compiling on SMP machine?
Rick [Kitty5] wrote: Got a dual athlon machine with a SMP kernel and have MAKEOPTS=-j 3 in my make.conf Get rid of the space. Make is MAKEOPTS=-j3 -- Andrew Gaffney -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Compiling on SMP machine?
Andrew Gaffney wrote: Rick [Kitty5] wrote: Got a dual athlon machine with a SMP kernel and have MAKEOPTS=-j 3 in my make.conf Get rid of the space. Make is MAKEOPTS=-j3 Thats how I had it before I noticed it wasnt using both CPU's at the same time, so I put a space in (to no effect) :| Rick Kitty5 NewMedia http://Kitty5.com POV-Ray News Resources http://Povray.co.uk TEL : +44 (01270) 501101 - ICQ : 15776037 PGP Public Key http://pgpkeys.mit.edu:11371/pks/lookup?op=getsearch=0x231E1CEA -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Compiling on SMP machine?
Rick [Kitty5] wrote: Andrew Gaffney wrote: Rick [Kitty5] wrote: Got a dual athlon machine with a SMP kernel and have MAKEOPTS=-j 3 in my make.conf Get rid of the space. Make is MAKEOPTS=-j3 Thats how I had it before I noticed it wasnt using both CPU's at the same time, so I put a space in (to no effect) Try kicking it up a bit more. Try MAKEOPTS=-j6. It can't hurt anything. -- Andrew Gaffney -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Compiling on SMP machine?
Hi ! I have a dual celeron and it works. Some packages will only compile on one CPU (then the -j3 is replaced by -j1 in the ebuild MAKEOPTS=${MAKEOPTS} -j1) I remember some kde-packages which do this: arts, kdelibs :-( and so on Do you have your 1-CPU problem with every package? I don't know ksim, but the programm top uses a cumulative mode. You have to press 1 to get each CPU seperate. Some other questions only for my interest: Which board do you use? Have you XP or MP? joe On Wednesday 24 September 2003 19:15, Rick [Kitty5] wrote: Got a dual athlon machine with a SMP kernel and have MAKEOPTS=-j 3 in my make.conf when I emerge something and the source is compiling I am only ever using 100% of a single CPU while the other sits idle. If I have the ksim CPU usage meters running while its cooking you can watch the load being switched from one to the other evertime gcc starts with a fresh file. Any ideas on what I should be doing to get it using both CPU's 100% at the same time? Rick Kitty5 NewMedia http://Kitty5.com POV-Ray News Resources http://Povray.co.uk TEL : +44 (01270) 501101 - ICQ : 15776037 PGP Public Key http://pgpkeys.mit.edu:11371/pks/lookup?op=getsearch=0x231E1CEA -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Compiling on SMP machine?
Joe Stone wrote: I have a dual celeron and it works. Some packages will only compile on one CPU (then the -j3 is replaced by -j1 in the ebuild MAKEOPTS=${MAKEOPTS} -j1) I remember some kde-packages which do this: arts, kdelibs :-( and so on well i only noticed it last night while installing some kde stuff so that might be it, will have a play and see Some other questions only for my interest: Which board do you use? Have you XP or MP? Gigabyte 7DPXDW http://tw.giga-byte.com/Server/Products/Products_GA-7DPXDW-P.htm With 2x athlon 2200+ MP and 1GB of ECC ram. Water-cooled with 1/2 tubing, danger den waterblocks and a whopping ehiem pump - fan noise was driving me mad :) Thought about modding some XP's but didn't feel brave enough, metallic paint would make it tricky to RMA them should I need to. Very happy with it actually, makes for a kicking workstation. Cannot see me going back to a single CPU machine ever again. Rick Kitty5 NewMedia http://Kitty5.com POV-Ray News Resources http://Povray.co.uk TEL : +44 (01270) 501101 - ICQ : 15776037 PGP Public Key http://pgpkeys.mit.edu:11371/pks/lookup?op=getsearch=0x231E1CEA -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Compiling on SMP machine?
On Wednesday 24 September 2003 20:39, Rick [Kitty5] wrote: Joe Stone wrote: I have a dual celeron and it works. Some packages will only compile on one CPU (then the -j3 is replaced by -j1 in the ebuild MAKEOPTS=${MAKEOPTS} -j1) I remember some kde-packages which do this: arts, kdelibs :-( and so on well i only noticed it last night while installing some kde stuff so that might be it, will have a play and see Some other questions only for my interest: Which board do you use? Have you XP or MP? Gigabyte 7DPXDW http://tw.giga-byte.com/Server/Products/Products_GA-7DPXDW-P.htm With 2x athlon 2200+ MP and 1GB of ECC ram. Water-cooled with 1/2 tubing, danger den waterblocks and a whopping ehiem pump - fan noise was driving me mad :) Thought about modding some XP's but didn't feel brave enough, metallic paint would make it tricky to RMA them should I need to. Very happy with it actually, makes for a kicking workstation. Cannot see me going back to a single CPU machine ever again. I second that. I have a pair of 2400 MP's (also too scared for metalic paint). I also have fans due to the expense of liquid cooling - my tower hovers about 2 inches off the ground :-) I have noticed that many compiles override the MAKEOPTS, which I guess is fair enough if the authors believe that it wont compile using multiple jobs. My understand is: Two files: a.cpp - creates shared object a.so b.cpp - creates executable b, but requires a.so to link Therefore if the two jobs of compiling a.cpp and b.cpp start simultaneously, linking of b.cpp will fail. My specifics will probably be a little off there, but I believe it is the correct jist. -- Tom Wesley pgp0.pgp Description: signature
Re: [gentoo-user] Compiling on SMP machine?
On Wed, 2003-09-24 at 16:13, Tom Wesley wrote: On Wednesday 24 September 2003 20:39, Rick [Kitty5] wrote: Thought about modding some XP's but didn't feel brave enough, metallic paint would make it tricky to RMA them should I need to. Very happy with it actually, makes for a kicking workstation. Cannot see me going back to a single CPU machine ever again. I second that. I have a pair of 2400 MP's (also too scared for metalic paint). I also have fans due to the expense of liquid cooling - my tower hovers about 2 inches off the ground :-) I have dual 1700 XP's with the metallic paint mod on a tyan mpx motherboard, works like a charm :) -Dan -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Compiling on SMP machine?
What is metallic paint mod? Yuval Scharf On Wed, 24 Sep 2003, Dan McCombs wrote: On Wed, 2003-09-24 at 16:13, Tom Wesley wrote: On Wednesday 24 September 2003 20:39, Rick [Kitty5] wrote: Thought about modding some XP's but didn't feel brave enough, metallic paint would make it tricky to RMA them should I need to. Very happy with it actually, makes for a kicking workstation. Cannot see me going back to a single CPU machine ever again. I second that.I have a pair of 2400 MP's (also too scared for metalic paint).I also have fans due to the expense of liquid cooling - my tower hovers about 2 inches off the ground :-) I have dual 1700 XP's with the metallic paint mod on a tyan mpx motherboard, works like a charm :) -Dan -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Compiling on SMP machine?
On Thu, 25 Sep 2003 01:55:11 +0300 (IDT) Scharf Yuval [EMAIL PROTECTED] wrote: | What is metallic paint mod? http://www.hardwarezone.com/articles/articles.hwz?cid=2aid=393page=1 A great way to trash two CPUs in an attempt to save small amounts of money. But if you don't want stability or a warranty... -- Ciaran McCreesh Mail: ciaranm at firedrop.org.uk Web:www.firedrop.org.uk System: Gentoo Base System version 1.4.3.10p1 Linux 2.4.20-gaming-r3 -- [EMAIL PROTECTED] mailing list