Can some one explain CPU shares|Weight-sum|weight
-
DOcker uses this
-
@emad-r said in Can some one explain CPU shares|Weight-sum|weight:
DOcker uses this
It might have some more bearing on the people actually writing code for containers, I'll grant them them that much. It still has nothing to do with someone actually running docker.
-
It would mean the weight of two cores, but doesn'tmean two cores.
-
-
@emad-r said in Can some one explain CPU shares|Weight-sum|weight:
Everything your showing me is making me like Docker less and less. Wasn't it supposed to simplify the sysadmin side of things so that the developers could do both jobs?
-
@travisdh1 said in Can some one explain CPU shares|Weight-sum|weight:
@emad-r said in Can some one explain CPU shares|Weight-sum|weight:
Everything your showing me is making me like Docker less and less. Wasn't it supposed to simplify the sysadmin side of things so that the developers could do both jobs?
No, Docker isn't for system admins at all. It's just for devs (by design and intent.)
-
It is not really needed to tinker with CPU priorities unless you really, really know what you are doing.
Setting CPU scheduling and priorities on docker containers is just like doing it on any other Linux process it is just tinkering with CFS scheduler which is the Linux Kernel default scheduler.
So basically, do you set CPU schedules, limits and priorites for any other linux process? Most probably the answer will be no because you let the kernel and its default scheduler handle things without worrying about them. But if you know what you are doing and need those kinds of kernel feature go ahead and tinker with them.
We just always need to remember, Docker container are not VMS
Edit:
Right from the docker documentation:
-
You can do this same sort of thing in VMWare. In fact it is easier to see the effects here
-
@romo said in Can some one explain CPU shares|Weight-sum|weight:
It is not really needed to tinker with CPU priorities unless you really, really know what you are doing.
Setting CPU scheduling and priorities on docker containers is just like doing it on any other Linux process it is just tinkering with CFS scheduler which is the Linux Kernel default scheduler.
So basically, do you set CPU schedules, limits and priorites for any other linux process? Most probably the answer will be no because you let the kernel and its default scheduler handle things without worrying about them. But if you know what you are doing and need those kinds of kernel feature go ahead and tinker with them.
We just always need to remember, Docker container are not VMS
Edit:
Right from the docker documentation:
got it, keep it as 1024 then.
-
@scottalanmiller said in Can some one explain CPU shares|Weight-sum|weight:
@travisdh1 said in Can some one explain CPU shares|Weight-sum|weight:
@emad-r said in Can some one explain CPU shares|Weight-sum|weight:
Everything your showing me is making me like Docker less and less. Wasn't it supposed to simplify the sysadmin side of things so that the developers could do both jobs?
No, Docker isn't for system admins at all. It's just for devs (by design and intent.)
That was kinda my point.