• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

[Ubuntu]Speed up Internet, Google Earth & Firefox

Source

Basically you disable ipV6 which apparently conflicts with ipV4, I'm no expert on the whys or hows but like I said, it worked for me.

1. Open your Gnome Terminal/ KDE Konsole and type :-
For Gnome
sudo gedit /etc/modprobe.d/aliases
or For KDE
sudo kate /etc/modprobe.d/aliases

2. Kate or Gedit will open and show you this file :-
(scroll down to see what to copy and paste)

# These are the standard aliases for devices and kernel drivers.
# This file does not need to be modified.
#
# Please file a bug against module-init-tools if a package needs a entry
# in this file.

# network protocols ################################################## ########
alias net-pf-1 unix
alias net-pf-2 ipv4
alias net-pf-3 ax25
alias net-pf-4 ipx
alias net-pf-5 appletalk
alias net-pf-6 netrom
alias net-pf-7 bridge
alias net-pf-8 atm
alias net-pf-9 x25
#Add the following lines:
alias net-pf-10 ipv6 off
alias net-pf-10 off
alias ipv6 off

alias net-pf-10 ivp6 #Comment this line by adding #, making it #alias net-pf-10 ivp6
alias net-pf-11 rose
alias net-pf-12 decnet
# 13 NETBEUI
alias net-pf-15 af_key
alias net-pf-16 af_netlink
alias net-pf-17 af_packet

3. Now "Save" and "Reboot"

There's another way too: instead of changing aliases file, create fie named bad_list in /etc/modprobe.d containing this line:

alias net-pf-10 off

This method will work even if /etc/modprobe.d/aliases get replaced at some update.


Speeding up Firefox
Source

You can speed up your Firefox browser by doing the following:

cd ~/.mozilla/firefox/*.default/

gedit user.js

Everyone should put there:

user_pref("network.http.pipelining", true); user_pref("network.http.proxy.pipelining", true); user_pref("network.http.pipelining.maxrequests", 8); user_pref("content.notify.backoffcount", 5); user_pref("plugin.expose_full_path", true); user_pref("ui.submenuDelay", 0);


Now, include these, depending on your computer and internet connection:

FAST COMPUTER, FAST CONNECTION

user_pref("content.interrupt.parsing", true); user_pref("content.max.tokenizing.time", 2250000); user_pref("content.notify.interval", 750000); user_pref("content.notify.ontimer", true); user_pref("content.switch.threshold", 750000); user_pref("nglayout.initialpaint.delay", 0); user_pref(network.http.max-connections", 48); user_pref("network.http.max-connections-per-server", 16); user_pref("network.http.max-persistent-connections-per-proxy", 16); user_pref("network.http.max-persistent-connections-per-server", 8); user_pref("browser.cache.memory.capacity", 65536);


FAST COMPUTER, SLOWER CONNECTION

user_pref("content.max.tokenizing.time", 2250000); user_pref("content.notify.interval", 750000); user_pref("content.notify.ontimer", true); user_pref("content.switch.threshold", 750000); user_pref("network.http.max-connections", 48); user_pref("network.http.max-connections-per-server", 16); user_pref("network.http.max-persistent-connections-per-proxy", 16); user_pref("network.http.max-persistent-connections-per-server", 8); user_pref("nglayout.initialpaint.delay", 0); user_pref("browser.cache.memory.capacity", 65536);


FAST COMPUTER, SLOW CONNECTION

user_pref("browser.xul.error_pages.enabled", true); user_pref("content.interrupt.parsing", true); user_pref("content.max.tokenizing.time", 3000000); user_pref("content.maxtextrun" 8191); user_pref("content.notify.interval", 750000); user_pref("content.notify.ontimer", true); user_pref("content.switch.threshold", 750000); user_pref("network.http.max-connections", 32); user_pref("network.http.max-connections-per-server", 8); user_pref("network.http.max-persistent-connections-per-proxy", 8); user_pref("network.http.max-persistent-connections-per-server", 4); user_pref("nglayout.initialpaint.delay", 0); user_pref("browser.cache.memory.capacity", 65536);


SLOW COMPUTER, FAST CONNECTION

user_pref("content.max.tokenizing.time", 3000000); user_pref("content.notify.backoffcount", 5); user_pref("content.notify.interval", 1000000); user_pref("content.notify.ontimer", true); user_pref("content.switch.threshold", 1000000); user_pref("content.maxtextrun", 4095); user_pref("nglayout.initialpaint.delay", 1000); user_pref("network.http.max-connections", 48); user_pref("network.http.max-connections-per-server", 16); user_pref("network.http.max-persistent-connections-per-proxy", 16); user_pref("network.http.max-persistent-connections-per-server", 8); user_pref("dom.disable_window_status_change", true);


DIAL-UP

user_pref("content.max.tokenizing.time", 2250000); user_pref("content.notify.interval", 750000); user_pref("content.notify.ontimer", true); user_pref("content.switch.threshold", 750000); user_pref("nglayout.initialpaint.delay", 750); user_pref("network.http.max-connections", 32); user_pref("network.http.max-connections-per-server", 8); user_pref("network.http.max-persistent-connections-per-proxy", 8); user_pref("network.http.max-persistent-connections-per-server", 4); user_pref("dom.disable_window_status_change", true);

This works like the Fasterfox app for Windows.

 
Is this going to become a regular thing--posting howtos from ubuntuforums? I like good tricks as much as the next person, but...
 
I was about to try this out in gentoo, but then I realized I dont have IPv6 support in my system at all. I didnt' add it in my kernel or make.conf use flags.
 
Originally posted by: P0ldy
Is this going to become a regular thing--posting howtos from ubuntuforums? I like good tricks as much as the next person, but...

Ocassionally I'll post some guides that are found there, but today I just decided to post the ones that I'm sure most people would enjoy.
 
Note that changing many of these Firefox prefs are modifying tradeoffs between how responsive the application feels during page load, and how fast pages load. bug 72138 contains a little bit of info on some of them - they did testing to determine how short the timeouts could be before overall pageload time increased.
 
Back
Top