RAMdisk to HDD

/usr/home

Supreme [H]ardness
Joined
Mar 18, 2008
Messages
6,160
I have recently been building my server. Now that I have 8 GB of RAM, I'm wondering if I can somehow create a RAMdisk on the server and then share it. Writing files to it across the network will be nice and quick I'm assuming. Is there a way to say, once the RAMdisk gets full, write that data to a local HDD on the server? So basically the file goes:

Remote Computer ----> RAMdisk share on the Server -----> Local storage HDD on the server.

I'm thinking this would increase the write speed to the server. Do you guys know of any way of doing this?

(Note: please no comments of "get faster HDDs!" or anything like that. In the future I plan on it, and I just want to see if the above is doable, for shits and giggles.)

Thanks :).
 
If I could get a network share made on the RAMdisk and then somehow get the files to offload onto a permanent storage HDD on the server, that's what I'm getting at.
 
With a quality HDD, you can already max out a Gbit connection. Basically, theres no point in making a RAMdisk if its over a network connection.
 
They are good HDD's the are new SV series and 7200.12 HDDs, but the board only has onboard SATA I. (Yes I could get a RAID card, but that's too easy. This is more fun to geek around with.) The whole network is Gigabit, and copying to the drives I get about 60 MB/s.
 
That perfectly normal dont expect more speed even with a ram disk
 
Ugh... :rolleyes: . I KNOW that's normal. Hence why I made the note at the bottom of my OP. Max speed, I'd be seeing is ~ 120 MB/s since it's gigabit.
 
Nope, you would not get 120MB/sec even with gigabit ethernet. That's max theorical limit but you never reach that. You can easily lower that 25-35% unless you have some prety high end network card + switch. Then you have to deal with overhead the ineficiency of file sharing protocol of the OS.

Even with a ram drive at both end you won't likely get more speed. You are limited by the networking here NOT the drive.
 
waste of ramdisk you will be limited by your network, unless you're running 10gbit at home :p Just get a new fast hdd.
 
Back
Top