LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-04-2005, 02:58 PM   #1
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Question Decrease Firefox loading time


This is probably going to make me sound incredibly impatient which I'm normally not, but...

Is there a way to decrease the loading time of Firefox by, for example, keeping it in the background so the full startup only has to be run once (like Windows notoriously seems to do with every program you'll never use)? It's not taking an untolerably long time to start, but I use it often enough that a decrease in time would be noticeable. I read something online about prelink (which I don't have on my system and can't seem to find anywhere) that made me wonder. The same question goes for Thunderbird and OOo, but I'm not opening and closing them often enough for it to really matter with those.
 
Old 09-04-2005, 03:59 PM   #2
enigmatech
Member
 
Registered: Aug 2005
Posts: 33

Rep: Reputation: 15
check this out http://www.emilsoft.net/products/firetweaker.php
 
Old 09-04-2005, 04:04 PM   #3
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
That looks interesting, but I don't really like things "tweaking" my system when I don't know exactly what they're doing, and that covers many different areas. I'm just looking for something that would decrease the loading time (of the program itself, that is, not the pages within it) and leave everything else alone.
 
Old 09-04-2005, 04:08 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Quote:
Originally posted by enigmatech
check this out http://www.emilsoft.net/products/firetweaker.php
System Requirements:

* Microsoft Windows 2000/ME/XP/2003
* Microsoft .NET Framework 1.1

Kinda rules out a Linux system.

Search Google for a Slack package or source package for "prelink". Firefox loads in under 5 seconds on my Debian System.
My system spec:
ANthlon 1.8
512 Mb ram
Debian Unstable

If it works under Debian it will more than likely work well on a Slack system.


freshmeat.net: Project details for Prelink
Quote:
prelink is a program which modifies ELF shared libraries and ELF dynamically linked binaries, so that the time which dynamic linker needs for their relocation at startup significantly decreases and also due to fewer relocations the run-time memory consumption decreases too (especially number of unshareable pages). Such prelinking information is only used if all its dependent libraries have not changed since prelinking, otherwise programs are relocated normally.
 
Old 09-04-2005, 04:13 PM   #5
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slack`er-current
Posts: 845

Rep: Reputation: 31
How fast is your CPU and how much RAM do you have to begin with?
 
Old 09-04-2005, 04:22 PM   #6
enigmatech
Member
 
Registered: Aug 2005
Posts: 33

Rep: Reputation: 15
Quote:
Originally posted by craigevil
System Requirements:

* Microsoft Windows 2000/ME/XP/2003
* Microsoft .NET Framework 1.1

Kinda rules out a Linux system.

Search Google for a Slack package or source package for "prelink". Firefox loads in under 5 seconds on my Debian System.
My system spec:
ANthlon 1.8
512 Mb ram
Debian Unstable

If it works under Debian it will more than likely work well on a Slack system.


freshmeat.net: Project details for Prelink
yep, i tweak my windows firefox and look changes by type about:config at firefox, then the changes i also put at firefox linux or just directly type about:config at linux firefox and change some preferences like :

browser.cache.memory.capacity

browser.cache.check_doc_frequency

dom.max_script_run_time

browser.chrome.site_icons

browser.chrome.favicons

network.http.pipelining network.http.proxy.pipelining

network.http.pipelining.maxrequests

Set "network.http.pipelining" to "true"

Set "network.http.proxy.pipelining" to "true"

Set "network.http.pipelining.maxrequests" to some number like 30. This means it will make 30 requests at once.

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 it acts on information it recieves.

If you're using a broadband connection you'll load pages MUCH faster now!


Last edited by enigmatech; 09-04-2005 at 04:27 PM.
 
Old 09-04-2005, 05:02 PM   #7
Liquid_T<NL>
LQ Newbie
 
Registered: Aug 2005
Distribution: SuSe
Posts: 24

Rep: Reputation: 15
Re: Decrease Firefox loading time

Quote:
Originally posted by jrdioko
This is probably going to make me sound incredibly impatient which I'm normally not, but...
no, I noticed the same thing
 
Old 09-04-2005, 05:33 PM   #8
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
Well, now that I really look at it, OOo is the slow one (10-15 secs). Firefox is under 5, but still longer than IE which, as I understand it, is always running in the background so never needs any time to boot. I guess my real question was is there a way to accomplish this same kind of thing with programs like Firefox and OOo, and is prelink is worth looking into for speeding up the process in general?

Last edited by jrdioko; 09-04-2005 at 05:35 PM.
 
Old 09-05-2005, 01:51 AM   #9
planetsheinker
LQ Newbie
 
Registered: Jul 2005
Location: Israel
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
Re: Decrease Firefox loading time

Quote:
Originally posted by jrdioko
This is probably going to make me sound incredibly impatient which I'm normally not, but...

Is there a way to decrease the loading time of Firefox by, for example, keeping it in the background so the full startup only has to be run once (like Windows notoriously seems to do with every program you'll never use)? It's not taking an untolerably long time to start, but I use it often enough that a decrease in time would be noticeable. I read something online about prelink (which I don't have on my system and can't seem to find anywhere) that made me wonder. The same question goes for Thunderbird and OOo, but I'm not opening and closing them often enough for it to really matter with those.
Prelink is GOOD.
But what you are looking for is "binery files being always on RAM".
I have been searching for this "Holly Grail" for a long time, and still
no luck :-( ...

P.S.
"like Windows notoriously seems to do with every program you'll never use",
I dont really know, but I dont think that this is really the case!
 
Old 09-05-2005, 01:59 AM   #10
Liquid_T<NL>
LQ Newbie
 
Registered: Aug 2005
Distribution: SuSe
Posts: 24

Rep: Reputation: 15
Re: Re: Decrease Firefox loading time

Quote:
Originally posted by planetsheinker

P.S.
"like Windows notoriously seems to do with every program you'll never use",
I dont really know, but I dont think that this is really the case!
That isn't really the case, but Linux loads some programs you just don't use or don't want. For example, internet explorer is always on the background, the indexing service is always on the background, ready to start indexing at the most impossible times
 
Old 09-05-2005, 02:09 AM   #11
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
Re: Re: Re: Decrease Firefox loading time

Quote:
Originally posted by Liquid_T<NL>
That isn't really the case...
Well I was exaggerating a bit, but I guess it isn't. So there's no easy way to do this?
 
Old 09-05-2005, 07:26 AM   #12
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
I read somewhere that including the sticky bit on a program or file will keep it in RAM even after closure, specifically used for frequently-opened files. Could this be a help?
 
Old 09-05-2005, 09:09 AM   #13
planetsheinker
LQ Newbie
 
Registered: Jul 2005
Location: Israel
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
Quote:
Originally posted by Poetics
I read somewhere that including the sticky bit on a program or file will keep it in RAM even after closure, specifically used for frequently-opened files. Could this be a help?
I am willing to try it, but I have no idea what a "sticky bit" is :-(
 
Old 09-05-2005, 11:49 AM   #14
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
I don't know about Slack, but SuSE has what they call preloading. Basically when you boot programs like OO and Firefox, whatever; startup in the background and are ready whenever you want to use them.

SUPER preloading - OpenSUSE,
Quote:
What does preloading do? The basic idea is to load files into the cache that are used by certain applications, e.g. OpenOffice. This makes OpenOffice start up much faster because it reads most of its data from cache, not from the slow harddisk. Once KDE has completely started, the preloading is done in the background. This will not affect bootup speed at all.
The exact method SuSE uses may not work in other distros but you get the idea.
 
Old 09-05-2005, 03:19 PM   #15
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Quote:
Originally posted by planetsheinker
I am willing to try it, but I have no idea what a "sticky bit" is :-(
It was more a response so people more well-versed in linux than I could confirm or deny, but it all starts with permissions.

Most people know about the owner/group/world permissions of files (755, 777, et cetera). Well there's a magical permission called the "sticky bit" that is normally not used -- in the above examples it would be 1755, 1777, et cetera. I hope someone more experienced than I pipes up on the topic, but I've given you more than enough to google in the meantime
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
time consuming loading of Openoffice and endless loading of printing capabilities artjaslo Linux - General 6 08-03-2005 02:30 PM
Page does not stop loading in firefox jackpal Linux - Software 5 04-28-2005 03:49 PM
Bringing up ETH0 decrease time djcham Linux - Software 2 02-15-2005 08:19 PM
Mozilla, Firefox, and Thunderbird not loading craigienz Linux - Software 2 12-20-2004 01:13 AM
OpenOffice and loading time filsed Fedora 2 12-08-2004 02:21 AM


All times are GMT -5. The time now is 08:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration