0

Okay guys, I have a rMBP 15" 2.8Ghz 8GB RAM. I was thinking about playing modpacks. Anyways I want to play this modpack with my friend. How much ram do I need to allocate for my client and server? I learned that server ram isn't so important if you are using few chunks.

I have a little question too. Which one of these needs to be good for modded minecraft, CPU GPU RAM.

Modpack: Hermitcraft Modsauce (170 Mod)

  • What modpack are you talking about? Do you plan on using any (HD) texturepack(s)? What – Arperum Sep 11 '14 at 10:48
  • I edited the post. Maybe I can use faithful TP but I'm not sure. – Deniz da King Sep 11 '14 at 11:44
  • Are you running the server and the client on the same machine? – aytimothy Sep 11 '14 at 13:15
  • Yes, that was I'm planning to do. – Deniz da King Sep 11 '14 at 14:06
3

TL;DR It may or may not be fine to play and host a dedicated server on 8GB of ram. It also depends on wheter you have a GPU or an APU. As well as the power of your APU if you dont have a GPU. You can try it out but make sure you dont use a HD Texture Pack. And dont use any shaders. You might have to give up on fancy quality settings as well.


This is to clarify how minecraft server and client works.

RAM

As for the Server, ram is primarily used to store chunk information. Having few players does not mean low chunk information especially when you are playing a tech pack (A mod pack full of mostly tech based mods). There lies the existence of chunk loaders and quarrys that load chunks. In any case, the server should not use more than 2-3gb of ram and that is the case for my server. (SolitaryCraft, 250+ mods, 3-4 players)

As for the client. It also stores chunk information to render to the user. It is also used to store texture information for the renderer to show to the client. I am unsure if the renderer uses VRAM or RAM to store its post rendered stuff. Anyways, by my guess the client shouldnt exceed 3-4 gb of ram as well. UNLESS you use HD texture packs. A 64x texturepack can easily push the ram requirement to about 5-6gb

Thus if you are hosting and playing on the same machine, and using a dedicated server instead of "Publish to LAN" you will use more ram than playing single player. Past experience tells me that hosting a dedicated server and playing on the same machine with Less than 8 GB of ram is a bad idea for tech packs. 8 GB should be fine depending on the mod list and the prerequsite that you dont use HD texture packs.

CPU

The CPU in both cases is used to process the ticks on the server. To briefly explain ticks, it is the passage of time on the server. Each tick should take less than 50 ms to process. This is due to the fact that there 20 ticks make up a second. Having low processing power slows the tick calculation down which results in a slow passage of time. Every machine, every chunk loaded with things going on is gonna eat into your CPU requirements. I would suggest you install a lag profiler to identify if you are running low on tick rate.

The mod suggested is OPIS by ProfMobius. You would also need a dependency called MobiusCore. THe mod can be installed on the server and the client. It does not need every client to install it to connect to the server. You as the host can install it and monitor which machine is lagging the server the most and do appropriate actions to work around it.

GPU

This is a part where it gets abit complicated. I will go into 2 possible cases.

External GPU. If you have a separate GPU it would help remove load on the ram while playing minecraft. Normally a GPU have its own ram to store information used while rendering. Minecraft should theoretically send its rendering to the GPU and free up your computer RAM of the rendering tasks.

Integrated GPU. If you do not have a GPU and uses your CPU to do the rendering, this might pose an issue. If i recall correctly, playing minecraft on an APU takes about 3-4 GB of ram just for the client alone. As there is no dedicated ram for rendering, all rendering tasks is stored at the same location on the onboard RAM. This might also slow down tick rate as the CPU have to compensate for rendering as well.

I am abit incoherent at this last part as im not sure how to explain. You may clarify with me in the comments section.


EDIT: Adding some observations i have while running a SolitaryCraft Client with Optifine. It seems that somehow, it may be caused by Optifine or not, It have horrible garbage collection. ie. You might need to restart the client to flush your ram. If i keep my client running for like 4-5 hours, the ram usage is > 7GB on the client. Restarting the client lowers it to 4 GB again. I am using a x64 texture pack.

  • Thanks you cleared the question marks in my mind. I think you have earned a correct answer tick. – Deniz da King Sep 11 '14 at 14:13
0

If you are using high resolution texture packs then this will hit on your grafics card. If you are using a lot of mods making block updates (like f.e. complex electricity systems then that will hit omln your CPU. Every mod adds a bit of RAM needed, mostly mods adding new blocks and new data to existing blocks. Multiply this arbitrary value with all loaded chunks. For the server, two people far away from each other is more RAM the 6 people on one spot. For the client, only his own view-radius counts.

A tipp for the client, don't give him to much RAM as then chunks get unloaded more lazy and there will be more CPU-spikes when garbage collection kicks in. And for custom world generators, you have to increase your heap space.

0

I've found that the client and the server will run you upwards of 4 GB each. That's on a two-person Yogscast Complete server (on a 64-bit machine) which runs a lot of mods. I usually use Sphax texture packs as well. You may be able to run it, since it doesn't always get that high, but you'll have to monitor your memory usage

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.