Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for memoryThrottlingFactor (0.62 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    			memoryHigh := int64(0)
    			if memoryLimit != 0 {
    				memoryHigh = int64(math.Floor(
    					float64(memoryRequest)+
    						(float64(memoryLimit)-float64(memoryRequest))*float64(m.memoryThrottlingFactor))/float64(defaultPageSize)) * defaultPageSize
    			} else {
    				allocatable := m.getNodeAllocatable()
    				allocatableMemory, ok := allocatable[v1.ResourceMemory]
    				if ok && allocatableMemory.Value() > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/config/helpers_test.go

    		"TypeMeta.APIVersion",
    		"TypeMeta.Kind",
    		"VolumeStatsAggPeriod.Duration",
    		"VolumePluginDir",
    		"ShutdownGracePeriod.Duration",
    		"ShutdownGracePeriodCriticalPods.Duration",
    		"MemoryThrottlingFactor",
    		"ContainerRuntimeEndpoint",
    		"ImageServiceEndpoint",
    		"Tracing.Endpoint",
    		"Tracing.SamplingRatePerMillion",
    		"LocalStorageCapacityIsolation",
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    			(float64(pod1LimitMemory.Value())-float64(podRequestMemory.Value()))*float64(m.memoryThrottlingFactor))/float64(pageSize)) * pageSize
    	pod2MemoryHigh := int64(math.Floor(
    		float64(podRequestMemory.Value())+
    			(float64(memoryNodeAllocatable.Value())-float64(podRequestMemory.Value()))*float64(m.memoryThrottlingFactor))/float64(pageSize)) * pageSize
    
    	type expectedResult struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top