Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cfs_period_us (0.18 sec)

  1. pkg/kubelet/cm/cgroup_manager_linux.go

    	if errInt != nil {
    		return nil, fmt.Errorf("failed to convert CPU quota as integer for cgroup %v: %v", cgroupPath, errInt)
    	}
    	cpuPeriod, errP := fscommon.GetCgroupParamUint(cgroupPath, "cpu.cfs_period_us")
    	if errP != nil {
    		return nil, fmt.Errorf("failed to read CPU period for cgroup %v: %v", cgroupPath, errP)
    	}
    	cpuShares, errS := fscommon.GetCgroupParamUint(cgroupPath, "cpu.shares")
    	if errS != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/container_manager_linux.go

    	// CPU cgroup is required and so it expected to be mounted at this point.
    	periodExists, err := utilpath.Exists(utilpath.CheckFollowSymlink, path.Join(cpuMountPoint, "cpu.cfs_period_us"))
    	if err != nil {
    		klog.ErrorS(err, "Failed to detect if CPU cgroup cpu.cfs_period_us is available")
    	}
    	quotaExists, err := utilpath.Exists(utilpath.CheckFollowSymlink, path.Join(cpuMountPoint, "cpu.cfs_quota_us"))
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/types.go

    	RunOnce bool
    	// cpuCFSQuota enables CPU CFS quota enforcement for containers that
    	// specify CPU limits
    	CPUCFSQuota bool
    	// CPUCFSQuotaPeriod sets the CPU CFS quota period value, cpu.cfs_period_us, defaults to 100ms
    	CPUCFSQuotaPeriod metav1.Duration
    	// maxOpenFiles is Number of files that can be opened by Kubelet process.
    	MaxOpenFiles int64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  4. cmd/kubelet/app/options/options.go

    	fs.DurationVar(&c.CPUCFSQuotaPeriod.Duration, "cpu-cfs-quota-period", c.CPUCFSQuotaPeriod.Duration, "Sets CPU CFS quota period value, cpu.cfs_period_us, defaults to Linux Kernel default")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
Back to top