Új hozzászólás Aktív témák

  • tasiadam

    Topikgazda

    válasz Shummo #1505 üzenetére

    cpulimit:
    You can use this option to further limit assigned CPU time. Please note that this is a floating point number, so it is perfectly valid to assign two cores to a container, but restrict overall CPU consumption to half a core.
    cores: 2
    cpulimit: 0.5

    cpuunits:
    This is a relative weight passed to the kernel scheduler. The larger the number is, the more CPU time this container gets. Number is relative to the weights of all the other running containers. The default is 100 (or 1024 if the host uses legacy cgroup v1). You can use this setting to prioritize some containers.

    A cpulimit lehet a jobb, ha felezed, de a leírás alapján elég nonszensz, hogy "but restrict overall CPU consumption to half a core." Milyen half core? A 2 vCPU a half core, vagy per vCPU? Emiatt nem vágom. De én ezt használtam.


    Gyermektelen, nem házas, másodrangú állampolgár

Új hozzászólás Aktív témák