Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for GOGC (0.05 sec)

  1. cmd/kube-apiserver/app/server.go

    func Run(ctx context.Context, opts options.CompletedOptions) error {
    	// To help debugging, immediately log version
    	klog.Infof("Version: %+v", version.Get())
    
    	klog.InfoS("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	config, err := NewConfig(opts)
    	if err != nil {
    		return err
    	}
    	completed, err := config.Complete()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 17:44:20 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. cmd/kube-scheduler/app/server.go

    	logger := klog.FromContext(ctx)
    
    	// To help debugging, immediately log version
    	logger.Info("Starting Kubernetes Scheduler", "version", version.Get())
    
    	logger.Info("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	// Configz registration.
    	if cz, err := configz.New("componentconfig"); err == nil {
    		cz.Set(cc.ComponentConfig)
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. src/runtime/debug/garbage.go

    // to live data remaining after the previous collection reaches this percentage.
    // SetGCPercent returns the previous setting.
    // The initial setting is the value of the GOGC environment variable
    // at startup, or 100 if the variable is not set.
    // This setting may be effectively reduced in order to maintain a memory
    // limit.
    // A negative percentage effectively disables garbage collection, unless
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/runtime/gc_test.go

    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    func TestGcSys(t *testing.T) {
    	t.Skip("skipping known-flaky test; golang.org/issue/37331")
    	if os.Getenv("GOGC") == "off" {
    		t.Skip("skipping test; GOGC=off in environment")
    	}
    	got := runTestProg(t, "testprog", "GCSys")
    	want := "OK\n"
    	if got != want {
    		t.Fatalf("expected %q, but got %q", want, got)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/runtime/extern.go

    and use may change from release to release.
    
    The GOGC variable sets the initial garbage collection target percentage.
    A collection is triggered when the ratio of freshly allocated data to live data
    remaining after the previous collection reaches this percentage. The default
    is GOGC=100. Setting GOGC=off disables the garbage collector entirely.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. src/runtime/mgcpacer_test.go

    						// a stable utilization, but we should *never* overshoot more than GOGC of
    						// the next cycle.
    						assertInRange(t, "goal ratio", c[n-1].goalRatio(), 0.90, 15)
    					} else {
    						// Give a wider goal range here. With such a high GOGC value we're going to be
    						// forced to undershoot.
    						//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 13:53:21 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  7. cmd/kube-controller-manager/app/controllermanager.go

    	logger := klog.FromContext(ctx)
    	stopCh := ctx.Done()
    
    	// To help debugging, immediately log version
    	logger.Info("Starting", "version", version.Get())
    
    	logger.Info("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	// Start events processing pipeline.
    	c.EventBroadcaster.StartStructuredLogging(0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  8. src/runtime/mstats.go

    	//
    	// The garbage collector's goal is to keep HeapAlloc ≤ NextGC.
    	// At the end of each GC cycle, the target for the next cycle
    	// is computed based on the amount of reachable data and the
    	// value of GOGC.
    	NextGC uint64
    
    	// LastGC is the time the last garbage collection finished, as
    	// nanoseconds since 1970 (the UNIX epoch).
    	LastGC uint64
    
    	// PauseTotalNs is the cumulative nanoseconds in GC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  9. src/runtime/metrics/description.go

    		Kind:        KindUint64,
    		Cumulative:  true,
    	},
    	{
    		Name: "/gc/gogc:percent",
    		Description: "Heap size target percentage configured by the user, otherwise 100. This " +
    			"value is set by the GOGC environment variable, and the runtime/debug.SetGCPercent " +
    			"function.",
    		Kind: KindUint64,
    	},
    	{
    		Name: "/gc/gomemlimit:bytes",
    		Description: "Go runtime memory limit configured by the user, otherwise " +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:59:12 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  10. src/runtime/metrics/doc.go

    	/gc/cycles/total:gc-cycles
    		Count of all completed GC cycles.
    
    	/gc/gogc:percent
    		Heap size target percentage configured by the user, otherwise
    		100. This value is set by the GOGC environment variable, and the
    		runtime/debug.SetGCPercent function.
    
    	/gc/gomemlimit:bytes
    		Go runtime memory limit configured by the user, otherwise
    		math.MaxInt64. This value is set by the GOMEMLIMIT environment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top