1 |
Hi Walter, |
2 |
|
3 |
On Jan 27, 2008 3:55 PM, Walter Dnes <waltdnes@××××××××.org> wrote: |
4 |
> On Sat, Jan 26, 2008 at 07:39:47PM +0900, Mike Mazur wrote |
5 |
> |
6 |
> > CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" |
7 |
> |
8 |
> The -march option may or may not invoke mmx, sse, sse2, etc in the |
9 |
> CFLAGS line but it definitely does *NOT* invoke them in the USE variable. |
10 |
> |
11 |
> > USE="gtk gtk2 gnome -apm -eds -emboss -gstreamer -qt -qt3 -qt4 -kde |
12 |
> > -ldap -arts -esd -oss -xv X a52 aac acpi alsa avahi bash-completion |
13 |
> > bluetooth cdr cjk crypt dbus dvd dvdr exif firefox gphoto hal ipod |
14 |
> > jpeg mbox mp3 nptl nptlonly ogg opengl png pulseaudio spell ssl |
15 |
> > startup-notification svg theora tiff vorbis wifi xinerama" |
16 |
> |
17 |
> I have mmx, sse, sse2, and a few AMD-specific options in my USE |
18 |
> variable. Can you show us the output of the command... |
19 |
> |
20 |
> grep flags /proc/cpuinfo |
21 |
|
22 |
The output of `grep flags /proc/cpuinfo` is: |
23 |
|
24 |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge |
25 |
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx |
26 |
lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 |
27 |
ssse3 cx16 xtpr lahf_lm |
28 |
|
29 |
> Then we can see what to add. If you are *NOT* taking advantage of the |
30 |
> available extensions, you won't get the available oomph out of your cpu. |
31 |
> It's not so much a matter of raw speed as ability to do complex |
32 |
> calculations in the chipset microcode, rather than painfully emulating |
33 |
> it in software. One of the features of Gentoo is customizing your build |
34 |
> to get the most out of your cpu. Use it... within reason. |
35 |
|
36 |
This enters a realm I haven't visited before... |
37 |
|
38 |
Makes lots of sense. I guess I'll need to recompile everything if I |
39 |
want any changes to come into effect? |
40 |
|
41 |
> mplayer also takes a few custom flags. In /etc/portage/package.use I |
42 |
> have the entry |
43 |
> |
44 |
> media-video/mplayer custom-cflags i8x0 real 3dnowext mmxext |
45 |
> |
46 |
> With an Intel cpu, you obviously don't want "3dnowext", but there may |
47 |
> be other stuff worth using. To find out what's available, use... |
48 |
> |
49 |
> grep mplayer /usr/portage/profiles/use.local.desc | less |
50 |
|
51 |
Looks like I have lots of reading ahead of me :) Need to figure out |
52 |
what those CPU extensions mean or do and how not to abuse that power! |
53 |
|
54 |
Thanks a lot, |
55 |
Mike |
56 |
-- |
57 |
gentoo-user@l.g.o mailing list |