Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


CFLAGS for Xenodes?

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Performance and Tuning
Author Message
zunzun



Joined: 18 Feb 2005
Posts: 167
Location: Birmingham, Alabama USA

Posted: Sat Mar 08, 2008 4:51 pm    Post subject: CFLAGS for Xenodes?  

Does anyone have a CFLAGS (SSE2, MMX, etc.) for the Xenodes?

James
Back to top  
zunzun



Joined: 18 Feb 2005
Posts: 167
Location: Birmingham, Alabama USA

Posted: Sat Mar 22, 2008 3:26 pm    Post subject:  

ATLAS (Automatically Tuned Linear Algebra Subroutines) yielded;

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

James
Back to top  
zunzun



Joined: 18 Feb 2005
Posts: 167
Location: Birmingham, Alabama USA

Posted: Sun Mar 23, 2008 8:16 am    Post subject:  

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
Back to top  
zunzun



Joined: 18 Feb 2005
Posts: 167
Location: Birmingham, Alabama USA

Posted: Sun Mar 23, 2008 9:17 am    Post subject:  

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
Back to top  
elw00d



Joined: 25 Apr 2006
Posts: 23
Location: At the helldesk

Posted: Sun May 04, 2008 8:13 pm    Post subject:  

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.
Back to top  
JKWood



Joined: 05 Mar 2008
Posts: 2

Posted: Wed May 14, 2008 10:44 am    Post subject:  

I wasn't aware that I could listen to sound on my linode. You've changed my life!
Back to top  
elw00d



Joined: 25 Apr 2006
Posts: 23
Location: At the helldesk

Posted: Sun Jun 29, 2008 4:24 am    Post subject:  

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.
Back to top  
 
       Linode.com Forum Forum Index -> Performance and Tuning
Page 1 of 1