- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for cfs_period_us (0.28 sec)
-
pkg/kubelet/kuberuntime/helpers_linux.go
// Input parameters and resulting value is number of microseconds. func milliCPUToQuota(milliCPU int64, period int64) (quota int64) { // CFS quota is measured in two values: // - cfs_period_us=100ms (the amount of time to measure usage across) // - cfs_quota=20ms (the amount of cpu time allowed to be used across a period) // so in the above example, you are limited to 20% of a single CPU
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 2.5K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager_linux_test.go
} req := require.New(t) tempDir, err := os.MkdirTemp("", "") req.NoError(err) defer os.RemoveAll(tempDir) req.NoError(os.WriteFile(path.Join(tempDir, "cpu.cfs_period_us"), []byte("0"), os.ModePerm)) req.NoError(os.WriteFile(path.Join(tempDir, "cpu.cfs_quota_us"), []byte("0"), os.ModePerm)) mountInt := mount.NewFakeMounter( []mount.MountPoint{ { Device: "cgroup",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 9.7K bytes - Viewed (0)