public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Farhan Ahmed <farhanahmed06@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] why firefox is so slow?
Date: Tue, 2 May 2006 11:48:08 +0530	[thread overview]
Message-ID: <20060502061808.GE6756@mainframe> (raw)
In-Reply-To: <200605012107.14074.lordsauronthegreat@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3314 bytes --]

lordsauronthegreat@gmail.com wrote:
> (snip)
> 
> So I went through all those different USE flags, and added ones I knew I could 
> add without anything blowing up.  This is what I get:
> 
> # These settings were set by the catalyst build script that automatically 
> built this stage
> # Please consult /etc/make.conf.example for a more detailed example
> #CFLAGS="-O2 -march=i686 -pipe"
> CFLAGS="-march=i686 -O2 -pipe"

I'd suggest CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"

> CHOST="i686-pc-linux-gnu"
> CXXFLAGS="${CFLAGS}"

	CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"

> MAKEOPTS=""

	MAKEOPTS="-j2"

> ACCEPT_KEYWORDS=""

If you wish to have latest packages, change ACCEPT_KEYWORDS="~x86", it
might make your system a bit unstable but going through my experience it
has not broken a thing in my system.

Also if you wish add these lines to /etc/make.conf

	LDFLAGS="-Wl,-O1,-z,now,--sort-common"

> USE=" X a52 aac alsa apache2 acpi arts audiofile avi berkdb bitmap-fonts bzip2 
> cdr cli crypt ctype cups dba eds directfb doc dri dvd dvdread elibc_glibc 
> emboss encode esd ethereal exif expat fam fastbuild foomaticdb 
> force-cgi-redirect fortran ftp gd gcj gdbm gif glut gmp gnome gpm gstreamer 
> gtk gtk2 gtkhtml guile hal hardened idn imlib ipv6 jpeg java javascript kde 
> kdexdeltas kernel_linux lcms libg++ libwww mad memlimit mikmod mhash mng 
> motif mozilla mime mmx mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre 
> pdflib perl png posix python qt quicktime readline samba sdl session 
> simplexml slang soap sockets spell spl ssl sse sse2 svg tcltk tcpd tiff 
> tokenizer truetype truetype-fonts type1-fonts usb udev userland_GNU vorbis 
> x86 xml xml2 xmms xsl xv zlib"

Do you really need all these USE flags and features? I think not.. Add
USE flags that really are useful not add them just because they might
become useful sometime.. The more features you have in your packages,
the slower and more memory hungry they are.. Take a look at my USE
flags..

USE="-X -arts -apache2 -berkdb -cups -dri -eds -esd -gdbm -gnome
-gstreamer -gtk -gpm -xmms 3dnow acl bash-completion bzip2 fbcon hal lzo
mbox mmx nsplugin nvidia offensive sse svga tiff urandom"

-X because I don't every application to be built with X support, -arts
because of the same reason.. The applications that i think will need X
support I add a line like this to /etc/portage/package.use

	media-libs/imlib2 X

Also if i need to remove some support from packages, i add line like
this to /etc/portage/package.use

	www-client/links -jpeg -png -sdl -svga -tiff

I also don't suggest hardened USE flag.. You most certainly don't need
them.. Trust me..

Add these lines to /etc/make.conf to further fine tune tour system..

	VIDEO_CARDS="<your video card" #like nvidia, ati
	INPUT_DEVICES="keyboard mouse" #add anything extra you've

Remember, always add the minimum USE flags you need to /etc/make.conf,
you should always tune your system to specific packages by adding USE
flags to be used for the specific package to /etc/portage/package.use

> (snip)

Farhan Ahmed
-- 
Place		:  Bangalore, Karnataka, India
GPG Key		:  8BE90E98
WengoPhone ID	:  farhanahmed
IRC Nick	:  farhanahmed / farhanahmed06 (irc.freenode.net)

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-05-02  6:28 UTC|newest]

Thread overview: 121+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-30 12:24 [gentoo-user] why firefox is so slow? wu chuanwen
2006-04-30 12:36 ` Jeff Rollin
2006-04-30 13:04   ` wu chuanwen
2006-04-30 14:06     ` Alexander Skwar
2006-04-30 14:20       ` Jeff Rollin
2006-04-30 14:22         ` Jeff Rollin
2006-04-30 14:29           ` Alexander Skwar
2006-04-30 23:15             ` Ryan Tandy
2006-05-01 18:46           ` lordsauronthegreat
2006-05-01 23:32             ` Farhan Ahmed
2006-05-02  4:07               ` lordsauronthegreat
2006-05-02  6:18                 ` Farhan Ahmed [this message]
2006-05-02  6:51                   ` Hemmann, Volker Armin
2006-05-04  3:57                     ` lordsauronthegreat
2006-05-04 11:42                       ` Hemmann, Volker Armin
2006-05-05  4:15                         ` lordsauronthegreat
2006-05-06  1:54                           ` Walter Dnes
2006-05-05 10:42                     ` Farhan Ahmed
2006-05-05 11:02                       ` Hemmann, Volker Armin
2006-05-05 11:17                         ` Farhan Ahmed
2006-05-05 13:04                           ` Hemmann, Volker Armin
2006-05-05 13:19                             ` Farhan Ahmed
2006-05-05 14:06                               ` Hans-Werner Hilse
2006-05-05 15:22                                 ` Hemmann, Volker Armin
2006-05-05 15:28                                   ` Hemmann, Volker Armin
2006-05-05 16:43                                     ` [gentoo-user] OOM-Killer upon compilation/emerge on AMD64 (was: Re: why firefox is so slow?) Hans-Werner Hilse
2006-05-05 17:14                                       ` Hemmann, Volker Armin
2006-05-05 17:48                                 ` [gentoo-user] why firefox is so slow? Alexander Skwar
2006-05-07 10:29                                   ` wu chuanwen
2006-05-05 14:20                               ` Alexander Skwar
2006-05-05 15:22                                 ` Hemmann, Volker Armin
2006-05-05 17:49                                   ` Alexander Skwar
2006-05-05 18:01                                     ` Hemmann, Volker Armin
2006-05-05 15:27                               ` Hemmann, Volker Armin
2006-05-05 15:35                                 ` Farhan Ahmed
2006-05-05 17:16                                   ` Hemmann, Volker Armin
2006-05-05 17:58                                     ` Farhan Ahmed
2006-05-05 21:15                                       ` Hemmann, Volker Armin
2006-05-05 22:36                                         ` Maurice E Johnson
2006-05-05 23:03                                           ` Peter Kelly
2006-05-09 21:16                                         ` Farhan Ahmed
2006-05-05 22:41                                       ` Peter Kelly
2006-05-02 16:34                   ` Richard Fish
2006-05-04  4:02                     ` lordsauronthegreat
2006-05-04  6:24                       ` Boyd Stephen Smith Jr.
2006-05-05  0:27                       ` Walter Dnes
2006-05-05  4:18                         ` lordsauronthegreat
2006-05-05  4:35                           ` Ryan Tandy
2006-05-05 18:55                             ` Walter Dnes
2006-05-05 22:00                               ` Boyd Stephen Smith Jr.
2006-05-02  5:43             ` Alexander Skwar
2006-04-30 14:31         ` Alexander Skwar
2006-04-30 15:31           ` Jeff Rollin
2006-04-30 17:00             ` Richard Fish
2006-04-30 17:54               ` wu chuanwen
2006-04-30 18:19                 ` Alexander Skwar
2006-04-30 19:25             ` Farhan Ahmed
2006-04-30 14:42         ` wu chuanwen
2006-04-30 14:39       ` wu chuanwen
2006-04-30 15:47         ` Alexander Skwar
2006-04-30 16:54           ` wu chuanwen
2006-04-30 17:25             ` Alexander Skwar
2006-04-30 19:39           ` Farhan Ahmed
2006-05-01 18:54           ` lordsauronthegreat
2006-05-02  2:41             ` Nich Steicke
2006-05-02  5:21               ` Graham Murray
2006-05-02  5:52                 ` Alexander Skwar
2006-05-02  5:50             ` Alexander Skwar
2006-05-04  4:56               ` lordsauronthegreat
2006-05-05  6:11                 ` Alexander Skwar
2006-04-30 12:59 ` Alexander Skwar
2006-04-30 13:05   ` Andrea Barisani
2006-04-30 13:35     ` wu chuanwen
2006-05-01  0:27       ` Andrea Barisani
2006-05-01  1:55         ` wu chuanwen
2006-04-30 13:18   ` wu chuanwen
2006-04-30 13:22     ` wu chuanwen
2006-04-30 13:36       ` Raymond Lewis Rebbeck
2006-04-30 13:51         ` wu chuanwen
2006-04-30 20:13           ` Benno Schulenberg
2006-05-01  2:10             ` wu chuanwen
2006-04-30 13:57     ` Alexander Skwar
2006-04-30 15:40   ` Philip Webb
2006-05-01 18:58   ` lordsauronthegreat
2006-05-02  5:57     ` Alexander Skwar
2006-05-04  5:01       ` lordsauronthegreat
2006-05-05  6:16         ` Alexander Skwar
2006-04-30 17:10 ` Heiko Wundram
2006-04-30 17:52   ` wu chuanwen
2006-04-30 17:52   ` Kesara Rathnayake
2006-04-30 18:21     ` Alexander Skwar
2006-04-30 19:49       ` Farhan Ahmed
2006-04-30 20:11         ` Jeff Rollin
2006-04-30 20:22           ` David Morgan
2006-04-30 20:28             ` Jeff Rollin
2006-04-30 20:34           ` Farhan Ahmed
2006-04-30 20:50             ` David Morgan
2006-05-03  9:45               ` The Slash
2006-05-07  5:24                 ` Richard Fish
2006-04-30 23:26             ` Ryan Tandy
2006-04-30 23:55               ` Jeff Rollin
2006-05-01  1:59             ` Richard Fish
2006-05-01 19:14           ` lordsauronthegreat
2006-05-02  5:58             ` Alexander Skwar
2006-05-02 16:37               ` Richard Fish
2006-05-01 14:55       ` Justin Patrin
2006-05-02  3:29         ` lordsauronthegreat
2006-05-02  6:03           ` Alexander Skwar
2006-05-04  5:19             ` lordsauronthegreat
2006-05-05  6:22               ` Alexander Skwar
2006-05-05  8:37                 ` Hans-Werner Hilse
2006-05-05 13:33               ` Bo Andresen
2006-05-01 19:11       ` lordsauronthegreat
2006-05-02  6:14         ` Alexander Skwar
2006-05-04  5:14           ` lordsauronthegreat
2006-05-05  6:31             ` Alexander Skwar
2006-05-02 13:05 ` Tero Grundström
2006-05-04  5:21   ` lordsauronthegreat
2006-05-05  4:16     ` Jamie
2006-05-05  4:30     ` Willie Wong
2006-05-05  6:33     ` Alexander Skwar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060502061808.GE6756@mainframe \
    --to=farhanahmed06@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox