Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: CFLAGS for Xenodes?
PostPosted: Sat Mar 08, 2008 5:51 pm 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
Does anyone have a CFLAGS (SSE2, MMX, etc.) for the Xenodes?

James


Top
   
 Post subject:
PostPosted: Sat Mar 22, 2008 4:26 pm 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
ATLAS (Automatically Tuned Linear Algebra Subroutines) yielded;

CFLAGS='-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -m32'

James


Top
   
 Post subject:
PostPosted: Sun Mar 23, 2008 9:16 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
zunzun wrote:
CFLAGS='-fomit-frame-pointer -mfpmath=sse -msse3 -O2 -m32'


Looks like SSE3 is giving seg faults. Trying:

export CFLAGS='-fomit-frame-pointer -momit-leaf-frame-pointer -mtune=pentium4 -ffast-math --mfpmath=sse -funroll-loops -O2 -m32 -fexpensive-optimizations'

I'm not debugging, so I'm trying -momit-leaf-frame-pointer.

James


Top
   
 Post subject:
PostPosted: Sun Mar 23, 2008 10:17 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
Hmm. It might be that the Xen box has 64-bit processors, but running as 32 bits; trying full ATLAS tune now. This takes a while.

James


Top
   
 Post subject:
PostPosted: Sun May 04, 2008 9:13 pm 
Offline
Junior Member

Joined: Tue Apr 25, 2006 8:02 pm
Posts: 23
Location: At the helldesk
zunzun wrote:
CFLAGS='-fomit-frame-pointer -momit-leaf-frame-pointer -mtune=pentium4 -ffast-math --mfpmath=sse -funroll-loops -O2 -m32 -fexpensive-optimizations


You probably know what you're doing, but any mention of -ffast-math needs the health warning of RT(F)M before using, unless you don't care about loss of precision in floating point operations.

Having said that it gives some audio software a more natural sound if you have freaky enough hearing to tell the difference.

_________________
Open Sorcery
http://technomancer.me.uk


Top
   
 Post subject:
PostPosted: Wed May 14, 2008 11:44 am 
Offline
Junior Member

Joined: Wed Mar 05, 2008 8:15 pm
Posts: 21
Website: http://www.slaxer.com
I wasn't aware that I could listen to sound on my linode. You've changed my life!


Top
   
 Post subject:
PostPosted: Sun Jun 29, 2008 5:24 am 
Offline
Junior Member

Joined: Tue Apr 25, 2006 8:02 pm
Posts: 23
Location: At the helldesk
Was the first example I could think of where -ffast-math did something noticeably interesting as opposed to just plan broke something. I don't think I've ever had the need to use my linode for audio processing, I just used to have a gentoo addiction.

_________________
Open Sorcery

http://technomancer.me.uk


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


Who is online

Users browsing this forum: No registered users and 3 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