Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jul 21, 2004 5:31 am 
Offline
Junior Member

Joined: Wed Jul 21, 2004 4:45 am
Posts: 21
Website: http://www.percederberg.net
Location: Stockholm, Sweden
Looking around a bit I didn't find any clear statement regarding what the CPU archtecture of my linode (host28) is. My guess would be pentium4, but is that right? (UML dmesg and /proc/cpuinfo aren't very informative in this regard...)

The CFLAGS wasn't set for the Gentoo distro I just installed, which is of course what I'm going to use this info for... :-)


Top
   
 Post subject:
PostPosted: Wed Jul 21, 2004 10:20 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Hello,

If you have a look at the products page:

http://www.linode.com/products/linodes.cfm

Near "Max CPU": "Dual 2.66 GHz Xeon"

-Chris


Top
   
 Post subject:
PostPosted: Wed Jul 21, 2004 11:11 am 
Offline
Junior Member

Joined: Wed Jul 21, 2004 4:45 am
Posts: 21
Website: http://www.percederberg.net
Location: Stockholm, Sweden
Ahh... Right! I've seen that info before, just didn't think about it this time around... :oops:

Many thanks!

To avoid the issue altogether, I'd recommend setting the following in the Gentoo /etc/make.conf file in the image(s):

CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -fstack-protector -pipe"
CXXFLAGS="${CFLAGS}"

(Think the last one is needed if you override the CFLAGS.)


Top
   
 Post subject:
PostPosted: Wed Jul 21, 2004 6:48 pm 
Offline
Senior Newbie

Joined: Fri Jul 16, 2004 5:56 pm
Posts: 6
ICQ: 11149168
Be careful with --march=pentium4 or --mcpu=pentium4. As make.conf warns, pentium4 may sometimes generate invalid MMX2 instructions - using pentium3 is safer.


Top
   
 Post subject:
PostPosted: Thu Jul 22, 2004 5:47 am 
Offline
Junior Member

Joined: Wed Jul 21, 2004 4:45 am
Posts: 21
Website: http://www.percederberg.net
Location: Stockholm, Sweden
Thanks for the warning about pentium4. I wasn't aware of it since I've been absent from the Gentoo world for about half a year.

Anyway, did some research on the topic and it seems the problems were resolved as of gcc 3.2.3 as noted here and in the GCC changelog. Not quite sure it is the same issue though, so I'll keep my eyes open for segfaults in the future (although I've seen none of them at home after several weeks on pentium4 optimized binaries). Also, I only found the note you mentioned in the make.conf at Linode, not in my recent home installation. It is no longer present in the make.conf in CVS either.

All in all, I think we are safe from this nowadays, but thanks anyways.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group