Attention Firefox Users

Speak your mind, or lack thereof. There may occasionally be on-topic discussions.
Post Reply
User avatar
DarkPrime
Posts: 268
Joined: Wed May 26, 2004 10:32 am
Location: Metairie, LA

Attention Firefox Users

Post by DarkPrime »

Go here, do mod, enjoy speed. Best used for broadband, though it also seems to work for dialup.

http://www.tfans.com/index.php?showtopic=18635 (please ignore the sigs.)

I'm getting some crazy speeds now. :cool:

User avatar
Psxphile
Posts: 317
Joined: Tue May 25, 2004 11:35 pm
Location: California

Post by Psxphile »

Hm, <i>seems</i> to have improved. I won't know for sure until a certain background process completes itself and frees up some resources.

User avatar
Dark Crow
Posts: 220
Joined: Wed Feb 02, 2005 1:28 am

Post by Dark Crow »

Its official, Firefox is the greatest internet browser ever.

User avatar
Pepperidge
Drano Master
Posts: 544
Joined: Fri May 21, 2004 5:01 pm
Location: British Columbia
Contact:

Post by Pepperidge »

Yikes, that actually worked!

User avatar
Dache
Posts: 352
Joined: Sun May 23, 2004 1:12 pm
Location: Lincoln, UK
Contact:

Post by Dache »

Be careful with these. The changes here are safe, but:
Connection Tweaks
The "other" type of optimization commonly seen instructs you to alter the "network.http.max-persistent-connections-per-server", "network.http.max-connections-per-server" and other related settings. These are EXTREMELY DAMAGING "optimizations" to apply and should be avoided at all costs. These settings violate the HTTP protocol, which recommends a limit of 2 connections per server. When you increase it beyond that, a lot of bad things begin to happen:

The web server is often the hardest hit. The Apache web server maintains a number of "slots" which are processes lying around to handle requests as they come in. Since they usually come in at a steady rate, the server can create and destroy extra processes as needed to handle the load. When you and your "optimized" settings hit the server however, almost all of the slots that are idle are suddenly taken up by your browser. This forces the server to suddenly create a bunch of new processes to handle other traffic which is a CPU-intensive task. When you are done hogging up the slots, the server suddenly finds itself with way more processes than are needed for normal traffic, so it will kill off the extra ones.

What's worse is that since most tweaks involve such a high number of connections, once one element has been transferred, the connection is never used again. This forces the web server to hold all the connections in "keepalive" state as under normal circumstances, more than one request is sent per connection. TCP never gets a chance to automatically find the best RWIN for greatest speeds, load on routers between you and the server is increased thanks to all the extra packets... the whole basis of the HTTP/1.1 specification was to get away from the "one connection per element" days of HTTP/1.0, by applying these tweaks you are simply going back to the 1.0 days.

It's also worth pointing out that there exists an Apache module and netfilter settings that could cause your additional connections to be blocked from the server, resulting in very slow page load times, broken images and possibly even a complete IP ban for this "flooding" behaviour. Please, stick with pipelining and do not touch these settings. There is a very good reason why they are not the default.

User avatar
DarkPrime
Posts: 268
Joined: Wed May 26, 2004 10:32 am
Location: Metairie, LA

Post by DarkPrime »

Yeah, what Dache said. I wouldn't recommend doing the second mod, the first one is more than enough.

User avatar
Baba O'Reily
ABBA BANNED
Posts: 3339
Joined: Wed Sep 15, 2004 8:26 pm
Location: http://zenixstudios.com/files/ 554SpaceIsThePlace.Mp3
Contact:

Post by Baba O'Reily »

I AM FLYING THROUGH THE INTERNETS!

User avatar
Zeta
Posts: 4444
Joined: Wed May 26, 2004 11:06 am
Contact:

Post by Zeta »

This really sucks on 56K. You get pages to load faster, but shittier and with more broken images and half-loaded pages.

How do I turn it off?

User avatar
DarkPrime
Posts: 268
Joined: Wed May 26, 2004 10:32 am
Location: Metairie, LA

Post by DarkPrime »

Go back to the modded lines, right-click on them, and click "Reset".

That should do it.

User avatar
Ash Holt
Posts: 422
Joined: Mon Jun 14, 2004 6:22 pm

Post by Ash Holt »

Turn on pipelining, turn off ipv6 support (not really widly supported, so it's not a problem to turn it off), and that's about it. Everything else doesn't really make a damn bit of difference, and could be detrimental.

Post Reply