I want to open a Minecraft server with my friends. I've already tried it on a website. Then it starts to lag. Now I want to know if the server (for 8 players) would run on my PC. We would only play with the 1.8 version (without plugins / mods) Here you can see what is built into my PC:
Yeah, he would. But FPS definitely pulls that. It's best to use sodium.
Do you want to play the PC and use the server?
Then forget it. You have an entry-level gaming PC. This is completely sufficient for playing Minecraft, but you can't run a server with 8 people on it at the same time. Your RAM is not enough for this. That will only lag and make little sense. Do you still have an old PC or something that you could upgrade with a lot of RAM?
For the MC Vanilla Server you need about 200MB RAM per player.
CPU can be okay. You have to try, the 2200G is not the fastest in single thread performance.
But that with the 200MB is only the bare minimum for it to work. Actually, you should take a little more. But even if you calculate with 200Mb you are at ~ 2GB. Then the rest of the PC still has 6GB. It's all really very close. 8GB RAM is not enough for this endeavor.
Nope, not even 6GB, Windows never closes the full RAM, before it is pushed into the swap file. If this is then also full, Windows slowly dies.
And how do you get 2GB, 8x200 = 1600 ;-)
That's why the character ~: D You always round up the RAM information of a server / VM / etc.
And yes, that's the problem with the swap file. It is located on the hard drive and that means the server is extremely slowed down and begins to lag or throws players out, crashes, etc.
How much RAM do I need? And would I still have 6 GB of RAM for playing? Shouldn't that be enough?
Well, there's a difference, but not the active programs are put in the virtual memory, but the inactive ones. Windows is so smart ;-)
A PC with which you run the server and play at the same time should have at least 16GB RAM. Not only the games need RAM, Windows itself also needs it.
No, it would be complicated to explain everything to you now, but RAM works differently than the hard drive. Windows outsources the RAM. So you're already using more than you think. If you start a server to which you only assign 2GB of RAM, which is really little, then the PC will outsource a lot of RAM and the CPU and thus the whole system will be slowed down. This in turn leads to players being kicked out due to a timeout or the server crashing.
If you have 16GB of RAM and allocate 6GB to the server, that might work. But only because of your CPU. Before you even think about it, can you even get the server outside? Can your router share ports and do you have an IPv4 address? Better take care of it first.
No, that's not entirely true. The swap file consists of infrequently used memory, that's true. But if the memory is used more and more, at some point cached data of active programs will be classified as not so important and will be outsourced. This then leads to an extreme slowdown of the system and can eventually lead to a crash and BSOD