1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cpuset-cpus to Constrain Docker Containers

Discussion in 'Docker and Containers' started by Patrick, Nov 4, 2017.

  1. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    10,175
    Likes Received:
    3,370
    Here is a cool image using htop (I know it is simple):

    upload_2017-11-4_17-18-53.png

    Running two docker containers each set to run on the physical cores of each. Super easy to do.
     
    #1
    gigatexal and bitrot like this.
  2. bitrot

    bitrot Member

    Joined:
    Aug 7, 2017
    Messages:
    86
    Likes Received:
    19
    That’s what I do all the time, too. From my experience, the whole system is more snappy and responsive as a result.
     
    #2

Share This Page