Hi Walter,

On Jan 27, 2008 3:55 PM, Walter Dnes <[EMAIL PROTECTED]> wrote:
> On Sat, Jan 26, 2008 at 07:39:47PM +0900, Mike Mazur wrote
>
> > CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
>
>   The -march option may or may not invoke mmx, sse, sse2, etc in the
> CFLAGS line but it definitely does *NOT* invoke them in the USE variable.
>
> > USE="gtk gtk2 gnome -apm -eds -emboss -gstreamer -qt -qt3 -qt4 -kde
> > -ldap -arts -esd -oss -xv X a52 aac acpi alsa avahi bash-completion
> > bluetooth cdr cjk crypt dbus dvd dvdr exif firefox gphoto hal ipod
> > jpeg mbox mp3 nptl nptlonly ogg opengl png pulseaudio spell ssl
> > startup-notification svg theora tiff vorbis wifi xinerama"
>
>   I have mmx, sse, sse2, and a few AMD-specific options in my USE
> variable.  Can you show us the output of the command...
>
> grep flags /proc/cpuinfo

The output of `grep flags /proc/cpuinfo` is:

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx
lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2
ssse3 cx16 xtpr lahf_lm

>   Then we can see what to add.  If you are *NOT* taking advantage of the
> available extensions, you won't get the available oomph out of your cpu.
> It's not so much a matter of raw speed as ability to do complex
> calculations in the chipset microcode, rather than painfully emulating
> it in software.  One of the features of Gentoo is customizing your build
> to get the most out of your cpu.  Use it... within reason.

This enters a realm I haven't visited before...

Makes lots of sense. I guess I'll need to recompile everything if I
want any changes to come into effect?

>   mplayer also takes a few custom flags.  In /etc/portage/package.use I
> have the entry
>
> media-video/mplayer custom-cflags i8x0 real 3dnowext mmxext
>
>   With an Intel cpu, you obviously don't want "3dnowext", but there may
> be other stuff worth using.  To find out what's available, use...
>
> grep mplayer /usr/portage/profiles/use.local.desc | less

Looks like I have lots of reading ahead of me :) Need to figure out
what those CPU extensions mean or do and how not to abuse that power!

Thanks a lot,
Mike
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to