Newbie Spellweaver
- Joined
- Dec 5, 2018
- Messages
- 59
- Reaction score
- 7
So, for the last month I have been testing to see if it was possible to run the game world on less than 96gb of ram. Short answer, hell no. But can we 'trick' the server into being happy, with less? Yes.
I have opened the full game world, plus half the instances, on only 12gb of ram, on a quad core xeon server.
BUT HOW???
Short answer? Swap file. Read On
Ok so everyone knows swap is slow, and unreliable at best. So why even consider it? Well, its still not going to be ram, BUT, lets say the following is true:
SWAP CONFIGURATION
This will create the following effect on your system:
Server Start Timetable
All done. Enjoy. Like it if it works. Like it if it doesnt. Just freakin like it already
I have opened the full game world, plus half the instances, on only 12gb of ram, on a quad core xeon server.
BUT HOW???
Short answer? Swap file. Read On
Ok so everyone knows swap is slow, and unreliable at best. So why even consider it? Well, its still not going to be ram, BUT, lets say the following is true:
- Your system drive holds the operating system
- Your serverfiles and database is installed to a second hard drive (D:\Runewaker)
- Ensure you have a fast quad core (no less), Xeon Preferred
- You have at least 12gb of ram, ECC preferred
- You have dual NVRe SSDs in RAID 0. -- (E:\)
-
To view the content, you need to sign in or register
- You have setup your swap partition according to the Quote below. Its the most important.
- When starting the server, follow the Quoted Start Server Timetable
- Understand that this will allow the server to limp, most likely with an absolute max of a few hundred users, and you run the risk of database corruption if any drive fails, or if the system loses power.
- Understand that half of the client crashes in RoM are due to overloaded servers. Any server configured like this will be beyond overloaded. Clients may experience more crashes than normal during busy periods, if the server cant keep up. Its up to you to know when to stop.
- I take zero responsibility for you using this guide, its designed for technical demonstration and proof of concept, as well as experimentation purposes only.
- Its been working for 6 weeks stable on my server, without SSDs.
- When you can, do what I did, order a new server, with 96gb of ram lol.
SWAP CONFIGURATION
- Reduce System C: drive swap to 1gb (cant go any lower)
- Ensure there is no swap on DATABASE AND SERVER DRIVE D:\
- Set swap file to use a pretermined size
- Use the ENTIRE DISK SIZE of E:\
This will create the following effect on your system:
- Windows has its own space and IO (bottleneck reduction)
- The server has its own space and IO (bottleneck reduction)
- The game server will load information to ram, and page it down to the SSD-RAID
- Paging, while still slow, wont be brutal, as the pagefile will never be resized, this adds stability and speed to the mix. Especially when dealing with NVRe SSD Speed.
- The SSD-RAID, as well as the paging of the drive will consume extra cpu resources.
- Clients will receive an error regarding 'Low System Memory', it is actually the server which is starting to freak out. Under the circumstances, this is normal.
- Your systems performace will likely be limited by the number of IOPS of your motherboard or chipset. Do your homework when building your server.
Server Start Timetable
- Start Common as group
- Expand Service
- Start Service items, one per item, with 1 minute in between. Do NOT start next item until previous has finished, and is online.
- Start Zone_M - one item per time, wait until zone has finished loading and is online.
- Pause 5-10 Minutes between Zone Loading (To Allow System to Page Down)
- Repeat until desired Zone_M areas are started, or REALM begins to become unstable.
- If REALM begins to become unstable, you must unload your last 2 or 3 zones to make ram for Zone_D, and Zone_SD items, if desired.
- Start areas from Zone_D, and Zone_SD using the same above guidelines. More time pause is better, but do no less than what is stated above.
All done. Enjoy. Like it if it works. Like it if it doesnt. Just freakin like it already
