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: Fri, 5 May 2006 16:12:08 +0530	[thread overview]
Message-ID: <20060505104208.GB5416@mainframe> (raw)
In-Reply-To: <200605020851.06375.volker.armin.hemmann@tu-clausthal.de>

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

Hemmann, Volker Armin wrote:
> On Tuesday 02 May 2006 08:18, Farhan Ahmed wrote:
> 
> 
> > 	CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
> >
> 
> no, just no. This breaks enough stuff. Do not tell others to use it. If you 
> want to use it. Fine. But do not tell anybody else to do it.

According to http://gentoo-wiki.com/CFLAGS_matrix
-fvisibility-inlines-hidden is recommended especially for KDE users..
Atleast while KDE it does not effect and is indeed recommended..

 
> 
> > > MAKEOPTS=""
> >
> > 	MAKEOPTS="-j2"
> 
> -j1 is a good one for singlecore/single cpu computer, where the compiling is 
> running in the background. 

No for singlecore/single cpu computer, -j2 is recommended.. Read
MAKEOPTS section in:

  http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=5#doc_chap5

> 
> >
> > > ACCEPT_KEYWORDS=""
> 
> >
> > Also if you wish add these lines to /etc/make.conf
> >
> > 	LDFLAGS="-Wl,-O1,-z,now,--sort-common"
> 
> are you totally sure, that this do not break something? do this flags bring 
> anything, that can not be archived with prelink?
> 
> Again, you might want to use them, but you should not tell somebody else to 
> use them.-

Honestly I think I was wrong in recommending this.. But during the
emerge process of some packages there's a suggestion to use at least a 
part of the LDFLAGS quoted above.. It's like a security warning.. I
decided to use these flags after reading a lot about them in Gentoo
forms

> 
> >
> > > 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..
> 
> you think - but you don't know what he wants and needs.
> 
> btw, I would emerge ufed and work down the list....

I've never used ufed, but after reading bout it now I think it's better
than manually editing.. Regardless of what way one chooses to select USE
flags I believe one must select the USE flags that are necessary..
The more features you got the more memory bloat it becomes..

> 
> >
> > 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
> 
> so you want to break douzends of packages for him? Why? -dri? Maybe he needs 
> it? fbcon? Why? who needs it? You are telling him to deactivate usefull stuff 
> and activate useless? Great!

I didn't recommend this to him.. You have misquoted me.. You missed the
sentence which said "Take a look at my USE flags".. These USE flags are
mine and I quoted them just to explain how to edit these files.. I don't
know what his system is so cant recommend the USE flags..

> 
> 
> > 	VIDEO_CARDS="<your video card" #like nvidia, ati
> that is not needed anymore. Look into the use descriptions. Or even better, 
> get familiar with ufed.

If you use Xorg-7.0 it is useful.. (Also xine if I remember correctly(?))

> 
> 
> > 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
> 
> oh, yeah, increase the work and risk subtle breakage here and there ....

There's always a risk when it comes to fine tuning your system that it
may break things.. You've to pay the price experimenting.. If you are
not brave enough the default are good, but performance will not match
the fine tuned machine (Although I'm sure the performance gain is not 
worth the trouble, but the learning experience is worth)

Bye,
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 --]

  parent reply	other threads:[~2006-05-05 10:50 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
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 [this message]
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=20060505104208.GB5416@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