mongoctl/commands/server/start.py
def mongod_needs_numactl():
    """ Logic kind of copied from MongoDB (mongodb-src/util/version.cpp) ;)

        Return true IF we are on a box with a NUMA enabled kernel and more
        than 1 numa node (they start at node0).
    """
    return dir_exists("/sys/devices/system/node/node1")
 Logic kind of copied from MongoDB (mongodb-src/util/version.cpp) ;)

        Return true IF we are on a box with a NUMA enabled kernel and more
        than 1 numa node (they start at node0).
    
Logic kind of copied from MongoDB (mongodb-src/util/version.cpp) ;)
Return true IF we are on a box with a NUMA enabled kernel and more
than 1 numa node (they start at node0).
Logic kind of copied from MongoDB ( mongodb - src / util / version . cpp ) ; ) Return true IF we are on a box with a NUMA enabled kernel and more than 1 numa node ( they start at node0 ) .
def mongod_needs_numactl():
    return dir_exists("/sys/devices/system/node/node1")
def mongod_needs_numactl ( ) : return dir_exists ( "/sys/devices/system/node/node1" )
Logic kind of copied from MongoDB (mongodb-src/util/version.cpp) ;)
Return true IF we are on a box with a NUMA enabled kernel and more
than 1 numa node (they start at node0).
Logic kind of copied from MongoDB ( mongodb - src / util / version . cpp ) ; ) Return true IF we are on a box with a NUMA enabled kernel and more than 1 numa node ( they start at node0 ) .
""" Logic kind of copied from MongoDB (mongodb-src/util/version.cpp) ;)

        Return true IF we are on a box with a NUMA enabled kernel and more
        than 1 numa node (they start at node0).
    """