• [6.9.0 Beta 30] Docker CPU pinning


    Tulip
    • Minor

    CPU pinning in docker dont work. Pinning on vm works. 

    When i click the "pin" i want, then apply and done its back to not pinned.

     

    Any known bug?

     

    :)




    User Feedback

    Recommended Comments

    Post the applicable xml from /config/plugins/dockerMan/templates-user on the flash drive for the app you're trying to adjust

    Link to comment
    <?xml version="1.0"?>
    <Container version="2">
      <Name>foldingathome</Name>
      <Repository>linuxserver/foldingathome</Repository>
      <Registry>https://hub.docker.com/r/linuxserver/foldingathome/</Registry>
      <Network>br0</Network>
      <MyIP>192.168.1.187</MyIP>
      <Shell>bash</Shell>
      <Privileged>false</Privileged>
      <Support>https://forums.unraid.net/topic/89990-support-linuxserverio-foldinghome/</Support>
      <Project>https://foldingathome.org/</Project>
      <Overview>Folding@home is a distributed computing project for simulating protein dynamics, including the process of protein folding and the movements of proteins implicated in a variety of diseases. It brings together citizen scientists who volunteer to run simulations of protein dynamics on their personal computers. Insights from this data are helping scientists to better understand biology, and providing new opportunities for developing therapeutics.[br][br]&#xD;
    &#xD;
    The built-in webserver provides very basic control (ie. GPUs are only active when set to Medium or higher). For more fine grained control of individual devices, you can use the FAHControl app on a different device and connect remotely via port 36330 (no password).[br][br]&#xD;
    &#xD;
    [b][u][span style='color: #E80000;']Nvidia GPU Use[/span][/u][/b][br]Using the Unraid Nvidia Plugin to install a version of Unraid with the Nvidia Drivers installed and[br] add [b]--runtime=nvidia[/b] to [b]"extra parameters"[/b] (switch on advanced view) and[br]copy your [b]GPU UUID[/b] to [b]NVIDIA_VISIBLE_DEVICES.[/b]</Overview>
      <Category>Tools: Status:Stable</Category>
      <WebUI>http://[IP]:[PORT:7396]</WebUI>
      <TemplateURL>https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/foldingathome.xml</TemplateURL>
      <Icon>https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/foldingathome-logo.png</Icon>
      <ExtraParams/>
      <PostArgs/>
      <CPUset/>
      <DateInstalled>1600032596</DateInstalled>
      <DonateText>Donations</DonateText>
      <DonateLink>https://www.linuxserver.io/donations/</DonateLink>
      <Description>Folding@home is a distributed computing project for simulating protein dynamics, including the process of protein folding and the movements of proteins implicated in a variety of diseases. It brings together citizen scientists who volunteer to run simulations of protein dynamics on their personal computers. Insights from this data are helping scientists to better understand biology, and providing new opportunities for developing therapeutics.[br][br]&#xD;
    &#xD;
    The built-in webserver provides very basic control (ie. GPUs are only active when set to Medium or higher). For more fine grained control of individual devices, you can use the FAHControl app on a different device and connect remotely via port 36330 (no password).[br][br]&#xD;
    &#xD;
    [b][u][span style='color: #E80000;']Nvidia GPU Use[/span][/u][/b][br]Using the Unraid Nvidia Plugin to install a version of Unraid with the Nvidia Drivers installed and[br] add [b]--runtime=nvidia[/b] to [b]"extra parameters"[/b] (switch on advanced view) and[br]copy your [b]GPU UUID[/b] to [b]NVIDIA_VISIBLE_DEVICES.[/b]</Description>
      <Networking>
        <Mode>br0</Mode>
        <Publish>
          <Port>
            <HostPort>7396</HostPort>
            <ContainerPort>7396</ContainerPort>
            <Protocol>tcp</Protocol>
          </Port>
          <Port>
            <HostPort>36330</HostPort>
            <ContainerPort>36330</ContainerPort>
            <Protocol>tcp</Protocol>
          </Port>
        </Publish>
      </Networking>
      <Data>
        <Volume>
          <HostDir>/mnt/user/appdata/foldingathome</HostDir>
          <ContainerDir>/config</ContainerDir>
          <Mode>rw</Mode>
        </Volume>
      </Data>
      <Environment>
        <Variable>
          <Value/>
          <Name>NVIDIA_VISIBLE_DEVICES</Name>
          <Mode/>
        </Variable>
        <Variable>
          <Value>99</Value>
          <Name>PUID</Name>
          <Mode/>
        </Variable>
        <Variable>
          <Value>100</Value>
          <Name>PGID</Name>
          <Mode/>
        </Variable>
      </Environment>
      <Labels/>
      <Config Name="GUI Port" Target="7396" Default="" Mode="tcp" Description="GUI Port - Default 7396" Type="Port" Display="always" Required="false" Mask="false">7396</Config>
      <Config Name="FAHControl Port" Target="36330" Default="" Mode="tcp" Description="FAHControl Port - Default 36330" Type="Port" Display="always" Required="false" Mask="false">36330</Config>
      <Config Name="Nvidia Visible Devices" Target="NVIDIA_VISIBLE_DEVICES" Default="" Mode="" Description="Nvidia Visible Devices (Optional - Requires Nvidia GPU and Unraid Nvidia build)" Type="Variable" Display="always" Required="false" Mask="false"/>
      <Config Name="PUID" Target="PUID" Default="" Mode="" Description="PUID" Type="Variable" Display="advanced" Required="false" Mask="false">99</Config>
      <Config Name="PGID" Target="PGID" Default="" Mode="" Description="PGID" Type="Variable" Display="advanced" Required="false" Mask="false">100</Config>
      <Config Name="Appdata" Target="/config" Default="" Mode="rw" Description="Appdata" Type="Path" Display="advanced" Required="false" Mask="false">/mnt/user/appdata/foldingathome</Config>
    </Container>

    The plan was to pin it to 7-8 cores. Just testing while i setup the hw for the new server.

    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.