Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 105 for cpuIDs (0.08 sec)

  1. src/runtime/cputicks.go

    //go:build !arm && !arm64 && !mips64 && !mips64le && !mips && !mipsle && !wasm
    
    package runtime
    
    // careful: cputicks is not guaranteed to be monotonic! In particular, we have
    // noticed drift between cpus on certain os/arch combinations. See issue 8976.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 10 12:47:42 UTC 2023
    - 437 bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/state/state_checkpoint_test.go

    			for pod := range tc.assignments {
    				for container, set := range tc.assignments[pod] {
    					state.SetCPUSet(pod, container, set)
    					if cpus, _ := state.GetCPUSet(pod, container); !cpus.Equals(set) {
    						t.Fatalf("state inconsistent, got %q instead of %q", set, cpus)
    					}
    
    					state.Delete(pod, container)
    					if _, ok := state.GetCPUSet(pod, container); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cpumanager/cpu_manager_test.go

    				t.Errorf("Expected reconciliation failure for container: %s", testCase.expectFailedContainerName)
    			}
    		}
    	}
    }
    
    // above test cases are without kubelet --reserved-cpus cmd option
    // the following tests are with --reserved-cpus configured
    func TestCPUManagerAddWithResvList(t *testing.T) {
    	testPolicy, _ := NewStaticPolicy(
    		&topology.CPUTopology{
    			NumCPUs:    4,
    			NumSockets: 1,
    			NumCores:   4,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_container_windows.go

    		// Part one - Windows kernel
    		//   cpuMaximum is documented at https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/resource-controls
    		//   the range and how it relates to number of CPUs is at https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-jobobject_cpu_rate_control_information
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. pkg/kube/inject/testdata/inject/traffic-annotations.yaml

    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: traffic
    spec:
      replicas: 7
      selector:
        matchLabels:
          app: traffic
      template:
        metadata:
          annotations:
            # We set 4 CPUs here and concurrency=0 below. Expect concurrency to be set to 4.
            sidecar.istio.io/proxyCPU: 4000m
            traffic.sidecar.istio.io/includeInboundPorts: "1,2,3"
            traffic.sidecar.istio.io/excludeInboundPorts: "4,5,6"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 12 16:44:33 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  6. src/runtime/os_netbsd_arm.go

    func checkgoarm() {
    	// TODO(minux): FP checks like in os_linux_arm.go.
    
    	// osinit not called yet, so ncpu not set: must use getncpu directly.
    	if getncpu() > 1 && goarm < 7 {
    		print("runtime: this system has multiple CPUs and must use\n")
    		print("atomic synchronization instructions. Recompile using GOARM=7.\n")
    		exit(1)
    	}
    }
    
    //go:nosplit
    func cputicks() int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. tools/docker

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # Setup env vars
    source ./common/scripts/setup_env.sh
    
    set -eu
    
    # Speed up builds when using recent CPUs
    export GGCR_EXPERIMENT_SHA256_SIMD=1
    
    if [[ -f ${LOCAL_OUT}/docker-builder ]]; then
      CURRENT_BUILD="$(./common/scripts/report_build_info.sh | grep buildGitRevision | cut -d= -f2)"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 07 22:50:06 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/doc.go

    // to manage containers. For example, they contain functions to configure containers' cgroups,
    // ensure containers run with the desired QoS, and allocate compute resources like cpus, memory,
    // devices...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 05 18:20:51 UTC 2023
    - 934 bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/Striped64.java

       * failed CAS on base update), the table is initialized to size 2.
       * The table size is doubled upon further contention until
       * reaching the nearest power of two greater than or equal to the
       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

       * failed CAS on base update), the table is initialized to size 2.
       * The table size is doubled upon further contention until
       * reaching the nearest power of two greater than or equal to the
       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (2)
Back to top