making Chrome use a RAM disk for cache

4,613 views
Skip to first unread message

xBible Admin

unread,
Apr 9, 2014, 7:01:55 PM4/9/14
to chromium...@chromium.org
Evening folks,

I'm involved with a project to provide Christian software to people who may have come from a different religious background and live in a country with limited free speech.

Part of the product is a browser with proxy on a USB drive.   (TOR is too complex for me!!)

As Chromium runs slow on a USB drive, I hit on an idea, could I create a RAM disk and let Chrome do all its shuffling around on this volume, which can be destroyed with app is quit.

I'm experimenting with a RAM disk app called IMdisk, and checking with the author of this.

Is there a command switch to make Chrome use a seperate file location for this?

--

Yosef Mamotza
CEO - The xBible project
bringing the bible into a closed off world
www.xbible.net (soon)
twitter @xbible blog xbible.wordpress.com

Tony Gentilcore

unread,
Apr 10, 2014, 10:50:14 AM4/10/14
to xbibl...@gmail.com, Chromium-discuss
--profile-directory=/my/ram/disk should cover everything like history,
bookmarks, caches, cookies, etc. Some security folks may want to
confirm that this covers everything. Another option might just be to
pass --incognito, but I haven't checked whether it is possible for the
user to accidentally open a non-incognito window if you go that route.

-Tony
> --
> --
> Chromium Discussion mailing list: chromium...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-discuss
>

xBible Admin

unread,
Apr 10, 2014, 10:57:10 AM4/10/14
to Tony Gentilcore, Chromium-discuss
thanks Tony,

will try this, I have a special extension needed and I've set the Chrome theme to a black style, would these be stored somewhere else?   I'd like to make sure these features stay, but history and temp cookies can be wiped when the app is quit.

Yosef

Joao da Silva

unread,
Apr 10, 2014, 11:01:06 AM4/10/14
to xbibl...@gmail.com, Tony Gentilcore, Chromium-discuss
You may also try --user-data-dir=/path/to/ram/disk. This includes the profile directory and others too.

This may help installing extensions automatically:



To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

Рома Чупин

unread,
Apr 13, 2014, 1:32:20 AM4/13/14
to chromium...@chromium.org, xbibl...@gmail.com, Tony Gentilcore, joaod...@chromium.org
guys i'd like to use ram too: i want to work on ram and after that write data to ssd – some RAMsoft should be able to provide this?
another question is: is there some size that will be enough for user data? it's cookies and history or something else?

четверг, 10 апреля 2014 г., 19:01:06 UTC+4 пользователь Joao da Silva написал:

xBible Admin

unread,
Apr 13, 2014, 4:07:45 PM4/13/14
to Рома Чупин, Chromium-discuss, Tony Gentilcore, joaod...@chromium.org
thanks for that,

Is there a browser benchmark app we could measure performance of Chrome, not Acid test, but based on the PC's actual performance.

I think in theory have a RAM disk has potential to make some decent performance increases for anyone who runs particulary demanding apps in a browser.

Is there any Google staff on this list?   surely this should be of great interest to them, as a RAM disk has potentially 10x the perfomance of an SSD?

cheers

Yosef

Chris Bentzel

unread,
Apr 14, 2014, 10:08:43 AM4/14/14
to xbibl...@gmail.com, Рома Чупин, Chromium-discuss, Tony Gentilcore, Joao da Silva
A number of people who replied are Google employees.

RAMdisk does have the potential to be faster than SSD, but a few issues:

  a) Even if there is a 20x improvement in speed on the cache access bits, does it show up in user-perceived performance?
  b) Cache will not persist across machine restarts etc. which may make for more bandwidth and slower performance since having to hit network more.
  c) Will additional memory usage by the ramdisk hurt performance overall by increasing swap used.

RANDALL MARSH

unread,
Jun 1, 2020, 2:23:37 AM6/1/20
to Chromium-discuss
i would like to see something similar to windows Readyboost where the individual can control the amount of RAM dedicated to system and background os.I have at several occasions had excessive loads on the cpu at 2.GHz.Intel Core duo .Only being able to use the onboard Ram chips .Id like to use the external USB memory or storage to free up the system resources so I don't keep over heating .ANy suggestions anyone?
Reply all
Reply to author
Forward
0 new messages