Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 258 for huge (0.04 sec)

  1. src/runtime/malloc.go

    	// heap metadata, currently the arenas map L2 entries and page alloc bitmap
    	// mappings, are allowed to be backed by huge pages. If the heap goal ever
    	// exceeds this threshold, then huge pages are enabled.
    	//
    	// These numbers are chosen with the assumption that huge pages are on the
    	// order of a few MiB in size.
    	//
    	// The kind of metadata this applies to has a very low overhead when compared
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. pkg/kubelet/cadvisor/util.go

    		v1.ResourceCPU: *resource.NewMilliQuantity(
    			int64(info.NumCores*1000),
    			resource.DecimalSI),
    		v1.ResourceMemory: *resource.NewQuantity(
    			int64(info.MemoryCapacity),
    			resource.BinarySI),
    	}
    
    	// if huge pages are enabled, we report them as a schedulable resource on the node
    	for _, hugepagesInfo := range info.HugePages {
    		pageSizeBytes := int64(hugepagesInfo.PageSize * 1024)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 04 05:08:20 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/helpers_linux.go

    	if shares < MinShares {
    		return MinShares
    	}
    	if shares > MaxShares {
    		return MaxShares
    	}
    	return uint64(shares)
    }
    
    // HugePageLimits converts the API representation to a map
    // from huge page size (in bytes) to huge page limit (in bytes).
    func HugePageLimits(resourceList v1.ResourceList) map[int64]int64 {
    	hugePageLimits := map[int64]int64{}
    	for k, v := range resourceList {
    		if v1helper.IsHugePageResourceName(k) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 11:52:28 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. src/image/ycbcr.go

    	// totalLength should be the same as i2, below, for a valid Rectangle r.
    	totalLength := add2NonNeg(
    		mul3NonNeg(1, w, h),
    		mul3NonNeg(2, cw, ch),
    	)
    	if totalLength < 0 {
    		panic("image: NewYCbCr Rectangle has huge or negative dimensions")
    	}
    
    	i0 := w*h + 0*cw*ch
    	i1 := w*h + 1*cw*ch
    	i2 := w*h + 2*cw*ch
    	b := make([]byte, i2)
    	return &YCbCr{
    		Y:              b[:i0:i0],
    		Cb:             b[i0:i1:i1],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. src/math/trig_reduce.go

    // trigReduce implements Payne-Hanek range reduction by Pi/4
    // for x > 0. It returns the integer part mod 8 (j) and
    // the fractional part (z) of x / (Pi/4).
    // The implementation is based on:
    // "ARGUMENT REDUCTION FOR HUGE ARGUMENTS: Good to the Last Bit"
    // K. C. Ng et al, March 24, 1992
    // The simulated multi-precision calculation of x*B uses 64-bit integer arithmetic.
    func trigReduce(x float64) (j uint64, z float64) {
    	const PI4 = Pi / 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/qos_container_manager_linux.go

    		// containerConfig object stores the cgroup specifications
    		containerConfig := &CgroupConfig{
    			Name:               containerName,
    			ResourceParameters: resourceParameters,
    		}
    
    		// for each enumerated huge page size, the qos tiers are unbounded
    		m.setHugePagesUnbounded(containerConfig)
    
    		// check if it exists
    		if !cm.Exists(containerName) {
    			if err := cm.Create(containerConfig); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/ResolutionResultsStoreFactory.java

                }
            };
        }
    
        //offset based implementation is only safe up to certain figure
        //because of the int max value
        //for large streams/files (huge builds), we need to roll the file
        //otherwise the stream.size() returns max integer and the offset is no longer correct
        private boolean isFull(DefaultBinaryStore store) {
            return store.getSize() > maxSize;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. pkg/volume/emptydir/empty_dir.go

    		var err error
    		mediumPageSize, err = v1helper.HugePageSizeFromMedium(medium)
    		if err != nil {
    			return "", err
    		}
    	}
    
    	// In some rare cases init containers can also consume Huge pages
    	for _, container := range append(pod.Spec.Containers, pod.Spec.InitContainers...) {
    		// We can take request because limit and requests must match.
    		for requestName := range container.Resources.Requests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. doc/godebug.md

    Go 1.22 changed how the runtime interacts with transparent huge pages on Linux.
    In particular, a common default Linux kernel configuration can result in
    significant memory overheads, and Go 1.22 no longer works around this default.
    To work around this issue without adjusting kernel settings, transparent huge
    pages can be disabled for Go memory with the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. src/runtime/mpagealloc.go

    	// Grab the heap lock to turn on huge pages for new chunks and clone the current
    	// heap address space ranges.
    	//
    	// After the lock is released, we can be sure that bitmaps for any new chunks may
    	// be backed with huge pages, and we have the address space for the rest of the
    	// chunks. At the end of this function, all chunk metadata should be backed by huge
    	// pages.
    	lock(&mheap_.lock)
    	if p.chunkHugePages {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top