Hello, i am deploying an application in a docker container and set the --cpu option to 4.
However i am not sure, what that exactly does mean for me?
I have an eight-core processor with hyperthreading so i have 16 threads available.
Is the application only capable of using 4 of those threads (and therefore 2 cpu-cores) or 4 (of the 8) processor-cores and therefore 8 of those threads?
I couldn’t really get the answer in the docs, because what exactly the term ‘cpu’ is defined as in this context: a real physical cpu-core or a virtual thread (also this variies a lot of linux commands).
PS: I use docker on linux!
I would be glad about any help, thanks in advance!