You are not logged in.
Pages: 1
im having a problem with Firefox (firefox 3) , the start up time is approximately ~18 seconds , i have tried the pgo build but there wasn't any difference in start up time , my hardware is a bit old , i have a pentium 4 2.8 ghz and 630mb of ddr ram , along with a nvidia fx5500 , i have been using ubuntu for about a year and have just switched to arch linux , on ubuntu firefox only took about 7 seconds to startup for the first time of that session and then if i closed it and started it again it would start up after 1-2 seconds (seems wierd) , is there anything i can do to make firefox start faster and does anyone have any ideas on what could be causing such a slowdown.
additional info: running gnome as my de
starting firefox from terminal has given no errors
Last edited by r00t_ninja (2009-06-13 23:37:54)
Offline
Hello rOOt_ninja
Hmm to be faster?
In options there's option that's firefox check that he is defualt browser tou can disable that or you can compile firefox form aur.
Mabye beta and PGO build or try Swiftweasel PGO optimazed for your processor
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
i am using firefox pgo build compiled from the aur , sorry if i didn't mension that in my first post.
Offline
Hi "r00t_ninja",
First check here:
http://wiki.archlinux.org/index.php/Fir … up_Firefox
for some tips on speeding Firefox up. Pay particular attention to "7 Turning off anti-phishing to speedup Firefox". That can and will cause Firefox to become slow only after a short time. I build the "firefox-pgo" package from AUR and have noticed recently (don't know if this is a bug) that the "urlclassifier" file in question seems to recreate itself even with the options to turn it off checked. I wound up (and I don't recommend it!) deleting the two scripts that create that file in "/usr/lib/firefox-3.0.11/components/. As I said I don't recommend going quite that far unless you encounter issues with it like I did. Also in typical Arch fashion you could hack "/usr/lib/firefox-3.0.11/run-mozilla.sh" as I have and that will definitely make Firefox start faster. Again, I would advise against that unless you know what you are doing as one wrong move and Firefox won't start. If you don't feel safe deleting "urlclassifier" then you can try this command (nicked from the forum here).
find ~/.mozilla/firefox/${current_profile} -name '*.sqlite' -exec sqlite3 '{}' 'VACUUM;' \;
It's supposed to optimize Sqlite3 databases. I made a small script called "firefast.sh" so I can call it anytime without having to type that whole thing in.
If that ("urlclassifier") is not it then I would check out your GTK theme. A heavy one can affect speed throughout all you programs. I run on a P4 system and Firefox starts in about 3 seconds for me.
Good Luck
Last edited by harryNID (2009-06-12 09:25:35)
In solving a problem of this sort, the grand thing is to be able to reason backward. That is a very useful accomplishment, and a very easy one, but people do not practice it much. In the everyday affairs of life it is more useful to reason forward, and so the other comes to be neglected. There are fifty who can reason synthetically for one who can reason analytically. --Sherlock Holmes
Offline
i have turned off anti-phishing , my gtk theme is just the clearlooks theme , ill backup my run-mozilla.sh and then muck around with it a bit , firefox seems to do nothing for a quite a while when i start it.
Offline
im having a problem with Firefox (firefox 3) , the start up time is approximately ~18 seconds , i have tried the pgo build but there wasn't any difference in start up time , my hardware is a bit old , i have a pentium 4 2.8 ghz and 630mb of ddr ram , along with a nvidia fx5500 , i have been using ubuntu for about a year and have just switched to arch linux , on ubuntu firefox only took about 7 seconds to startup for the first time of that session and then if i closed it and started it again it would start up after 1-2 seconds (seems wierd) , is there anything i can do to make firefox start faster and does anyone have any ideas on what could be causing such a slowdown.
additional info: running gnome as my de
starting firefox from terminal has given no errors
Did you setup your /etc/hosts correctly? See http://wiki.archlinux.org/index.php/Beg … tc.2Fhosts
"I'm Winston Wolfe. I solve problems."
~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~
Offline
Another question for you - what file systems are you running? I found that Firefox started up considerably slower after I switched from ext3 to ext4. No amount of optimization fixed the problem. Getting rid of ext4 did, though.
Here's what I'm running now:
/dev/sdb2 / ext3 defaults,noatime 0 2 #had been ext3
/dev/sdb1 /boot ext3 defaults,noatime 0 1 #had been ext3
/dev/sdb3 swap swap defaults 0 0
/dev/sdb5 /usr ext3 defaults,noatime 0 2 #had been ext4
/dev/sdb6 /var reiserfs defaults 0 2
/dev/sdb7 /tmp ext3 defaults,noatime 0 2 #had been ext4
/dev/sdb8 /home jfs defaults,noatime,errors=remount-ro 0 3 #had been ext4
/dev/sda1 /mnt/FNORD_101 ntfs-3g uid=500,gid=100,fmask=0113,dmask=0002,locale=en_US.UTF-8 0 0
The speed difference is astonishing.
Last edited by ProfessorTomoe (2009-06-12 16:52:06)
Offline
i am using ext4 , maybe that the problem , i didn't upgrade from ext3 though if thats what your meaning.
Offline
i am using ext4 , maybe that the problem , i didn't upgrade from ext3 though if thats what your meaning.
I actually switched by backing up the data on my ext3 partitions to an external drive via rsync, doing a fresh reformat to ext4, then restoring the data to the new, empty partitions via rsync. In other words, I didn't "upgrade" either.
Offline
I think op's problem of 18 seconds to start firefox has nothing to do with the filesystem, It's just too far fetched for that big of a difference. I don't know what the problem is but it's not filesystem, If it is then thats insane..
Offline
ok ive been messing around with stuff for abit , im back with the normal firefox official mozila and iv got the start time down to 11 seconds , anyone have any ideas , also should my /etc/hosts look like this :
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
192.168.1.195 localhost sam-desktop
# End of file
my router uses dhcp but i have reserved 192.168.1.195 for this computer.
Offline
Hi "r00t_ninja"
According to the Wiki:
/etc/hosts
This file associates IP addresses with hostnames and aliases, one line per IP address. For each host a single line should be present with the following information:
<IP-address> <hostname> [aliases...]
Add your hostname, coinciding with the one specified in /etc/rc.conf, as an alias, so that it looks like this:
127.0.0.1 localhost.localdomain localhost yourhostname
Note: This format, including the 'localhost' and your actual host name, is required for program compatibility! Errors in this entry may cause poor network performance and/or certain programs to open very slowly, or not work at all. This is a very common error for beginners.
If you use a static IP, add another line using the syntax: <static-IP> <hostname.domainname.org> <hostname> e.g.:
192.168.1.100 yourhostname.domain.org yourhostname
So mine looks like this:
#
# /etc/hosts: static lookup table for host names
##<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost harry
I use dhcpd without a router so mine looks like the first example. I don't think this will help you much but it might give you an example to help narrow the problem down. Also did you make sure to add your "hostname" to "rc.conf"? They must match.
Last edited by harryNID (2009-06-13 09:39:53)
In solving a problem of this sort, the grand thing is to be able to reason backward. That is a very useful accomplishment, and a very easy one, but people do not practice it much. In the everyday affairs of life it is more useful to reason forward, and so the other comes to be neglected. There are fifty who can reason synthetically for one who can reason analytically. --Sherlock Holmes
Offline
The line must read
127.0.0.1 localhost.localdomain localhost yourhostname
in your case
127.0.0.1 localhost sam-desktop
if you omit localhost.localdomain I believe it will work just as well.
As for the wiki saying to add another line if you have a static ip .... doesn't make much sense if things work with dhcp it should work just as well with a static ip without adding any extra lines but maybe someone knows better.
Edit:
Added second code section for completion.
Last edited by R00KIE (2009-06-13 10:07:23)
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
YAY problem solved , i had my /etc/hosts configured incorrectly , now firefox starts in 2 - 3 seconds , thank you all so much for helping.
Offline
I know this topic is old, but for a reference.
On every firefox upgrade, if one run this>
# Make a backup of the firefox binary.
sudo cp /usr/lib/firefox-3.6/firefox /usr/lib/firefox-3.6/firefox_backup
# Apply a compression of level 9.
upx -9 /usr/lib/firefox-3.6/firefox
Then Firefox will fly .
P.S> install upx from community, e.g pacman -Sy upx
:: Python powered FOREVER ::
Offline
Pages: 1