Help - Search - Members - Calendar
Full Version: speed up firefox
MandrivaUsers.org > General Help > Tips and Tricks
Pages: 1, 2
chin808
Found this one in the AMD forums

1. Type "about:config" in the adress field.
2. Set the value of network.http.pipelining to "true".
3. Set the value of network.http.pipelining.maxrequests to "100".
4. Set the value of network.http.proxy.pipelining to "true"
5. Set the value of nglayout.initialpaint.delay to "0"

Taken from http://www.computerbb.org/about150.html

seems to really improve page loading times
-C
bvc
WHOA!
headbang.gif
Thx!
biggrin.gif

didn't really think much tweaking could be done with rr broadband, but this headbang.gif
needs to be in Tips and Tricks!

yeah.....big diff!!!
Qchem
Setting a value of network.http.pipelining.maxrequests to "100" doesn't do a lot, its hardwired limit is 8
ramfree17
QUOTE (chin808 @ Jul 2 2004, 03:59 AM)
5. Set the value of nglayout.initialpaint.delay to "0"

i dont have this option in windows, is this a linux only option?

ciao!
nggalai
QUOTE (ramfree17 @ Jul 2 2004, 10:33 AM)
QUOTE (chin808 @ Jul 2 2004, 03:59 AM)

5. Set the value of nglayout.initialpaint.delay to "0"

i dont have this option in windows, is this a linux only option?

ciao!

This option is deprecated in Firefox 0.9 and later.

93,
-Sascha.rb
SoulSe
Just as I thought Firefox couldn't get any faster... I wasn't actually expecting to notice the difference - but I can.
Gowator
QUOTE (SoulSe @ Jul 2 2004, 01:42 PM)
Just as I thought Firefox couldn't get any faster... I wasn't actually expecting to notice the difference - but I can.

jeez I find firefox really_slow
almost as slow as konqueror....

Ill try this tonight....

I like it and all but compared to Opera it crawls!

I even tried 64bit firefox on a 2.6 kernel against a 32bit opera and Opera won every time... not by a little bit by a massive amount....

(p.s. both machines have 1GB RAM and the keyboard was concurrent since i'd accidentally got the same radio frequency on both biggrin.gif)

the point Im trying to make is this wasnt a tiny bit ..it was like watching a donkey run against a racehorse.

If you take IE as a metric im sure everything looks fast... but try dillo or opera as a metric and firefox seems very slow... still faster than the bloated mozilla but not anything like dillo or opera.

someone else try and let me know....
perhaps it was something else but they were both connection to my router on 100 MBit internet.
iphitus
this is so much faster now!

browsing here is just shot of instant
nocturnes
This is nice. I am definitely getting faster speeds from this (although the whole thing went faster when I dropped the bloat of KDE and Gnome as well which helps).

Great advice and I agree - it needs to be in Tips and Tricks
Gowator
ahhh. perhaps it was becuase i was using it in KDE ???

anyone any ideas how to time this ??

what pages make a difference and which are less noticeable???

what about some big jpg's (try the nasa ones)
does it read more threads at once and piece together....

cant wait to try this tomorrow!
chin808
Yes my firebird in winxp always seemed a bit faster than my firefox using kde, after doing this I have seen some noticable increases on pages that used to take just plain too long to load. I had a bad time with 0.9, that was horrendously slow for me.
cool.gif
-C
Sherpa
wow, i have a 4 Mb/s connection, i applied these changes to mozilla, wow, it is so much faster. it was already fast from the internet connection alone, but now it is better, this should go to Tips and Tricks!!!!!
anon
QUOTE (bvc @ Jul 2 2004, 07:36 AM)
but this headbang.gif
needs to be in Tips and Tricks!

Done!
nocturnes
Does anyone know how to make this permanent rather than having to do it each time FF is run?
iphitus
It should be permanent. YOu shouldnt need to set it again.
SwiftDeath
Holy crap! its like 2x faster for me. AND I"M ON CABLE!!! damn these speeds will impress my friends.

I was looking for something like this... cause I noticed my firefox was a bit slow, too.
iphitus
Does anyone know by any chance, what on earth these options actually do/mean?
bvc
QUOTE (iphitus @ Jul 2 2004, 08:48 PM)
Does anyone know by any chance, what on earth these options actually do/mean?

yes, you've just compromised your sys devil.gif
laugh.gif
no....I haven't a clue, other than the obvious of what they are called wink.gif
kmc77
Wow. I'm impressed 2thumbsup.gif
papaschtroumpf
can anyone let me know what the default value for network.http.proxy.keep-alive is?
I think I may have changed it accidentally (it's set to true but I don't use a proxy)
Thanks
bvc
default boolean true
AussieJohn
I too have tried it and it really does work.
I could not find the last one of the recommended lines to alter but the rest I was able to set and the one which had the 100 setting I made to 200 and it all works aok.
Firefox certainly is a great browser. I thought Galeon was great too but this one even beats it.

Cheers. John.
bvc
yes, I was a galeon only person til it went gtk2 and had it's rendering probs that I believe are now fixed. I went opera...can't stand mozilla and like epiphany except it's horrid bkmrks. Finally....we have..
...oh, and thunderbird
Gowator
that really does work biggrin.gif
Darkelve
Ok, it works. It's about 1.5 faster on my PC (firefox 9 on Windows)


But I have to ask: what's the catch? juggle.gif

Darkelve
nggalai
QUOTE (Darkelve @ Jul 5 2004, 07:51 PM)
Ok, it works. It's about 1.5 faster on my PC (firefox 9 on Windows)


But I have to ask: what's the catch? juggle.gif

Darkelve

Basically, with 100 open connections per web site, you're blocking out other users. Say, if a server allows only 500 connections at a time and 5 people with such a config show up, it will become slower for the rest.

93,
-Sascha.rb
nocturnes
You know, I am starting to wonder what else in there could be ... sped-up
iphitus
Both of these options are listed here:
http://texturizer.net/firefox/tips.html#oth_pipelining

QUOTE
Set the value of network.http.pipelining to "true".
Set the value of network.http.pipelining.maxrequests to "100".
Set the value of network.http.proxy.pipelining to "true"

QUOTE
Pipelining is an experimental feature, designed to improve page-load performance, that is unfortunately not well supported by some web servers and proxies.

QUOTE
Set the value of nglayout.initialpaint.delay to "0"

QUOTE
By default, Firefox doesn't try to render a web page for 250 milliseconds, because it's waiting for data. If you add the code below to your user.js file, Firefox immediately tries to render the page, even without complete data. The drawback is on slower machines where doing a "reflow" may actually cause the total page load time to be longer.

I added the last option as it was suggested and it too does make quite a big difference. Firefox is much much faster

iphitus
Qchem
QUOTE
Basically, with 100 open connections per web site, you're blocking out other users. Say, if a server allows only 500 connections at a time and 5 people with such a config show up, it will become slower for the rest.


But seeing as though the maximum value that firefox will accept is 8, I wouldn't worry too much. A user set value of 100 will be interpreted as 8 by the program. Besides, the problem you describe is much more relevant to the option network.http.max-connections-per-server, please don't fiddle with that value! Pipelining bascially just requests several objects at once, without waiting for a response first - which is why a dramatic improvement can be seen even with quick net connections.
nggalai
Ah, damn. You're right, Qchem--I overread the pipeline in that line of code. biggrin.gif

Another thing to keep in mind if going for speed on firefox: only enable those extensions you really need. Depending on the Firefox build, your extensions, and your system, the more extensions -> the slower it may get.

So if you hardly ever use mouse gestures, don't install the extension or at least turn it off. You get the idea.

93,
-Sascha.rb
io333
Neato. Firefox under Mandrake for me was always eons slower than the same version under XP. Now they are equally quick.
idud
A little late to try, but it's work for me too. smile.gif
null
didn't notice any diff after I did it. My firefox was dog-slow at first, but a while back pmpatrick told me what to do to make it faster. After doing what he said, it is definately way faster. Maybe thats why I don't notice an improvement after doing these things...?

Here's where pmpatrick told me what to do:

http://www.mandrakeusers.org/index.php?sho...1&st=&p=&#entry
SoulSe
I did this to Firefox on my brother's powerbook as well.

Is it just me or does it speed up even more on OSX? Probably just me...

Either way - it works on a mac as well.
Gowator
OS-X (10.2+) all pre-render the desktop in openGL so its all accelerated.
thats why you never see that tearing in mac like winblows with the empty window...

Winblows draws the windows first then waits!

when you lower the delay its probably istantaneous because of this....
SoulSe
QUOTE (Gowator @ Jul 13 2004, 04:07 PM)
OS-X (10.2+) all pre-render the desktop in openGL so its all accelerated. 
thats why you never see that tearing in mac like winblows with the empty window...

Winblows draws the windows first then waits! 

when you lower the delay its probably istantaneous because of this....
*

So it wasn't just me for a change 04.gif

I've been playing with OSX alot - it's great but it's not Linux... and its filesystem is messy. deal2.gif

Firefox is so fast on it though...
Lord Tom
Hello,btw: I'm since today User of Mandrake, before I was user of Suse and RedHat.
But Mandrake is the best!

well, I'm also a veteran Firefox-User,
the tip is one of the most importants features of Firefox,the browser reloaded.
bvc
speed up firefox....
....use epiphany wink.gif
Lord Tom
QUOTE (bvc @ Aug 6 2004, 11:49 PM)
speed up firefox....
....use epiphany wink.gif
*



18.gif
well, Firefox and Epiphany are Gecko-Engine based. But however: Firefox is better, example; more configurable.....
bvc
QUOTE (Lord Tom @ Aug 6 2004, 05:58 PM)
QUOTE (bvc @ Aug 6 2004, 11:49 PM)
speed up firefox....
....use epiphany wink.gif
*



18.gif
well, Firefox and Epiphany are Gecko-Engine based. But however: Firefox is better, example; more configurable.....
*


what do you need to config laugh.gif
oh I still use firetruck and used to loved it, but it's a dog now like its daddy. As I've said b4, epiphany's bkmrks suck, but if all I need to do, which is 95% of the time, is browse the daily sites and make the daily downloads I do, epiphany gets the job done almost twice as fast, and that's after the tweaks in firetruck wink.gif So much for configure wink.gif I only use firetruck now to do extensive research and filing of bookmarks for an easy file and find for future reference ....fffff....all those f's laugh.gif So other than bookmarks firetruck offers nothing that epiphany can't do as well or better.

More configurable is what has made it a dog wink.gif
devel!......STOP!!!!!
wfkidd
Wow, that was a great tip! I also noticed it was taking a while to do DNS lookups so I checked out my /etc/resolv.conf file. It was pointing to the local loopback in addition to my DNS server. Now it's really quick!
DOlson
What is that Turbo option??

browser.turbo.enabled

Wouldn't that logically turbo-charge my.. browser??
Hawai
wow... actually works..

Good find my friend biggrin.gif
DOlson
QUOTE (Hawai @ Aug 11 2004, 09:26 AM)
wow... actually works..

Good find my friend biggrin.gif
*


Do you mean this thread in general, or the option I found? Because I set it but I don't know if it makes a difference. I wish these options were right in the preferences, like, just a checkbox that says "Surf as fast as I can (might cause issues, use at own risk)" or something that applies all the best settings.
spiedra
I am really impressed. Firefox with these changes is lightening fast!!!
jmr0311
Hi people, How this "modprobe.conf" file looks to you. Because I feel that firefox is not very fast in my system;
QUOTE
alias eth0 eepro100
alias sound-slot-0 snd-cmipci
install snd-cmipci /sbin/modprobe --first-time --ignore-install snd-cmipci && { /sbin/modprobe snd-pcm-oss; /bin/true; }
install usb-interface /sbin/modprobe usb-uhci; /sbin/modprobe ehci-hcd; /bin/true
remove snd-cmipci { /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe -r --first-time --ignore-remove snd-cmipci
#Turn off IPv6
alias net-pf-10 off
alias net-pf-2 #ipv4
install ipv4 /bin/true

Thanks in advance for any suggestions.

Javi
jmr0311
Found this settings for firefox that seem to add some speed;
QUOTE
user_pref("general.smoothScroll", true);
user_pref("network.image.imageBehavior", 0);
user_pref("network.http.max-connections", 48);
user_pref("network.http.max-connections-per-server", 16);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.firstrequest", true);
user_pref("network.http.pipelining.maxrequests", 100);
user_pref("network.http.proxy.pipelining", true);
user_pref("nglayout.initialpaint.delay", 100);


Javi
daniewicz
Here is a very complete overview for firefox/mozilla tweaking: There is much you can do in user.js.

http://forums.mozillazine.org/viewtopic.php?t=53650
spiedra
QUOTE (daniewicz @ Sep 5 2004, 07:45 PM)
Here is a very complete overview for firefox/mozilla tweaking: There is much you can do in user.js.

http://forums.mozillazine.org/viewtopic.php?t=53650
*


That's really useful! Thanks!
Gowator
/bump

probably the tip n trick that gave me the most pleasure for minumum time...

make sure the new members see this one!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.