• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

SAS HDD or SSD disk while hosting a game server?

What would you choose?


  • Total voters
    21

Joriku

Working in the mines, need something?
Joined
Jul 16, 2016
Messages
1,078
Solutions
15
Reaction score
370
Location
Sweden
YouTube
Joriku
Hello,
I have been thinking about this for a period of time (not long) so I wish to see for myself on what Otland people thinks about it.
If you we're to host a server, what would you use and why is that?
SAS HDD
Or
SSD Drive
 
SSD for sure specially NVMe.
I didn’t know much about SSD before, just i knew it is faster than HDD but never tried it.
I added extra SSD to my laptop and i felt that. It is amazing really :) 10 seconds to load everything at startup.
It will be also great for hosting!
 
SSD for sure specially NVMe.
I didn’t know much about SSD before, just i knew it is faster than HDD but never tried it.
I added extra SSD to my laptop and i felt that. It is amazing really :) 10 seconds to load everything at startup.
It will be also great for hosting!
Yes, I do know the diffrences between them.
For personal pc experience I do use SSD but for server hosting..
For example, there's + and - by using them both, If you read about it for example here:
 
SSD NVME on good processors with a ton of data centers.

You also get free $50 credit so you can host your server for free for a minute... no contracts, instant deployment.
These are the best servers ive found to date for the price and the hardware youre getting.
if theres a better deal out there, I havent found it yet.
 
SSD NVME on good processors with a ton of data centers.

You also get free $50 credit so you can host your server for free for a minute... no contracts, instant deployment.
These are the best servers ive found to date for the price and the hardware youre getting.
if theres a better deal out there, I havent found it yet.
Thanks, that wasn't related into the question tho.
I use Hetzner for my Linux hosting, it's relative cheap but maybe not those high quality SSD drives but their servers works fast and has instant setup etc. etc.
Just that the old company or well a company I use when Im hosting thru a windows host is viasky and they do not have any SSD drives atm which made me question if it's worth using that. I linked a post up in this post about it and that's why I asked about this.
 
SSD NVME on good processors with a ton of data centers.

You also get free $50 credit so you can host your server for free for a minute... no contracts, instant deployment.
These are the best servers ive found to date for the price and the hardware youre getting.
if theres a better deal out there, I havent found it yet.

Those has poor protection against anything, thats why they are quite cheap. Personally, worst host company i've been.
 
There is literally 1000 factors to take into account if SSD or HDD would be preferred.

So to just say one or the other is hard to do based on nothing

price, database size, available memory etc.
Usually database read/write are done at startup, login/logout, and most can be stored in memory(why available memory is a factor), so database can normally, for OT use, be stored on HDD.
If DB size is higher than available memory not all can be stored in memory and some will be fetched from disk, but that won’t be much anyway.

SSD will mostly only speed up the startup.
I would recommend more RAM over SSD, depending on the pricetag ofcourse
 
There is literally 1000 factors to take into account if SSD or HDD would be preferred.

So to just say one or the other is hard to do based on nothing

price, database size, available memory etc.
Usually database read/write are done at startup, login/logout, and most can be stored in memory(why available memory is a factor), so database can normally, for OT use, be stored on HDD.
If DB size is higher than available memory not all can be stored in memory and some will be fetched from disk, but that won’t be much anyway.

SSD will mostly only speed up the startup.
I would recommend more RAM over SSD, depending on the pricetag ofcourse
SSD will speed any db query that is executed by server. On HDD you can face freezes and while using SSD most likely not, because it writes almost instantly even for spam queries like player_items/player_inboxitems

Having SSD instead of HDD can only speed up everything as for ots you usually dont need much space, so I would always prefer SSD over HDD, so don’t look at price if you want to have great performance and avoid freezes (for example when saving players in bulk)
 
Last edited:
SSD will speed any db query that is executed by server. On HDD you can face freezes while using SSD most likely not, because it writes almost instantly even for spam queries like player_items/player_inboxitems

why you cache in memory.
Memory is faster than SSD

and memory doesn’t care if the db is stored on SSD or HDD in the background.
If db queries is slow on hdd there is something wrong with 1. The query 2. Indexes.
HDD is fully functional for OT use
 
why you cache in memory.
Memory is faster than SSD
So you „cache” everything in memory and stuff is never written to disc at any point? Every player login/logout writes/reads to/from disc and it usually spams queries as saving player is big thing (storages, items (inventory, inbox, depot etc)), so it takes some time to actually do that. You can ofc avoid or boost your codes, but if you are using current tfs you gonna face freezes sooner or later, because saving is very bad and that’s how it is.
 
So you cache everything in memory and stuff is never written to disc at any point? Every player login/logout writes/reads to/from disc and it usually spams queries as saving player is big thing (storages, items (inventory, inbox, depot etc)), so it takes some time to actually do that. You can ofc avoid or boost your codes, but if you are using current tfs you gonna face freezes sooner or later, because saving is very bad and that’s how it is.

ofcourse it’s written to disc at some point.
This is usually 1. If Db size increase higher than available memory, it needs to dump to actual disc and load new stuff as needed.
2. When server save.

will make server save/start up slower but you get memoryspeed on read/write, which is faster than SSD.

your average joe won’t even know where to begin to set this up, but that is not relevant in this discussion.
 
No idea what are you talking about at this point, but ofc memory is faster than any type of disc, thats why its used in the first place, but that’s whole different discussion as we are talking about discs here. You cant store everything in memory cause you gonna run out of it and memory is temporary (wiped out on server restart). I’m talking about situations when you are forced to save to disc. TFS does not store everything in memory e.g players logs out, it frees memory and pushes query with updated player info to database. It does not happen on server shutdown nor server start. People are usually using server saves more often than once per day, which also pushes queries for every player to database and server at this point is live and database is at the same thread as the main game logic thread (which freezes the game with slower discs e.g hdd)

Also did you say database is loaded into memory? Like its not or am I wrong?
 
You can update the cache on logout and only on specific times, when you have downtime anyway for example at serversave you push to disc.
Sure if a crash happens data is lost, but some information can continuously be pushed to disc to keep core data.

But in the discussion of SSD or HDD it is relevant, depending on your DB Knowledge, and if necessary make changes to the source to handle this type of system you can 100% make this work. And then HDD is preferred due to much lower cost.
DB size for an OT is not that high to make memory a real problem.

back to my original statement, there is 1000 factors that comes into account when comparing SSD to HDD for server hosting to just say one or the other.
 
You can update the cache on logout and only on specific times, when you have downtime anyway for example at serversave you push to disc.
Sure if a crash happens data is lost, but some information can continuously be pushed to disc to keep core data.

But in the discussion of SSD or HDD it is relevant, depending on your DB Knowledge, and if necessary make changes to the source to handle this type of system you can 100% make this work. And then HDD is preferred due to much lower cost.
DB size for an OT is not that high to make memory a real problem.

back to my original statement, there is 1000 factors that comes into account when comparing SSD to HDD for server hosting to just say one or the other.
I doubt people want to do major reworks to their engines just so they dont pay for SSD and go with much cheaper HDD. My messages are regarding our current source code in tfs 1.3
 
switch to SSD and you will never want to go back
 
This is equal to asking, should we use a slingshot to kill a mamooth or a mamooth-made-killing-machine-from-thousands-of-alien-years-of-research-comon-just-use-it
 
Back
Top