Bobbey Posted February 5, 2019 Share Posted February 5, 2019 (edited) I have a 32GB server able to handle 45 bots easily. But they are all set to -mem 900 My question is, if I pay extra and get 64GB of ram, then allow -mem 1500 - does this mean I can run more bots, or is CPU usage not really affected if I give them 900MB of ram? Note: my server regularly goes into Swapping memory (around 10GB) Edited February 5, 2019 by Bobbey Quote Link to comment Share on other sites More sharing options...
Charlotte Posted February 5, 2019 Share Posted February 5, 2019 (edited) Yes to run more bots, but does not affect cpu usage. Use low-resource to reduce cpu usage. Edited February 5, 2019 by Charlotte 1 Quote Link to comment Share on other sites More sharing options...
MasterOfData Posted February 5, 2019 Share Posted February 5, 2019 Messaged on Discord, but memory management hits your CPU more if you aren't effectively managing memory or you're imposing a very low ceiling on the bot. Letting the bot use as much memory as it needs (assuming you're not doing stupid shit) should decrease the overhead of things like garbage collection. It's worth noting that this is really empirical and should be fine-tuned based on optimization. Decrease the number of bots you're running from 45 to say 20 and increase the memory ceiling. Play with that for a while and observe the CPU impact per process. Try and increase / decrease the number of bots and the memory you allocate for each bot. It's really an experimental process and is generally not so easy to predict. 1 Quote Link to comment Share on other sites More sharing options...