Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] why firefox is so slow?
Date: Sat, 06 May 2006 02:05:09
Message-Id: 20060506015429.GB10846@waltdnes.org
In Reply to: Re: [gentoo-user] why firefox is so slow? by lordsauronthegreat@gmail.com
1 On Thu, May 04, 2006 at 09:15:03PM -0700, lordsauronthegreat@×××××.com wrote
2
3 > > make an emerge --newuse --ask world after you have finished.
4 >
5 > I'm not doing that again! Last time I tried that.... one night,
6 > all day long, and it only did 38 of 283 packages or something.
7 > It was *horrible.*
8 >
9 > Next time I try that, I'll totally exit KDE and do it 100% from the
10 > command line so as to make sure every single last shred of memory
11 > is there to do it. Even then, it'll be over a very long vacation.
12 >
13 > However, I will start perfecting my setting now, so that when I
14 > update/install new things they reflect changes to make the system
15 > faster!
16
17 The final USE settings are a combination of system defaults and your
18 USE variable. In your case it's...
19
20 USE=" X a52 aac alsa apache2 acpi arts audiofile avi berkdb bitmap-fonts bzip2
21 cdr cli crypt ctype cups dba eds directfb doc dri dvd dvdread elibc_glibc
22 emboss encode esd ethereal exif expat fam fastbuild foomaticdb
23 force-cgi-redirect fortran ftp gd gcj gdbm gif glut gmp gnome gpm gstreamer
24 gtk gtk2 gtkhtml guile hal hardened idn imlib ipv6 jpeg java javascript kde
25 kdexdeltas kernel_linux lcms libg++ libwww mad memlimit mikmod mhash mng
26 motif mozilla mime mmx mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre
27 pdflib perl png posix python qt quicktime readline samba sdl session
28 simplexml slang soap sockets spell spl ssl sse sse2 svg tcltk tcpd tiff
29 tokenizer truetype truetype-fonts type1-fonts usb udev userland_GNU vorbis
30 x86 xml xml2 xmms xsl xv zlib"
31
32 Note that USE controls *OPTIONAL* stuff. If package A *REQUIRES*
33 package B, "emerge A" will attempt to build package B first regardless
34 of what you put in USE. Optional stuff means additional functionality.
35 E.g. you can build gimp with "-jpeg -tiff" and it'll still handle other
36 types of graphics. The "mmx sse" flags speed up computations by any app
37 that can use it. Those apps will still run with "-mmx -sse", but slower.
38
39 Let's just say that I strongly disagree with some of the defaults that
40 the developers have chosen. There is a way to take matters into your
41 own hands, and over-ride the defaults. That is done by putting "-*" at
42 the beginning of USE, like so...
43 USE="-*"
44
45 and then adding only the stuff that you need. In your case, you may
46 find it easier to re-install from scratch one of these days. I'll deal
47 with the flags in functional groups. Here are my settings. Yours may
48 vary depending on your hardware ("3dnow" is AMD-specific) and any
49 programs that require specific settings.
50
51 USE="-* 3dnow X a52 aac alsa bzip2 cdr dga dio divx4linux dri dvd dvdr
52 dvdread encode exif ffmpeg flac fortran gb gif gtk2 imlib jpeg maildir
53 mikmod mime mmap mmx mng mp3 mpeg ncurses nptl nptlonly nsplugin
54 offensive ogg opengl plotutils png posix quicktime readline sdl
55 sharedmem slang sockets sse sse2 theora threads tiff truetype vcd vorbis
56 win32codecs wmf xpm xv zlib"
57
58 In addition, I have some custom settings in /etc/portage/package.use
59
60 ##########################
61 app-emulation/qemu softmmu
62 app-misc/mc -X
63 app-mobilephone/gnokii sms
64
65 # If it doesn't have the "motif" flag, xpdf only installs its libs,
66 # but *NOT* the executable... oops.
67 app-text/xpdf motif
68 media-gfx/gimp doc
69 media-gfx/imagemagick doc
70 media-libs/win32codecs real
71 media-video/mplayer custom-cflags i8x0 real 3dnowext mmxext
72 net-misc/wget ssl
73 net-nntp/slrn uudeview
74
75 # Greatly cuts down on multi-lingual garbage
76 sys-libs/glibc userlocales
77 www-client/w3m -X -imlib
78
79 x11-base/xorg-x11 bitmap-fonts font-server truetype-fonts type1-fonts
80
81 # If it's going to be a rescue package, it damn well better work
82 # standalone when libraries get screwed up.
83 sys-apps/busybox static
84 ##########################
85
86
87 --
88 Walter Dnes <waltdnes@××××××××.org> In linux /sbin/init is Job #1
89 My musings on technology and security at http://tech_sec.blog.ca
90 --
91 gentoo-user@g.o mailing list