Samstag, 30. Mai 2009

tweaks

Firefox Tweaks

Speed Up Firefox Web Browser Tips

  • Applications -> Internet -> Firefox Web Browser
  • Mozilla Firefox
Address Bar -> about:config
Filter: ->
network.dns.disableIPv6 -> true
network.http.pipelining -> true
network.http.pipelining.maxrequests -> 8
network.http.proxy.pipelining -> true
  • Restart Mozilla Firefox

How to disable beep sound for link find function in Mozilla Firefox

  • Applications -> Internet -> Firefox Web Browser
  • Mozilla Firefox
Address Bar -> about:config
Filter: accessibility.typeaheadfind.enablesound -> false
  • Restart Mozilla Firefox

Setting the backspace button to go to a previous page

  • Applications -> Internet -> Firefox Web Browser
  • Mozilla Firefox
Address Bar -> about:config
Filter: -> browser.backspace_action -> 0
  • Restart Mozilla Firefox

Close the Download dialog quicker

  • Go to Applications -> Internet -> Firefox Web Browser
  • Put in your address bar
Address Bar -> about:config

Filter the configs options

Filter: -> alerts.totalOpenTime -> 500

Reduce the quantity of popups

  • Load Mozilla Firefox
  • Applications -> Internet -> Firefox Web Browser
  • Put in your address bar
Address Bar -> about:config
  • Filter the config options and change it to a reasonable number
Filter: -> dom.popup_maximum -> 5

Hide the Go Button

  • Load Mozilla Firefox
  • Applications -> Internet -> Firefox Web Browser
  • Put in your address bar
Address Bar -> about:config
  • Filter the config options and double click so it changes the result
browser.urlbar.hideGoButton -> Yes

Speed improvements using tmpfs

  • Load Mozilla Firefox
  • Applications -> Internet -> Firefox Web Browser
  • Put in your address bar
Address Bar -> about:config
  • Right click anywhere in the browser window and select
New -> String
  • Type in:
browser.cache.disk.parent_directory
  • press OK, and type in the new window:
/tmp



  • Open the sysctl.conf file for editing and backup your previous sysctl.conf file
su -c 'cp /etc/sysctl.conf /etc/sysctl.conf.backup' su -c 'gedit /etc/sysctl.conf'
  • Add the following lines
## increase TCP max buffer size setable using setsockopt() net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 ## increase Linux autotuning TCP buffer limits ## min, default, and max number of bytes to use ## set max to at least 4MB, or higher if you use very high BDP paths net.ipv4.tcp_rmem = 4096 87380 16777216 net.ipv4.tcp_wmem = 4096 65536 16777216 ## don't cache ssthresh from previous connection net.ipv4.tcp_no_metrics_save = 1 net.ipv4.tcp_moderate_rcvbuf = 1 ## recommended to increase this for 1000 BT or higher net.core.netdev_max_backlog = 2500 ## for 10 GigE, use this, uncomment below ## net.core.netdev_max_backlog = 30000 ## Turn off timestamps if you're on a gigabit or very busy network ## Having it off is one less thing the IP stack needs to work on ## net.ipv4.tcp_timestamps = 0 ## disable tcp selective acknowledgements. net.ipv4.tcp_sack = 0 ##enable window scaling net.ipv4.tcp_window_scaling = 1
  • Save it and close it. Run the following command
su -c '/sbin/sysctl -p'

Swappiness

  • You can change how much swap space you use by changing the swappiness of your Fedora install. To do this add the following line with the number between 0-100.
  • Open the sysctl.conf file for editing and backup your previous sysctl.conf file
su -c 'cp /etc/sysctl.conf /etc/sysctl.conf.backup' su -c 'gedit /etc/sysctl.conf'
  • Add the following line
vm.swappiness = 0
  • Reboot your computer

Noatime

  • Noatime affects how often the system updates your time in your computer. This is a significant loss in speed according to the kernel Devs. To speed it up do the following modifications.
  • Edit your fstab file and back it up
su -c 'cp /etc/fstab /etc/fstab.backup' su -c 'gedit /etc/fstab'
  • Where the mount option says defaults you should add some more text.
  • Before:
UUID=5f7e8362-66d0-4806-b2cf-61eb74200001 / ext3 defaults 1 1 UUID=5f7e8362-66d0-4806-b2cf-61eb74200022 /home ext3 defaults 1 2 UUID=5f7e8362-66d0-4806-b2cf-61eb74200333 /boot ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 UUID=5f7e8362-66d0-4806-b2cf-61eb74204444 swap swap defaults 0 0
  • After:
UUID=5f7e8362-66d0-4806-b2cf-61eb74200001 / ext3 defaults,noatime,nodiratime 1 1 UUID=5f7e8362-66d0-4806-b2cf-61eb74200022 /home ext3 defaults,noatime,nodiratime 1 2 UUID=5f7e8362-66d0-4806-b2cf-61eb74200333 /boot ext3 defaults,noatime,nodiratime 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 UUID=5f7e8362-66d0-4806-b2cf-61eb74204444 swap swap defaults 0 0
  • Notice the only modification is to the lines that mount my default partitions. After the editing has been completed you will need to restart your computer for it to take effect.
  • If you don't wish to reboot the computer, you may also remount the partitions of the live system:
su -c 'mount / -o remount' su -c 'mount /home -o remount'

Preload

  • Preload is an adaptive readahead daemon, that will monitor which programs you use most. Parts of these programs will be cached to speed up their load time. You can get it by running the following command:
su -c 'yum -y install preload'
  • After having installed it, remember to check if it's running and if it's enabled to start at boot time. You may do this by going to System -> Administration -> Services and scrolling down to the "preload" entry: if it isn't checked, check it (click on the "Enable" button).

Speed improvements using tmpfs

  • Use tmpfs for frequently use temp folders.
  • Add the following to /etc/fstab
#### RAM Drives #### tmpfs /tmp tmpfs defaults 0 0 tmpfs /var/tmp tmpfs defaults 0 0
  • As this change is important for SSD (Solid State Drive) systems, it also make significant impact on applications such as Win4LinPro

Gnome Tweaks

Gnome Menu (delay)

  • This is a simple alteration that will speed up your gnome menu load up.
echo "gtk-menu-popup-delay = 0" >> ~/.gtkrc-2.0