Save your HD's and run the bbs off a RAMDISK!
Posted: Mon Feb 13, 2012 2:18 am
So lately I've been getting a lot of people asking me how to setup and run worldgroup and they all keep talking about getting these fancy raid5 arrays and how they will be needed to keep things going smooth in case of failure... (you should see the processors they think they need, I just upgraded from a p2-300 after it finally died 15 years later?)
Computers have gotten to the point where you can have enough RAM on your system (100x faster than any HD) to run the entire BBS in it... and best of all it doesn't matter how fragmented the files are, still comes up at the same speed...
A company called Dataram makes a program called RAMDisk... its free... so I've already gotten over the first hurdle with you... free... believe me I know this isn't a cheap hobby sometimes so this is a bonus.
next you'll actually need the extra ram on your system to dedicate to the drive... now lets be honest here, there are probably a lot of files in your directory now you could get rid of and really crunch down the system to be very compact... I myself started with 512MB ramdisk and eventually expanded to 1024MB just because I liked temporarily putting lots of other things on there for personal use because of the extreme speed...
so if you have an extra 512MB of ram on your machine (with systems now coming with 8GB standard this is an easy grab) you should be able to find this an easy way to save yourself the headache of HD activity going nonstop on a busy system... if you only run the BBS on this machine and you already have 2GB of system ram, you've got more than enough to run the BBS and the OS.
Sure you might have to change the install directory of worldgroup to be say your E: drive but thats a quick fix for not having the stress on a group of HD's... if you have a large file area I'm sure you can still host that on seperate drives while the main bbs runs on the ramdisk.
Now some will say what about hardware failure or losing power?!?! Well I can't think of the last time I've had RAM be the failure point in my systems, everything else under the sun but thats been one issues that doesn't seem have hurt me since its not a mechanical moving device... and for power failure I'm hoping most people have a UPS battery to give the system the few minutes it needs to shut down in the event of a failure? The software will make an image of the ramdisk on your C: drive when shutting down... plus I'm sure you all have your morning backups, as well as ramdisk able to save a disk image at a predefined time period, I just do it every 12 hours not a real biggy.
So with ramdisk for free, and having extra ram you're not using... why not give yourself the benefit of 10x faster reads/writes and get rid of the HD bottleneck in your system... cleanup goes MUCH quicker when its reading and writing to ram than to a HD... in fact if you have a larger ramdisk, you can setup your cleanup file to copy the entire bbs into a backup directory, then later on have a windows event that zips and moves it to a hard drive so you don't have to delay cleanup to run the zip and writing on the HD...
if it wasn't for the grace period on my system, my cleanup would be 15 seconds from start to finish since I've removed the hard drive... I just got annoyed one night from all the scsi chatter and looked for an alternative and wondered if we can do it for our web servers with 128GB of ram to cache the most used files, why not worldgroup server...
P.S. anyone still use ultra scsi drives, I've got a bunch of backups just in case something failed on the raid I never used... still in wrap.
---edit---
on some versions of windows you will need to go into the disk manager, and right click on the ram set aside to re-enabled the ramdrive everytime you reboot... I think this is changed in other windows versions as the software is better able to work in them... just wanted people to be aware of this after installing it and then not instantly see'ing a new drive added to their windows explorer... have to go in there and enable the disk, and then give it a drive letter also... I think vista/win7 are okay but XP and below will need to enable the drive.
Computers have gotten to the point where you can have enough RAM on your system (100x faster than any HD) to run the entire BBS in it... and best of all it doesn't matter how fragmented the files are, still comes up at the same speed...
A company called Dataram makes a program called RAMDisk... its free... so I've already gotten over the first hurdle with you... free... believe me I know this isn't a cheap hobby sometimes so this is a bonus.
next you'll actually need the extra ram on your system to dedicate to the drive... now lets be honest here, there are probably a lot of files in your directory now you could get rid of and really crunch down the system to be very compact... I myself started with 512MB ramdisk and eventually expanded to 1024MB just because I liked temporarily putting lots of other things on there for personal use because of the extreme speed...
so if you have an extra 512MB of ram on your machine (with systems now coming with 8GB standard this is an easy grab) you should be able to find this an easy way to save yourself the headache of HD activity going nonstop on a busy system... if you only run the BBS on this machine and you already have 2GB of system ram, you've got more than enough to run the BBS and the OS.
Sure you might have to change the install directory of worldgroup to be say your E: drive but thats a quick fix for not having the stress on a group of HD's... if you have a large file area I'm sure you can still host that on seperate drives while the main bbs runs on the ramdisk.
Now some will say what about hardware failure or losing power?!?! Well I can't think of the last time I've had RAM be the failure point in my systems, everything else under the sun but thats been one issues that doesn't seem have hurt me since its not a mechanical moving device... and for power failure I'm hoping most people have a UPS battery to give the system the few minutes it needs to shut down in the event of a failure? The software will make an image of the ramdisk on your C: drive when shutting down... plus I'm sure you all have your morning backups, as well as ramdisk able to save a disk image at a predefined time period, I just do it every 12 hours not a real biggy.
So with ramdisk for free, and having extra ram you're not using... why not give yourself the benefit of 10x faster reads/writes and get rid of the HD bottleneck in your system... cleanup goes MUCH quicker when its reading and writing to ram than to a HD... in fact if you have a larger ramdisk, you can setup your cleanup file to copy the entire bbs into a backup directory, then later on have a windows event that zips and moves it to a hard drive so you don't have to delay cleanup to run the zip and writing on the HD...
if it wasn't for the grace period on my system, my cleanup would be 15 seconds from start to finish since I've removed the hard drive... I just got annoyed one night from all the scsi chatter and looked for an alternative and wondered if we can do it for our web servers with 128GB of ram to cache the most used files, why not worldgroup server...
P.S. anyone still use ultra scsi drives, I've got a bunch of backups just in case something failed on the raid I never used... still in wrap.
---edit---
on some versions of windows you will need to go into the disk manager, and right click on the ram set aside to re-enabled the ramdrive everytime you reboot... I think this is changed in other windows versions as the software is better able to work in them... just wanted people to be aware of this after installing it and then not instantly see'ing a new drive added to their windows explorer... have to go in there and enable the disk, and then give it a drive letter also... I think vista/win7 are okay but XP and below will need to enable the drive.