maxcpu = 4, how do we increase the number #197

Closed
opened 2025-12-29 00:20:06 +01:00 by adam · 3 comments
Owner

Originally created by @OliverwengFiltered on GitHub (Jun 3, 2021).

Hi @sickcodes ,

This docker-osx is really an awesome project, thanks for making it open source, engineering can't happen without this kinda of science project.

quick question about the cpu setting, when I'm trying to bring more cores by this -e CORES=8 -e RAM=8 for example, it doesn't allow me, and it throws error saying maxcpu needs to be 4.

the reason why I'm trying to bring more cores is that I feel like it's a bit slow when I'm using it on GCP vm machine with 8vCPUs, and 32 mem. and then I tried the same with 16vCPUs, and 32 mem, not much difference on performance.

any idea how to bring the performance up a little bit ?

Thanks
-Oliver

Originally created by @OliverwengFiltered on GitHub (Jun 3, 2021). Hi @sickcodes , This docker-osx is really an awesome project, thanks for making it open source, engineering can't happen without this kinda of science project. quick question about the cpu setting, when I'm trying to bring more cores by this `-e CORES=8 -e RAM=8` for example, it doesn't allow me, and it throws error saying maxcpu needs to be 4. the reason why I'm trying to bring more cores is that I feel like it's a bit slow when I'm using it on GCP vm machine with 8vCPUs, and 32 mem. and then I tried the same with 16vCPUs, and 32 mem, not much difference on performance. any idea how to bring the performance up a little bit ? Thanks -Oliver
adam closed this issue 2025-12-29 00:20:06 +01:00
Author
Owner

@OliverwengFiltered commented on GitHub (Jun 5, 2021):

wondering if you have any updates on this one ?

@sickcodes

@OliverwengFiltered commented on GitHub (Jun 5, 2021): wondering if you have any updates on this one ? @sickcodes
Author
Owner

@OliverwengFiltered commented on GitHub (Jun 8, 2021):

nvm found it.

-smp 8,cores=8,sockets=1,threads=1,maxcpus=8

Thanks

@OliverwengFiltered commented on GitHub (Jun 8, 2021): nvm found it. ``` -smp 8,cores=8,sockets=1,threads=1,maxcpus=8 ``` Thanks
Author
Owner

@LiushuiXiaoxia commented on GitHub (Jul 19, 2021):

how to use this options

-smp 8,cores=8,sockets=1,threads=1,maxcpus=8

@OliverwengFiltered Thanks

@LiushuiXiaoxia commented on GitHub (Jul 19, 2021): how to use this options `-smp 8,cores=8,sockets=1,threads=1,maxcpus=8` @OliverwengFiltered Thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#197