| |||||||
Ubuntu Discussion on Ubuntu on the Dell Inspiron Mini range of netbooks.
![]() |
| | LinkBack | Thread Tools | Display Modes |
| ||||||||||
| |||||||
Ubuntu Discussion on Ubuntu on the Dell Inspiron Mini range of netbooks.
![]() |
| | LinkBack | Thread Tools | Display Modes |
(#1)
|
| Junior Member Posts: 20 Join Date: Jan 2009 Location: Northern England | Has anyone implemented a ramdisk on the Mini 9 using Dell's Ubuntu? I would like use one for my browser cache to speed things up and reduce wear and tear on the ssd. TIA. www.twpdracing.com www.twpd.co.uk Dell Mini-9, Runcore 32GB ssd, 2GB RAM, Ubuntu 8.10 |
| | |
(#2)
|
(#3)
|
| Junior Member Posts: 20 Join Date: Jan 2009 Location: Northern England | Yeah, moving it would be fine. Although I've messed around with Linux for a few years I am far from proficient with it and tend to hide from the command line...I was hoping there would be an easy implementation so that whenever my Mini booted I would have a ramdisk that was easily accessible as another drive....if that's possible. Assuming I added in the line you mention, what or how would I need to point FF to this ramdisk? Linux doesn't assign drive letters like Windows does. Presumably it's just a case of entering the path? I'll give it a whirl this weekend when I have enough time to rectify any damage I do to my system! :lol: I'll backup first! Thanks for the input so far. I have 2GB of RAM so I figured I've plenty of room for a ramdisk. www.twpdracing.com www.twpd.co.uk Dell Mini-9, Runcore 32GB ssd, 2GB RAM, Ubuntu 8.10 |
| | |
(#4)
|
(#5)
|
(#6)
|
| Junior Member Posts: 26 Join Date: Dec 2008 | I tested the ramdisk for firefox, the only thing you need to do is to put in about:config : browser.cache.disk.parent_directory , type : string, = /var/lock /var/lock is a user writable tmpfs directory created at boot time by the system. (/var/run is no writable by user) you can check with about:cache that it is working. You will see in /var/lock a new directory : Cache. But I didn't felt big difference on the usage ... EDIT: do not forget to delete everything in your old cache , something like : ~/.mozilla/web browser/611380dd.default/Cache/ |
| | |
(#7)
|
| Senior Member Posts: 241 Join Date: Oct 2008 Location: Beaumont, TX US | Quote:
If so, your method is a lot quicker - but mine ensures the sizes match and the area is secure for a given user. Either way, this redirects cache to a tmpfs drive. Your SSD will not be written to constantly by Firefox. Was this what you were looking for, niw_uk1964? Internal Mods > usb hub, 16gb flash drive, 8gb flash drive, added webcam, changed kbd Software Mods > Dellbuntu 8.04.1 | Gentoo 2008.0 | |
| | |
(#8)
|
| Junior Member Posts: 26 Join Date: Dec 2008 | no problems, it is dynamic : Code: >dd if=/dev/zero of=/var/lock/foobar bs=1M count=400 400+0 records in 400+0 records out 419430400 bytes (419 MB) copied, 1.25483 s, 334 MB/s so there is enough for 64MB of cache ... |
| | |
(#9)
|
| Junior Member Posts: 2 Join Date: Jan 2009 | Thanks. I followed the longer set of instructions and it worked fine. The only hiccup I had as a complete Linux noob was this: "You can look at the size of the new tmpfs area by going to System -> Administration -> System Monitor -> File Systems. Keep the Monitor open, and start browsing. You'll see it start filling up..." In the system monitor I had to go into Edit>Preferences>File Systems and check the box "Show All File sytems" in order to see it listed. Thanks for the steb-by-step. This mini is my first Linux experience so I'm really just getting started. Pete |
| | |
(#10)
|
| Senior Member Posts: 241 Join Date: Oct 2008 Location: Beaumont, TX US | Quote:
I'll make an edit in the previous post to reflect the fact you have to enable tmpfs to be seen there. I wrote the how-to while away from my Mini (and I was pretty sure there was a way to see all of the filesystems anyway). You could also use the command-line: df -h Which will list the various filesystems attached to your root device and how much are used on each. Welcome to the forums, pete7919! Let us know how your Mini experience goes. Internal Mods > usb hub, 16gb flash drive, 8gb flash drive, added webcam, changed kbd Software Mods > Dellbuntu 8.04.1 | Gentoo 2008.0 | |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://www.mydellmini.com/forum/ubuntu/2435-ramdisk-mini-9-ubuntu-dell-flavour.html | ||||
| Posted By | For | Type | Date | |
| arod0405 - Bookmarks | Diigo | This thread | Refback | 05-16-2009 02:17 PM | |
Copyright © 2008-2010 MyDellMini.com.
Hosted on a CatN PHP vCluster.