New Posts  All Forums:Forum Nav:

Ramdisk Linux - Page 3

post #21 of 24
Quote:
Originally Posted by evermooingcow View Post
Currently I just have a quick and dirty setup to copy everything to see that it actually works. I do plan to work on refining it when I get home today.

I don't know exactly what speeds I'm getting when I transfer the files. I can saturate a gigabit link when transferring a large file but I don't know about many small files. I may need to run another FS. Maybe copying an archive and expanding in RAM would be faster.

How painful this setup will be directly depends on how often you reboot Yes the boot is currently at ~5min and rsyncing before shutdown will take additional time if you have changes you want to keep.

Part of the reason I tried all of this was in preparation for my file server upgrade. I'm going to be booting off of a USB or CF card and in order to limit writes I'm going to want to set it up like a liveCD. I now have a setup in mind that I can adapt from this experiment.
For a server I wouldn't recommend this. Unless it's for messing around with, but the problem mainly comes down to what happens if the power goes. Unless you do active syncing every so often, but that would put more stress than random writes.... I'd recommend only putting certain directories into a squashFS (custom LiveCD) and then putting a DB on disk. Otherwise you could lose the entire DB, but I'm sure your aware of that. =P

[edit] I could see this as a server, like you have planned, but honestly not as a desktop. =P
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #22 of 24
i know from exp, booting ubuntu from a cd rom drive is insanely slow, and booting from a usb flash drive is insanely fast, i've often tinkered with the idea of installing my OS to a flash drive, but the largest one i currently have is a 4 GB, and i've had them fail to often due to rxw limits, do ssd's suffer the same fate, if so it will seriously impact my decision on purchasing large or expensive ssd's.
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #23 of 24
Quote:
Originally Posted by transhour View Post
i know from exp, booting ubuntu from a cd rom drive is insanely slow, and booting from a usb flash drive is insanely fast, i've often tinkered with the idea of installing my OS to a flash drive, but the largest one i currently have is a 4 GB, and i've had them fail to often due to rxw limits, do ssd's suffer the same fate, if so it will seriously impact my decision on purchasing large or expensive ssd's.
No, they have methods to evenly distribute the write counds so that the drive wears "evenly". At least they should, that's what I've gathered. They say to minimize "wear" you should use a ramdisk for /tmp though, and any directories you have constant write too. I'm also guessing constant compiling should be done on a partition off of the SSD. That is also extremely IO intensive and could cause wear.

[To the server idea]

The problem I see with using a server is updating for security. You'll have to do that without the server running, which could lead to hours of downtime. You could initiate a method for updating the disk by using a temporary mount and doing a chroot session, then just re-load your ramdisk. However that seems like it could cause some unwanted congestion on the server, still would be feasible. I'm still not exactly sure how well a complete desktop to RAM idea would go down. The only reason I say a server would be more feasible is because you can lower the actual file system to under 4G easily with just a terminal interface (possibly even less, 2G ect... extremely small).
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #24 of 24
Thread Starter 
Just tested my rsync script. I tried it first run after a system update of ~50 packages and the sync took about 10 seconds. Very acceptable time and much faster than I had expected. Reboots fine with all changes applied. Now if I can just reduce the boot time..

On a side note the ~50 packages all compiled without issue granted they weren't the biggest packages.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix