Making Firefox "Faster"

Q&A, advice, reviews, and news about the computers, phones, TVs, stereos, and pretty much anything else that can't be easily whittled out of a stick or chipped out of stone.
User avatar
Gowerlypuff
Redshirt
Posts: 2900
Joined: Fri Feb 14, 2003 12:53 pm
Gender: Male
Location: Leamington Spa, UK
Contact:

Making Firefox "Faster"

Post by Gowerlypuff » Mon Dec 20, 2004 7:15 am

For all those that have noticed that some sites load slow in Firefox, I present you with the solution:

This thread shows what you need to do. Only works properly with BB, but dialup users may notice a slight improvement.

Usual disclaimer about searching and not finding similar thread goes here.
Sloth: Am I a year behind already?
Image
February was some lyrics or quotes month or something. I don't even remember what year all this was.

pc486
Redshirt
Posts: 532
Joined: Fri Jul 09, 2004 1:48 am

Post by pc486 » Mon Dec 20, 2004 7:53 am

Ah yes, the HTTP pipelining and the paint delay trick. These are great optimizations to use but do use them with care. There is a metric ton behind the reasoning of defaulting HTTP pipelining to off as well as using a paint delay. HTTP pipelining can cause some older web servers to barf or refuse to serve the requested content. This is rare but still happens. The paint delay affects the reflow of pages when rendering them. Using too small of an delay can mess up reflow when not enough of the page is in memory when Firefox starts drawing. If pages start messing up then turn these options back to the default. Personally I have had great success with enabling HTTP pipelining and reducing the paint delay.

apsmif101
Redshirt
Posts: 16
Joined: Sun Jan 02, 2005 7:39 am
Location: Australia

Post by apsmif101 » Sun Jan 02, 2005 3:28 pm

Good stuff! :mrgreen:
Last edited by apsmif101 on Mon Jan 03, 2005 1:17 pm, edited 1 time in total.

OniNeko
Redshirt
Posts: 1960
Joined: Tue Oct 07, 2003 3:13 pm
Location: Salt Lake City, UT
Contact:

Post by OniNeko » Mon Jan 03, 2005 6:00 am

oh, I thought this thread was going to be about compiling firefox or downloading a pre-compiled one specifically for your architecture.
"... to see with eyes unclouded by hate."

UrzaPlanezwalker
Redshirt
Posts: 2340
Joined: Fri Feb 14, 2003 7:37 pm
Location: Bellevue Washington
Contact:

Post by UrzaPlanezwalker » Mon Jan 03, 2005 11:09 am

wow, very nice tip, works marvelously. thanks ^_^
"As we evolved, we developed tools that let us reach out and touch people from a great distance. Like sniper rifles." - My art teacher

User avatar
TopCat
Redshirt
Posts: 3783
Joined: Wed May 21, 2003 1:34 am
Gender: Male
Contact:

Post by TopCat » Mon Jan 03, 2005 6:24 pm

i say we get everyone on slashdot to use this tip so we can /. webpages even faster by instead of having 1000 requests from 1000 computers, have 1000 requests from 100 computers!!! gj http pipelining
hahaha i don't come to these forums anymore :x

User avatar
sergio
Redshirt
Posts: 354
Joined: Tue Mar 11, 2003 11:49 pm
Gender: Male
Location: Redmond, WA
Contact:

Post by sergio » Mon Jan 03, 2005 7:09 pm

Or we can tell people firefox will run faster if they avoid going to slashdot at all ;)

:shifty:

No? :glare:

Ok then, nice tip! =]

pc486
Redshirt
Posts: 532
Joined: Fri Jul 09, 2004 1:48 am

Post by pc486 » Tue Jan 04, 2005 12:17 am

[quote="TopCat";p="440355"]i say we get everyone on slashdot to use this tip so we can /. webpages even faster by instead of having 1000 requests from 1000 computers, have 1000 requests from 100 computers!!! gj http pipelining[/quote]
O.o? HTTP pipelining reduces the number of requests in order to reduce the load and processing needed for pulling up and tearing down extra connections. If anything HTTP pipelining will help reduce the /. effect if a server is not bandwidth limited.

User avatar
TopCat
Redshirt
Posts: 3783
Joined: Wed May 21, 2003 1:34 am
Gender: Male
Contact:

Post by TopCat » Tue Jan 04, 2005 12:18 am

[quote="pc486";p="440475"][quote="TopCat";p="440355"]i say we get everyone on slashdot to use this tip so we can /. webpages even faster by instead of having 1000 requests from 1000 computers, have 1000 requests from 100 computers!!! gj http pipelining[/quote]
O.o? HTTP pipelining reduces the number of requests in order to reduce the load and processing needed for pulling up and tearing down extra connections. If anything HTTP pipelining will help reduce the /. effect if a server is not bandwidth limited.[/quote]

oh, i thought pipelining made firefox faster by increasing the number of requests

someone help me :(
hahaha i don't come to these forums anymore :x

User avatar
Deacon
Shining Adonis
Posts: 44234
Joined: Wed Jul 30, 2003 3:00 pm
Gender: Male
Location: Lakehills, TX

Post by Deacon » Tue Jan 04, 2005 1:10 am

[quote="TopCat";p="440355"]i say we get everyone on slashdot to use this tip so we can /. webpages even faster by instead of having 1000 requests from 1000 computers, have 1000 requests from 100 computers!!! gj http pipelining[/quote]
Wrong.

[quote="pc486";p="440475"]O.o? HTTP pipelining reduces the number of requests in order to reduce the load and processing needed for pulling up and tearing down extra connections. If anything HTTP pipelining will help reduce the /. effect if a server is not bandwidth limited.[/quote]
Mostly right.

http://www.mozilla.org/projects/netlib/ ... g-faq.html
The first entry in the FAQ wrote:What is HTTP pipelining?

Normally, HTTP requests are issued sequentially, with the next request being issued only after the response to the current request has been completely received. Depending on network latencies and bandwidth limitations, this can result in a significant delay before the next request is seen by the server.

HTTP/1.1 allows multiple HTTP requests to be written out to a socket together without waiting for the corresponding responses. The requestor then waits for the responses to arrive in the order in which they were requested. The act of pipelining the requests can result in a dramatic improvement in page loading times, especially over high latency connections.

Pipelining can also dramatically reduce the number of TCP/IP packets. With a typical MSS (maximum segment size) of 512 bytes, it is possible to pack several HTTP requests into one TCP/IP packet. Reducing the number of packets required to load a page benefits the internet as a whole, as fewer packets naturally reduces the burden on IP routers and networks.

HTTP/1.1 conforming servers are required to support pipelining. This does not mean that servers are required to pipeline responses, but that they are required to not fail if a client chooses to pipeline requests. This obviously has the potential to introduce a new category of evangelism bugs, since no other popular web browsers implement pipelining.
For more on pipelining, see the URL above.
The follies which a man regrets the most in his life are those which he didn't commit when he had the opportunity. - Helen Rowland, A Guide to Men, 1922

User avatar
BtEO
Redshirt
Posts: 4803
Joined: Tue Feb 18, 2003 2:28 pm
Location: England
Contact:

Post by BtEO » Tue Jan 04, 2005 2:45 am

[quote="Deacon";p="440492"]
The first entry in the FAQ wrote:This obviously has the potential to introduce a new category of evangelism bugs, since no other popular web browsers implement pipelining.
[/quote]

I do wish those guys would get their facts straight, it's not the first time I've seen misinformation from them about their competition.

User avatar
Deacon
Shining Adonis
Posts: 44234
Joined: Wed Jul 30, 2003 3:00 pm
Gender: Male
Location: Lakehills, TX

Post by Deacon » Tue Jan 04, 2005 3:56 am

[quote="BtEO";p="440509"][quote="Deacon";p="440492"]
The first entry in the FAQ wrote:This obviously has the potential to introduce a new category of evangelism bugs, since no other popular web browsers implement pipelining.
[/quote]

I do wish those guys would get their facts straight, it's not the first time I've seen misinformation from them about their competition.[/quote]
See your mistake? :P
The follies which a man regrets the most in his life are those which he didn't commit when he had the opportunity. - Helen Rowland, A Guide to Men, 1922

User avatar
TopCat
Redshirt
Posts: 3783
Joined: Wed May 21, 2003 1:34 am
Gender: Male
Contact:

Post by TopCat » Tue Jan 04, 2005 4:57 am

[quote="Deacon";p="440527"][quote="BtEO";p="440509"][quote="Deacon";p="440492"]
The first entry in the FAQ wrote:This obviously has the potential to introduce a new category of evangelism bugs, since no other popular web browsers implement pipelining.
[/quote]

I do wish those guys would get their facts straight, it's not the first time I've seen misinformation from them about their competition.[/quote]
See your mistake? :P[/quote]
Pipelining - Allowing more than one request from the browser to be sent before receiving a reply from the server (the server MUST always return them in the same order they were sent). This often reduces the page loading times (especially on high latency connections like dial-up and on cache validation), and especially reduces the numbers of packets needed for a page (re)load {3}. Opera pipelines by default - and uses heuristics to control the level of pipelining employed depending on the server Opera is connected to{1}. In Firebird, pipelining is OFF by default and needs to be turned on (see about:config[1]), Firebird also uses some heuristics, especially to turn pipelining OFF for IIS servers. IE doesn't pipeline at all.
I'm too lazy, you, one of you, go replace "Firebird" with "Firefox".
hahaha i don't come to these forums anymore :x

pc486
Redshirt
Posts: 532
Joined: Fri Jul 09, 2004 1:48 am

Post by pc486 » Tue Jan 04, 2005 6:31 am

Deacon wrote:[quote="pc486";p="440475"]O.o? HTTP pipelining reduces the number of requests in order to reduce the load and processing needed for pulling up and tearing down extra connections. If anything HTTP pipelining will help reduce the /. effect if a server is not bandwidth limited.
Mostly right.

http://www.mozilla.org/projects/netlib/ ... g-faq.html[/quote]
-- SNIP (I've read that FAQ years ago. Besides, that FAQ is glossing over the real speed saving details.) --

The real savings is in the TCP pullup and teardown. To open a TCP socket takes 3 packets: one SYN goes to the server, server responds with SYN/ACK and then client responds with ACK. Only after this handshake does the connection open up for traffic. This is why a single connection to a server can take 250ms before any data transfer on a modem connection. Without pipelining there could a few seconds spent in just setting up the TCP connections necessary for webpage content. 90% of the loading time saved in pipelining is by avoiding excessive TCP handshaking and is the reason why the FAQ states that high latency lines see major benifits.

Pipelining also saves CPU time since handling one TCP connection is much much easier than many at once. Better web server designs (Apache 2.0) and very fast CPUs these days make this less of a problem but a few years ago people would spend a thousand dollars on gigabit ethernet cards like the Adaptec 7711.


Next time before saying I'm wrong do a little bit more real research and less reading of FAQs.

User avatar
Deacon
Shining Adonis
Posts: 44234
Joined: Wed Jul 30, 2003 3:00 pm
Gender: Male
Location: Lakehills, TX

Post by Deacon » Tue Jan 04, 2005 7:28 am

:roll:

Your e-penis has, shockingly, failed to overtake your ego in sheer magnitude and raw sensitivity, though lord knows you manufacture any opportunity to stroke both with wild abandon and untamed vigor, apparently to and past the point of chafing.
The follies which a man regrets the most in his life are those which he didn't commit when he had the opportunity. - Helen Rowland, A Guide to Men, 1922

Locked

Who is online

Users browsing this forum: No registered users and 1 guest