Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 23 Sep 2014, 22:50
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
FireFox Tweeking: is pipelining a good idea?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
PakRat


Joined: 15 May 2005
Posts: 7
Location: Iowa

PostPosted: Mon 23 May 2005, 08:24    Post subject:  FireFox Tweeking: is pipelining a good idea?  

For all of you power browsers out there. I found this information concerning super charging the stand alone FireFox. It works. And in my opinion is much better for the Internet than the other methods of WebAcceleration. Enjoy your Puppy Linux !

Super Charged FireFox :

To boost Firefox, simply do the following after launching your browser.


1. Type "about:config" into the address bar (no spaces) and hit Return. Scroll down and look for the following entries:
--network.http.pipelining
--network.http.proxy.pipelining
--network.http.pipelining.maxrequests


Normally the browser will make one request at a time to a Web page. When you enable pipelining, the browser will make several at once, which really speeds up page loading.

2. Alter the entries as follows:
Set "network.http.pipelining" to "true"
Set "network.http.proxy.pipelining" to "true"
Set "network.http.pipelining.maxrequests" to some number like 20. (This tells the browser to make 20 requests at once.) (Instead of the defalt of 4)

3. Lastly, right-click anywhere and select New-> Integer. Name it "nglayout.initialpaint.delay" and set its value to "0". This value is the amount of time the browser waits before acting on received information.

Okay. That's all it takes. But now let's dig into the controversy that is foaming up discussion boards across the land. The term the hard core use for opening 20 server calls at one time is not pretty, but says it all: server raping. Taking up 20 simultaneous sessions is a major don't, since most servers bomb out at around 100. If five people using this tweak hit a page at the exact same time, they would crash everything, warned many a geek. Definately -- NOT SO -- !

But not so, according to the other camp, who explain that pipelining is not about opening multiple sessions but simply changing how a single session pulls down information. The irony is that most developers gave up on pipelining after broadband became more widespread, and browsers today ship with this default set to "Off" or "False" to protect servers from throwing up bugs during a rapid pipeline burst.

I have to say that I have been using my jacked-up Firefox and have not crashed sites or been denied access because of my browser's action being confused for a flood attack. I have noticed much more bad code, though in third-party ads, mostly. Not in Google ads—and whatever you do, don't think I just told you to click on them!

Enjoy your SuperCharged FireFox..,,,,Wink bd

_________________
There are no luggage racks on a Hearse!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger 
ICQ Number 
Rhino


Joined: 04 May 2005
Posts: 262
Location: Cincinnati, OH, USA

PostPosted: Mon 23 May 2005, 22:42    Post subject:  

That seems to work well...maybe a bit faster. I'll report any problems if they appear. Thanks!
Back to top
View user's profile Send private message Yahoo Messenger 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Mon 23 May 2005, 23:24    Post subject:  

I just set mine to 10, because it still speeds it up, but I don't feel as guilty. Smile 20 just seems like overkill to me.
_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
PakRat


Joined: 15 May 2005
Posts: 7
Location: Iowa

PostPosted: Wed 25 May 2005, 20:18    Post subject: OverKill is my middle name..  

Yes I know what you mean , I haven't noticed any difference between 12 to 30 in response time, it just seems to work a bit better on the graphic intensive sights. Like any of the tv channels in the U.S. e.g. try www.krgv.com it's in South Texas .. or www.kwwl.com in N.E. Iowa... really try out the system to it's max..
Thanks , Guys for your input.. Later.. Wink bd

_________________
There are no luggage racks on a Hearse!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger 
ICQ Number 
John
Guest


PostPosted: Thu 26 May 2005, 19:45    Post subject:  

These tricks may or may not actually be working.
If you check Mozilla's own website, you will find them listed as suggestions.
However, Mozilla also says that enabling pipelining "is unfortunately not well supported by some web servers and proxies."
As for the other trick -- eliminating the delay before the page starts to be painted on your screen -- Mozilla says that "The drawback, especially on slower machines, is that the total time to display the page will be longer."
Back to top
PakRat


Joined: 15 May 2005
Posts: 7
Location: Iowa

PostPosted: Sat 28 May 2005, 13:57    Post subject:  

Granted, it is not the best fix for brousing, but it works for me and I use it like outlined above ,, as far as I'm concerned it is the better of the other software 'options' for web acceleration out there.. I think the subscription type web accelerators will cause more 'bog' and problems than good. Time will tell.
Enjoy ! Smile


Thanks for your post.. bd

_________________
There are no luggage racks on a Hearse!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger 
ICQ Number 
qa1433

Joined: 25 May 2005
Posts: 11
Location: Dallas, Texas

PostPosted: Mon 30 May 2005, 21:25    Post subject:  

Hi all,
Also works with Mozilla 1.8b2 that comes with Puppy 1.0.2.

one word of caution however. Do not add the nglayout.initialpaint.delay into the config file. it causes Mozilla to lock your personal toolbar to where you cannot access any links throught the dropdown if you have more then can be displayed.

Along with the aftermentioned mods it should also be noted that you can add a new preference in order to shorten to zero the delay time, but there's a clean way so to do, namely:

1) Find the file firefox.js (should live in /usr/lib/mozilla-firefox/defaults/prefs

2) Open with gedit

3) Find the line "pref("browser.turbo.enabled", false) and change the value to "true"

4) Save and restart Firefox. It literally flies!

have fun,
paul Cool
Back to top
View user's profile Send private message Yahoo Messenger 
JontomXire


Joined: 17 Jun 2005
Posts: 14
Location: Eastleigh, UK

PostPosted: Mon 20 Jun 2005, 03:51    Post subject:  

You can set browser.turbo.enabled int he about:config page and so not have to go edit javascript files in your installation.

I recommended these tweaks to a friend and he was well impressed. So was I when I put them in.

There is one website that seems to be running slower these days though Sad
Back to top
View user's profile Send private message Visit poster's website 
lch

Joined: 05 Jun 2006
Posts: 11

PostPosted: Mon 05 Jun 2006, 15:34    Post subject:  

If you want to know about Pipelining and why it might be a good idea or why it won't then have a look at the FAQ at Mozilla. Apparently not even the moderators know the difference between simultaneous/persistent connections, otherwise they wouldn't have locked the other thread that's similar to this one here.

I would enable Pipelining, but not overdo it with the request size, because it might reduce the gain again if you overdo it. The default value of 4 seems to be about right, as all that you want is to use not so many packets and utilitze the maximum segment size to the fullest, anyway. There are some other Firefox Tuning tips over at the Mozilla-centered forums, too.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11072
Location: Arizona USA

PostPosted: Mon 05 Jun 2006, 16:31    Post subject:  

Initially I thought it would be rude to other people to hog the server, but then I thought, assuming everyone downloads the same amount from the server as if there were no pipelining, it wouldn't make any difference because the people doing the pipelining get off the server that much sooner.

On the other hand, that assumption is questionable. The faster you can download stuff, the more stuff you tend to download. So pipelining might well encourage hogging. In fact, I suggest that it be called hogging instead of pipelining.

_________________
Puppy Help 101 - an interactive tutorial for Lupu 5.25
Back to top
View user's profile Send private message 
lch

Joined: 05 Jun 2006
Posts: 11

PostPosted: Mon 05 Jun 2006, 17:34    Post subject:  

I still think that you are confusing this with the number of simultaneous connections. Of course, it isn't good to use too many of those because then you get the famous slashdot effect alot earlier. But Pipelining is just telling the server what you want to have from it in advance (check the FAQ) to discourage sending packets that carry almost no information at all. You would request the same things anyway, just one after another, and all you do is use the packets that get send anyway (you don't generate more of them this way, only less) in a better way, so it seems good to me.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0797s ][ Queries: 11 (0.0116s) ][ GZIP on ]