Forum Discussion

Werner Donné's avatar
Werner Donné
Copper Contributor
Jan 10, 2018
Solved

Container Instance CPU setting

Hello,

 

Can the number of CPU cores for a container be a decimal value, for instance 0.1?

 

Best regards,

 

Werner.

3 Replies

  • Werner Donné's avatar
    Werner Donné
    Copper Contributor
    Hi Anders, Thanks for your reply. I think you can run more applications in Docker containers on a system than there are cores, especially when those applications are microservices. At the moment I run Mesos/Marathon on a VM with 4 cores on Azure. It runs 25 Docker containers, which each use 0.1 CPUs. That works fine, because CPUs can run a lot of processes. This would require 25 cores. I conclude that this service is not for small set-ups, because they can't saturate the CPU cores sufficiently. Best regards, Werner.
  • Hi Werner!

    You cannot use decimal values when defining the number of CPUs on a Azure Container Instance.

    Can I ask why you would want to use only one tenth of a CPU core?

    /Anders

    /Anders Eide

Resources