Will spawned processes inside docker container utilize all cpu cores on container host by default? -
i have been trying find out whats default behavior of docker regards usage of host cpu cores? know if utilize multiple cpu cores each process inside container, or if run processes on 1 cpu core on host?
you want read cpu sharing , constraint docs - basically, yes, if go default container use 100% of cpu, can control constraint on cpu usage --cpu-period
, --cpu-quota
more information on how cpu period , quota work, see kernel docs
Comments
Post a Comment