Apache Mesos
Namespaces | Variables
constants.hpp File Reference
#include <string>
#include <stout/bytes.hpp>
#include <stout/duration.hpp>

Go to the source code of this file.

Namespaces

 mesos
 
 mesos::internal
 
 mesos::internal::slave
 

Variables

const uint64_t mesos::internal::slave::CPU_SHARES_PER_CPU = 1024
 
const uint64_t mesos::internal::slave::CPU_SHARES_PER_CPU_REVOCABLE = 10
 
const uint64_t mesos::internal::slave::MIN_CPU_SHARES = 2
 
const Duration mesos::internal::slave::CPU_CFS_PERIOD = Milliseconds(100)
 
const Duration mesos::internal::slave::MIN_CPU_CFS_QUOTA = Milliseconds(1)
 
const Bytes mesos::internal::slave::MIN_MEMORY = Megabytes(32)
 
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_BLKIO_NAME = "blkio"
 
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_CPU_NAME = "cpu"
 
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_CPUACCT_NAME = "cpuacct"
 
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_CPUSET_NAME = "cpuset"
 
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_DEVICES_NAME = "devices"
 
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_HUGETLB_NAME = "hugetlb"
 
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_MEMORY_NAME = "memory"
 
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_NET_CLS_NAME = "net_cls"
 
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_NET_PRIO_NAME = "net_prio"
 
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_PERF_EVENT_NAME = "perf_event"
 
const std::string mesos::internal::slave::CGROUP_SUBSYSTEM_PIDS_NAME = "pids"