Tip: eeepc and Firefox hangs

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

Tip: eeepc and Firefox hangs

Postby BobK54 on Wed Jul 15, 2009 10:32 pm

We may need to start a netbook section on the forums! I have an eee pc 900 with 2Gig RAM and the 4G SSD with a 8G SDHC set up as /home. I installed Mint on this machine recently and like it a lot. I'm not sure if anyone else is having problems with Firefox freezing or hanging. Occasionally Firefox would just hang and not load a page, even going gray while "something" was going on under the radar. This happens in both the 3.0.XX version AND the 3.5 Shiretoko versions. I found an interesting tweak at roytanck.com. See below. This tweak fixed the hang issue for me!!! :D :D :D

http://www.roytanck.com/2009/04/05/more ... ed-tweaks/

From the article:
"My Eee-PC 901 has two SSD drives. The first is pretty fast, but the second, larger one is slow as hell. I have my home folder on the second drive because that gives me a lot more space. But since Firefox writes its cache into the home folder, this can cause really irritating freezes during page loading. Here are a few settings that seem to fix this.

1. Open a new tab and type about:config into the address bar.
2. Right-click anywhere in the lower part of the screen and choose new->integer.
3. Name the new setting ‘toolkit.storage.synchronous’
4. In the second popup, set the value to 0 (zero). This tells the browser not to wait while writing files.
5. Create a new string called ‘browser.cache.disk.parent_directory’
6. Set its value to ‘/dev/shm/firefox-yourusername’. This tells the browser to use a RAM disk instead of the SSD.

I’m pretty sure the first setting (toolkit.storage.synchronous) improves things under any operating system, if the cache folder is on a slow drive. The second is probably specific to Linux (if not Ubuntu). Diverting the cache to RAM also means the cached files won’t be saved when you shut the computer down (which means they’ll have to be downloaded again if you visit the same page), but that seems like a small price to pay."
BobK54
Level 1
Level 1
 
Posts: 4
Joined: Thu Jul 09, 2009 10:29 pm

Linux Mint is funded by ads and donations.
 

Re: Tip: eeepc and Firefox hangs

Postby DrHu on Wed Jul 15, 2009 10:51 pm

5. Create a new string called ‘browser.cache.disk.parent_directory’
6. Set its value to ‘/dev/shm/firefox-yourusername’. This tells the browser to use a RAM disk instead of the SSD.

That item is a Firefox tip, and is often suggested as a method to speed up firefox page loading from web sites..
http://codebetter.com/blogs/darrell.nor ... 48720.aspx
http://blogsolute.com/2009/07/tips-to-i ... speed.html
--not specific to notebooks (netbooks) at all

RAM disk speedup..
http://www.macosxhints.com/article.php? ... 7132909881
http://www.wikihow.com/Speed-Up-Firefox ... -It-In-RAM
User avatar
DrHu
Level 17
Level 17
 
Posts: 7098
Joined: Wed Jun 17, 2009 8:20 pm

Re: Tip: eeepc and Firefox hangs

Postby barrieluv on Thu Jul 16, 2009 4:55 am

BobK54 wrote:We may need to start a netbook section on the forums! I have an eee pc 900 with 2Gig RAM and the 4G SSD with a 8G SDHC set up as /home. I installed Mint on this machine recently and like it a lot. I'm not sure if anyone else is having problems with Firefox freezing or hanging. Occasionally Firefox would just hang and not load a page, even going gray while "something" was going on under the radar. This happens in both the 3.0.XX version AND the 3.5 Shiretoko versions.


I'm not having any problems with either 3.0.xx or Shiretoko. I remember having the same problem with Ubuntu 8.04 and my fix was to go to Edit > Preferences > and untick all the remember history type boxes, tell it to clear the cache on closing FF and untick the two dodgy site security boxes. I also turned off all the Visual Effects in Gnome.
I've never moved the cache folder to the faster drive although this is recommended by many as an easy and effective FF tweak.
[b]EeePC 701 Ubuntu 10.04 || HP Pavilion DV6 Linux Mint 17 Mate Edition
User avatar
barrieluv
Level 2
Level 2
 
Posts: 79
Joined: Fri Jun 19, 2009 12:20 pm
Location: West London


Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Reorx and 27 guests