Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for chuge (0.1 sec)

  1. src/runtime/mem_linux.go

    		}
    		return
    	}
    }
    
    func sysHugePageOS(v unsafe.Pointer, n uintptr) {
    	if physHugePageSize != 0 {
    		// Round v up to a huge page boundary.
    		beg := alignUp(uintptr(v), physHugePageSize)
    		// Round v+n down to a huge page boundary.
    		end := alignDown(uintptr(v)+n, physHugePageSize)
    
    		if beg < end {
    			madvise(unsafe.Pointer(beg), end-beg, _MADV_HUGEPAGE)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/helper/helpers.go

    	return v1.ResourceName(fmt.Sprintf("%s%s", v1.ResourceHugePagesPrefix, pageSize.String()))
    }
    
    // HugePageSizeFromResourceName returns the page size for the specified huge page
    // resource name.  If the specified input is not a valid huge page resource name
    // an error is returned.
    func HugePageSizeFromResourceName(name v1.ResourceName) (resource.Quantity, error) {
    	if !IsHugePageResourceName(name) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. src/runtime/mgcscavenge.go

    			hugePageBelow := uint(alignDown(uintptr(start), pagesPerHugePage))
    
    			if hugePageBelow >= end-run {
    				// We're in danger of breaking apart a huge page since start+size crosses
    				// a huge page boundary and rounding down start to the nearest huge
    				// page boundary is included in the full run we found. Include the entire
    				// huge page in the bound by rounding down to the huge page size.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  4. src/runtime/mgcscavenge_test.go

    				min:  1,
    				max:  1, // Even one page would break a huge page in this case.
    				want: BitRange{0, PallocChunkPages},
    			}
    		} else {
    			// The huge page size is greater than pallocChunkPages, so it should
    			// be effectively disabled. There's no way we can possible scavenge
    			// a huge page out of this bitmap chunk.
    			tests["PreserveHugePageNone"] = test{
    				min:  1,
    				max:  1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise-plugin-performance/src/performanceTest/groovy/org/gradle/performance/BuildScanPluginPerformanceTest.groovy

                warmUpCount WARMUPS
                invocationCount INVOCATIONS
                displayName(WITHOUT_PLUGIN_LABEL)
                invocation {
                    // Increase client VM heap memory because of a huge amount of output events
                    clientJvmArgs("-Xmx256m", "-Xms256m")
                    args(*jobArgs)
                    tasksToRun(*tasks)
                    if (withFailure) {
                        expectFailure()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 09:04:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. pkg/apis/core/helper/helpers.go

    	return core.ResourceName(fmt.Sprintf("%s%s", core.ResourceHugePagesPrefix, pageSize.String()))
    }
    
    // HugePageSizeFromResourceName returns the page size for the specified huge page
    // resource name.  If the specified input is not a valid huge page resource name
    // an error is returned.
    func HugePageSizeFromResourceName(name core.ResourceName) (resource.Quantity, error) {
    	if !IsHugePageResourceName(name) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JavaHomeBasedJavaCompilerFactory.java

        private final List<File> compilerPluginsClasspath;
        // We use a static cache here because we want to reuse classloaders in compiler workers as
        // it has a huge impact on performance. Previously there was a single, JdkTools.current()
        // instance, but we can have different "compiler plugins" classpath. For this reason we use
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. src/time/internal_test.go

    //
    // This test has to be in internal_test.go since it fiddles with
    // unexported data structures.
    func CheckRuntimeTimerPeriodOverflow() {
    	// We manually create a runtimeTimer with huge period, but that expires
    	// immediately. The public Timer interface would require waiting for
    	// the entire period before the first update.
    	t := newTimer(runtimeNano(), 1<<63-1, empty, nil, nil)
    	defer t.Stop()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. test/nilptr3.go

    	_ = *bigstructp // ERROR "generated nil check"
    	_ = *empty1p    // ERROR "generated nil check"
    }
    
    func fx10k() *[10000]int
    
    var b bool
    
    func f3(x *[10000]int) {
    	// Using a huge type and huge offsets so the compiler
    	// does not expect the memory hardware to fault.
    	_ = x[9999] // ERROR "generated nil check"
    
    	for {
    		if x[9999] != 0 { // ERROR "removed nil check"
    			break
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. 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)
Back to top