Portal Home > Knowledgebase > Articles Database > Minecraft RamDisc, Multicraft.


Minecraft RamDisc, Multicraft.




Posted by Toxicguy, 08-25-2012, 12:51 PM
Hi guys! Im hosting some servers for a community of mine, we got about 7-8 servers(tekkit server, faction server eg.) But i would like to increase performance! I have read about "Ram-Disc" and would like to try it out, but just wanna be sure on how to install them and use them. From what i have understand, Ram-Disc erase server data, if you close your server, how do i then keep servers? So a restart etc. will erase it? And how do i install it? Also is their anything i should be aware of it i use Ram-Disc? I use CentOS 6.2 Thank you!

Posted by silasistefan, 08-26-2012, 01:58 PM
well, i guess you're speaking about linux so: # mount -t tmpfs -o size=2g tmpfs /tmp If you execute that, DON'T DO IT NOW, your /tmp folder will be stored in memory. You can write in it, up to 2gb of data, thinking that you have that much ram/swap available. When you restart your server, everything that's in /tmp will be lost. You can't recover it. However, you can setup a 1 minute cron to rsync all files from /tmp to /tmp_on_disk for example... when your server reboots, you can do a reboot cron that will rsync from /tmp_on_disk back to /tmp... so you won't lose anything except the last 59 seconds before reboot...



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Moving databases (Views: 673)


Language: