Overclock.net › Forums › Components › Hard Drives & Storage › SSD › SSD and Firefox, Memory Cache Size?
New Posts  All Forums:Forum Nav:

SSD and Firefox, Memory Cache Size?

post #1 of 10
Thread Starter 
Hey everyone, I was following a few tweaks and came across one for Firefox.

"Description: If you use Firefox, there's a way to write cached files to RAM instead of the hard disk. This is not only faster, but will significantly reduce writes to the SSD while using the browser.

Instructions: Open Firefox -> Type about:config into the address bar -> Enter -> double-click browser.cache.disk.enable to set the value to False -> Right-Click anywhere -> New -> Integer -> Preference Name "browser.cache.memory.capacity" -> value memory size in KB. Enter 32768 for 32MB, 65536 for 64MB, 131072 for 128MB, etc. -> restart Firefox"

The thing I'm confused about is what value I should put in... I have A LOT of memory, 16 GB to be exact, and I want to make sure that if I suddenly open a 100 websites at once in Firefox (Done it by accident before) that I don't cause a crash. Whats a good value to put in?
Overkill
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7-2600K 4.6 GHz at 1.29v (HT Enabled) ASUS Maximus IV Extreme ATI 6990 16GB 
Hard DriveOSPower
OCZ Vertex 3 Windows 7 64-Bit Professional Enermax Revolution 1020w 
  hide details  
Reply
Overkill
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7-2600K 4.6 GHz at 1.29v (HT Enabled) ASUS Maximus IV Extreme ATI 6990 16GB 
Hard DriveOSPower
OCZ Vertex 3 Windows 7 64-Bit Professional Enermax Revolution 1020w 
  hide details  
Reply
post #2 of 10
I think Firefox has a limit where this feature stops working because I am currently using 1572864 which is exactly 1.5 GB, and it no longer works as advertised if I use 1572865. So, I settled on 1572864. smile.gif
It's a computer!
(19 items)
 
  
CPUMotherboardGraphicsRAM
i5-2500K @ 4.5GHz (1.368-1.384V fixed voltage) ASUS P8P67 EVO B3 (UEFI ver. 1850) GTX 780 ASUS DirectCU II (1228 / 6300, 1.180V) G.SKILL Ripjaws X 8GB (2 x 4GB) 1866MHz, CL9 
Hard DriveHard DriveHard DriveOptical Drive
250 GB Samsung 840 EVO (C:\) 250 GB Samsung 840 EVO (D:\) 150 GB WD VelociRaptor Samsung SH-S243N 24x DVD Burner 
Optical DriveCoolingOSMonitor
Samsung SH-S203N 20X DVD Burner Thermaltake Frio Win 7 Home Premium x64 SP1 Retail AOC G2460PG (24" 1920 x 1080 144Hz G-SYNC) 
KeyboardPowerCaseMouse
Filco Majestouch 104-key Cherry MX Blues w/NKRO Corsair HX650 (Bronze, ordered on 12-12-2009) CM 690 Intellimouse Optical (1.1A) 1000Hz polling rate 
Mouse PadAudioAudio
Basic, but premium round X-Fi Titanium HD Klipsch ProMedia 2.1 (with 16 AWG Monster Cable... 
  hide details  
Reply
It's a computer!
(19 items)
 
  
CPUMotherboardGraphicsRAM
i5-2500K @ 4.5GHz (1.368-1.384V fixed voltage) ASUS P8P67 EVO B3 (UEFI ver. 1850) GTX 780 ASUS DirectCU II (1228 / 6300, 1.180V) G.SKILL Ripjaws X 8GB (2 x 4GB) 1866MHz, CL9 
Hard DriveHard DriveHard DriveOptical Drive
250 GB Samsung 840 EVO (C:\) 250 GB Samsung 840 EVO (D:\) 150 GB WD VelociRaptor Samsung SH-S243N 24x DVD Burner 
Optical DriveCoolingOSMonitor
Samsung SH-S203N 20X DVD Burner Thermaltake Frio Win 7 Home Premium x64 SP1 Retail AOC G2460PG (24" 1920 x 1080 144Hz G-SYNC) 
KeyboardPowerCaseMouse
Filco Majestouch 104-key Cherry MX Blues w/NKRO Corsair HX650 (Bronze, ordered on 12-12-2009) CM 690 Intellimouse Optical (1.1A) 1000Hz polling rate 
Mouse PadAudioAudio
Basic, but premium round X-Fi Titanium HD Klipsch ProMedia 2.1 (with 16 AWG Monster Cable... 
  hide details  
Reply
post #3 of 10
Thread Starter 
Thanks for the response! smile.gif

I've been searching through google to see if I could find the correct values, and mozilla's knowledge database posted these.

32 MB 2048
64 MB 4096
128 MB 6144
256 MB 10240
512 MB 14336
1 GB 18432
2 GB 24576
4 GB 30720
8 GB and up 32768

Which ones are the correct value though? I'm so confused, because it looks like one is on Kilobytes and the other is kilobits, and I'm not sure what Firefox 4 runs on.
Overkill
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7-2600K 4.6 GHz at 1.29v (HT Enabled) ASUS Maximus IV Extreme ATI 6990 16GB 
Hard DriveOSPower
OCZ Vertex 3 Windows 7 64-Bit Professional Enermax Revolution 1020w 
  hide details  
Reply
Overkill
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7-2600K 4.6 GHz at 1.29v (HT Enabled) ASUS Maximus IV Extreme ATI 6990 16GB 
Hard DriveOSPower
OCZ Vertex 3 Windows 7 64-Bit Professional Enermax Revolution 1020w 
  hide details  
Reply
post #4 of 10
Mine is at auto (fasterfox), and its using .7 of 32 mb.
So Saxy I Jazzed
(14 items)
 
  
CPUMotherboardGraphicsRAM
IBM i7 2600k Gigabyte P8P67 Deluxe Sapphire GTX 580 SC Mushkin Ripjaw 2x4GB 
Hard DriveOptical DriveCoolingOS
Crucial X25-M 120GB SSD + 1TB Seagate Caviar Black '00 Honda Civic Corsair CNPS 9900 MAX-B Mac OS7 Ultimate x64 
MonitorKeyboardPowerCase
LG E2360 overclocked to 120Hz Ultimate Nerd Cred Clicky Blanks Antec AX750 Cooler Master PC-B25FWB 
MouseMouse Pad
Razer G9x My desk 
  hide details  
Reply
So Saxy I Jazzed
(14 items)
 
  
CPUMotherboardGraphicsRAM
IBM i7 2600k Gigabyte P8P67 Deluxe Sapphire GTX 580 SC Mushkin Ripjaw 2x4GB 
Hard DriveOptical DriveCoolingOS
Crucial X25-M 120GB SSD + 1TB Seagate Caviar Black '00 Honda Civic Corsair CNPS 9900 MAX-B Mac OS7 Ultimate x64 
MonitorKeyboardPowerCase
LG E2360 overclocked to 120Hz Ultimate Nerd Cred Clicky Blanks Antec AX750 Cooler Master PC-B25FWB 
MouseMouse Pad
Razer G9x My desk 
  hide details  
Reply
post #5 of 10
I have 6gb, 3x2gb ddr3. What can I do to set it right? (Follow dirrections, but what's best for 6gb? I don't want to use all 6gb naturally, but... I want to spare up to 1gb at least?)
    
CPUMotherboardGraphicsGraphics
i5, 4670k, 4.2ghz MSI Z87-GD65 GAMING (MS-7845) MSI Nvidia GeForce GTX 760 MSI Nvidia GeForce GTX 760 
RAMHard DriveOptical DriveCooling
4x 4gb Corsair 1600 C9, XMP 1.2 2x1tb (sata6, Raid 0), 2x 1tb data drives, 4x 2... Sata: DVD DL Burner w/lite scribe corsair h100i w/2x120mm rad internal. 1x 120 re... 
OSMonitorKeyboardPower
Windows 8.1 3x 24" RL2455HM BenQ Logitech G15 Keyboard (Original with G1-G18 but... TR2 RX 1200W ThermalTake 
CaseMouseMouse PadAudio
Antec P280 Black With Window/Side Panel Razer Naga Hex Shaw @ Home Mouse Pad Xonar Dx 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
i5, 4670k, 4.2ghz MSI Z87-GD65 GAMING (MS-7845) MSI Nvidia GeForce GTX 760 MSI Nvidia GeForce GTX 760 
RAMHard DriveOptical DriveCooling
4x 4gb Corsair 1600 C9, XMP 1.2 2x1tb (sata6, Raid 0), 2x 1tb data drives, 4x 2... Sata: DVD DL Burner w/lite scribe corsair h100i w/2x120mm rad internal. 1x 120 re... 
OSMonitorKeyboardPower
Windows 8.1 3x 24" RL2455HM BenQ Logitech G15 Keyboard (Original with G1-G18 but... TR2 RX 1200W ThermalTake 
CaseMouseMouse PadAudio
Antec P280 Black With Window/Side Panel Razer Naga Hex Shaw @ Home Mouse Pad Xonar Dx 
  hide details  
Reply
post #6 of 10
Set it to "-1" and let Firefox decide for itself.

From http://www.tweakguides.com/Firefox_10.html

"browser.cache.memory.capacity [Integer] *Create - This setting determines whether Firefox uses system RAM to cache data, improving performance. A value of 0 turns off caching into RAM, which is not recommended as it can slow down browsing. The default value of -1 tells Firefox to automatically determine the size of the cache based on your physical RAM. Systems with 512MB of RAM will result in a 14MB cache, 1GB of RAM results in a 18MB cache, 2GB of RAM gives 24MB of cache, and 4GB of RAM or higher results in 32MB of RAM cache. You can check the amount of RAM being used on your system by typing about:cache?device=memory into the Address Bar and pressing Enter, then checking the value in the 'Maximum storage size' field. The default of -1 should be fine for all people, but if you notice Firefox increasing its memory usage for no apparent reason, you can manually restrict this value to a particular amount by entering a value in KB (e.g. a value of 18432 =18MB)."
post #7 of 10
Quote:
Originally Posted by 3xVicious;13129401 
Thanks for the response! smile.gif

I've been searching through google to see if I could find the correct values, and mozilla's knowledge database posted these.

32 MB 2048
64 MB 4096
128 MB 6144
256 MB 10240
512 MB 14336
1 GB 18432
2 GB 24576
4 GB 30720
8 GB and up 32768

Which ones are the correct value though? I'm so confused, because it looks like one is on Kilobytes and the other is kilobits, and I'm not sure what Firefox 4 runs on.
Use kilobytes because 1572864 kilobytes equals 1.5 GB (which is what I'm using).

So take the value in gigabytes that you want, and multiply it by 1024 two times in a row (so, for me that means I take 1.5 x 1024 x 1024).
It's a computer!
(19 items)
 
  
CPUMotherboardGraphicsRAM
i5-2500K @ 4.5GHz (1.368-1.384V fixed voltage) ASUS P8P67 EVO B3 (UEFI ver. 1850) GTX 780 ASUS DirectCU II (1228 / 6300, 1.180V) G.SKILL Ripjaws X 8GB (2 x 4GB) 1866MHz, CL9 
Hard DriveHard DriveHard DriveOptical Drive
250 GB Samsung 840 EVO (C:\) 250 GB Samsung 840 EVO (D:\) 150 GB WD VelociRaptor Samsung SH-S243N 24x DVD Burner 
Optical DriveCoolingOSMonitor
Samsung SH-S203N 20X DVD Burner Thermaltake Frio Win 7 Home Premium x64 SP1 Retail AOC G2460PG (24" 1920 x 1080 144Hz G-SYNC) 
KeyboardPowerCaseMouse
Filco Majestouch 104-key Cherry MX Blues w/NKRO Corsair HX650 (Bronze, ordered on 12-12-2009) CM 690 Intellimouse Optical (1.1A) 1000Hz polling rate 
Mouse PadAudioAudio
Basic, but premium round X-Fi Titanium HD Klipsch ProMedia 2.1 (with 16 AWG Monster Cable... 
  hide details  
Reply
It's a computer!
(19 items)
 
  
CPUMotherboardGraphicsRAM
i5-2500K @ 4.5GHz (1.368-1.384V fixed voltage) ASUS P8P67 EVO B3 (UEFI ver. 1850) GTX 780 ASUS DirectCU II (1228 / 6300, 1.180V) G.SKILL Ripjaws X 8GB (2 x 4GB) 1866MHz, CL9 
Hard DriveHard DriveHard DriveOptical Drive
250 GB Samsung 840 EVO (C:\) 250 GB Samsung 840 EVO (D:\) 150 GB WD VelociRaptor Samsung SH-S243N 24x DVD Burner 
Optical DriveCoolingOSMonitor
Samsung SH-S203N 20X DVD Burner Thermaltake Frio Win 7 Home Premium x64 SP1 Retail AOC G2460PG (24" 1920 x 1080 144Hz G-SYNC) 
KeyboardPowerCaseMouse
Filco Majestouch 104-key Cherry MX Blues w/NKRO Corsair HX650 (Bronze, ordered on 12-12-2009) CM 690 Intellimouse Optical (1.1A) 1000Hz polling rate 
Mouse PadAudioAudio
Basic, but premium round X-Fi Titanium HD Klipsch ProMedia 2.1 (with 16 AWG Monster Cable... 
  hide details  
Reply
post #8 of 10
Quote:
Originally Posted by TwoCables;13129589 
Use kilobytes because 1572864 kilobytes equals 1.5 GB (which is what I'm using).

So take the value in gigabytes that you want, and multiply it by 1024 two times in a row (so, for me that means I take 1.5 x 1024 x 1024).

Duh, smile.gif Makes sense now.

One ? tho, is it for Kilobytes? or bytes? As I don't want to use 1.5mb's... rather 1.5gb's, (example).

Thanks!

- Le_Loup
    
CPUMotherboardGraphicsGraphics
i5, 4670k, 4.2ghz MSI Z87-GD65 GAMING (MS-7845) MSI Nvidia GeForce GTX 760 MSI Nvidia GeForce GTX 760 
RAMHard DriveOptical DriveCooling
4x 4gb Corsair 1600 C9, XMP 1.2 2x1tb (sata6, Raid 0), 2x 1tb data drives, 4x 2... Sata: DVD DL Burner w/lite scribe corsair h100i w/2x120mm rad internal. 1x 120 re... 
OSMonitorKeyboardPower
Windows 8.1 3x 24" RL2455HM BenQ Logitech G15 Keyboard (Original with G1-G18 but... TR2 RX 1200W ThermalTake 
CaseMouseMouse PadAudio
Antec P280 Black With Window/Side Panel Razer Naga Hex Shaw @ Home Mouse Pad Xonar Dx 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
i5, 4670k, 4.2ghz MSI Z87-GD65 GAMING (MS-7845) MSI Nvidia GeForce GTX 760 MSI Nvidia GeForce GTX 760 
RAMHard DriveOptical DriveCooling
4x 4gb Corsair 1600 C9, XMP 1.2 2x1tb (sata6, Raid 0), 2x 1tb data drives, 4x 2... Sata: DVD DL Burner w/lite scribe corsair h100i w/2x120mm rad internal. 1x 120 re... 
OSMonitorKeyboardPower
Windows 8.1 3x 24" RL2455HM BenQ Logitech G15 Keyboard (Original with G1-G18 but... TR2 RX 1200W ThermalTake 
CaseMouseMouse PadAudio
Antec P280 Black With Window/Side Panel Razer Naga Hex Shaw @ Home Mouse Pad Xonar Dx 
  hide details  
Reply
post #9 of 10
I can possibly see why you'd want to reduce hit to the SSD, but I'm not totally sure why you'd cache files to RAM. Seems counterproductive if you lose power at any point.
Bleeding Edge
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 2600k @ 5.0Ghz 24/7 ASUS P8P67PRO AMD 5870x2 8GB GSkill Ripjaw X 1600 @ CL8 
Hard DriveOSMonitorKeyboard
ADATA S599 64GB SSD + 2x 1TB Spinpoint (Raid 0) Windows 7 64Bit Dell 23" Razer Lycosa 
PowerCase
Seasonic X650 HAF X 
  hide details  
Reply
Bleeding Edge
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 2600k @ 5.0Ghz 24/7 ASUS P8P67PRO AMD 5870x2 8GB GSkill Ripjaw X 1600 @ CL8 
Hard DriveOSMonitorKeyboard
ADATA S599 64GB SSD + 2x 1TB Spinpoint (Raid 0) Windows 7 64Bit Dell 23" Razer Lycosa 
PowerCase
Seasonic X650 HAF X 
  hide details  
Reply
post #10 of 10
Quote:
Originally Posted by Le_Loup;13129747 
Duh, smile.gif Makes sense now.

One ? tho, is it for Kilobytes? or bytes? As I don't want to use 1.5mb's... rather 1.5gb's, (example).

Thanks!

- Le_Loup
Kilobytes, and gigabytes. When I say "GB", I mean, "gigabytes" because "GB" is the standard for "gigabytes". When I say "Gb", I mean "gigabits" because "Gb" is the standard for "gigabits".

So, 1572864 KB equals 1.5 GB. Or, 1536 MB is 1.5 GB, which is also 1572864 KB.

So, use "GB" and "MB" for "gigabytes" and "megabytes". Use "Gb" and "Mb" for "gigabits" and "megabits".

Also, 1,610,612,736 bytes equals 1.5 gigabytes. However, Firefox deals in kilobytes ("KB", not "Kb").
It's a computer!
(19 items)
 
  
CPUMotherboardGraphicsRAM
i5-2500K @ 4.5GHz (1.368-1.384V fixed voltage) ASUS P8P67 EVO B3 (UEFI ver. 1850) GTX 780 ASUS DirectCU II (1228 / 6300, 1.180V) G.SKILL Ripjaws X 8GB (2 x 4GB) 1866MHz, CL9 
Hard DriveHard DriveHard DriveOptical Drive
250 GB Samsung 840 EVO (C:\) 250 GB Samsung 840 EVO (D:\) 150 GB WD VelociRaptor Samsung SH-S243N 24x DVD Burner 
Optical DriveCoolingOSMonitor
Samsung SH-S203N 20X DVD Burner Thermaltake Frio Win 7 Home Premium x64 SP1 Retail AOC G2460PG (24" 1920 x 1080 144Hz G-SYNC) 
KeyboardPowerCaseMouse
Filco Majestouch 104-key Cherry MX Blues w/NKRO Corsair HX650 (Bronze, ordered on 12-12-2009) CM 690 Intellimouse Optical (1.1A) 1000Hz polling rate 
Mouse PadAudioAudio
Basic, but premium round X-Fi Titanium HD Klipsch ProMedia 2.1 (with 16 AWG Monster Cable... 
  hide details  
Reply
It's a computer!
(19 items)
 
  
CPUMotherboardGraphicsRAM
i5-2500K @ 4.5GHz (1.368-1.384V fixed voltage) ASUS P8P67 EVO B3 (UEFI ver. 1850) GTX 780 ASUS DirectCU II (1228 / 6300, 1.180V) G.SKILL Ripjaws X 8GB (2 x 4GB) 1866MHz, CL9 
Hard DriveHard DriveHard DriveOptical Drive
250 GB Samsung 840 EVO (C:\) 250 GB Samsung 840 EVO (D:\) 150 GB WD VelociRaptor Samsung SH-S243N 24x DVD Burner 
Optical DriveCoolingOSMonitor
Samsung SH-S203N 20X DVD Burner Thermaltake Frio Win 7 Home Premium x64 SP1 Retail AOC G2460PG (24" 1920 x 1080 144Hz G-SYNC) 
KeyboardPowerCaseMouse
Filco Majestouch 104-key Cherry MX Blues w/NKRO Corsair HX650 (Bronze, ordered on 12-12-2009) CM 690 Intellimouse Optical (1.1A) 1000Hz polling rate 
Mouse PadAudioAudio
Basic, but premium round X-Fi Titanium HD Klipsch ProMedia 2.1 (with 16 AWG Monster Cable... 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: SSD
Overclock.net › Forums › Components › Hard Drives & Storage › SSD › SSD and Firefox, Memory Cache Size?