• [6.6.1] Docker CPU Pinning Only using one core when CPU Isolation is on


    RParkerMU
    • Closed

    I recently upgraded to 6.6.1 from 6.5.3. After upgrading I begun using the GUI CPU Pinning and Isolation located in the Settings tab. It appears that only one core is being utilized, when I have several cores pinned for a container. For example, I have cores 2/10 & 3/11 pinned, however I noticed 100% utilized on core 2 and little to no usage on the others.

     

    Prior to 6.6.1, I hadn't used CPU Isolation, so I haven't previously seen this issue.

     

    cpu_pinning.PNG.e215c4ed8a8f1bd9397b64c5643f39d5.PNG

     

    CPU_utilization.PNG.1081e6b71dbc38ef78b796c91a1bdc6e.PNG

     

    Removing CPU Isolation and rebooting seems to fix the issue:

     

    image.png.2a5dc303a510c4f1c671af62b5b1c70f.png




    User Feedback

    Recommended Comments

    This is by design of the kernel. See also Help on the CPU pinning page.

    Quote

    Do not select cores for containers which are isolated. By design a container will only use a single core (the lowest numbered core) when multiple isolated cores are selected. Usually this is not what a user wants when selecting multiple cores.

     

    Edited by bonienl
    • Upvote 1
    Link to comment
    On 10/4/2018 at 11:11 PM, bonienl said:

    This is by design of the kernel. See also Help on the CPU pinning page.

     

    Is there another way of wording the explanation that you quoted? I read the same thing under the help toggle when logged into the Web GUI, but for some reason it isn't clicking for me on how 'CPU Isolation works'.

     

    Link to comment
    15 minutes ago, bonienl said:

    Do you have a proposal how to improve?

    Under CPU isolation, remove all references to Docker.  Make it simple and state its to isolate cores so that VMs have exclusive access to it.  

     

    While technically you can pin docker to an isolated core, it introduces complications and support headaches as to why it doesn't run on multiple cores. 

     

    Additionally, per my original suggestion on the originating PR, don't allow containers to be pinned to isolated cores via the GUI.  Uber advanced users can still do it via extra parameters.

    Edited by Squid
    • Like 1
    Link to comment


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.