Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for Allocations (0.15 sec)

  1. manifests/addons/dashboards/pilot.libsonnet

        row.new('Resource Usage')
        + row.withPanels([
          panels.timeSeries.bytes('Memory Usage', queries.goMemoryUsage, 'Memory usage of each running instance'),
          panels.timeSeries.allocations('Memory Allocations', queries.goAllocations, 'Details about memory allocations'),
          panels.timeSeries.base('CPU Usage', queries.cpuUsage, 'CPU usage of each running instance'),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. manifests/addons/dashboards/lib/panels.libsonnet

          + timeSeries.standardOptions.withUnit('bytes'),
    
        bytesRate(title, targets, desc=''):
          self.base(title, targets, desc)
          + timeSeries.standardOptions.withUnit('Bps'),
    
        allocations(title, targets, desc=''):
          self.base(title, targets, desc)
          + timeSeries.standardOptions.withUnit('Bps')
          + timeSeries.standardOptions.withOverrides([
            fieldOverride.byQuery.new('B')
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 4.5K bytes
    - Viewed (2)
  3. manifests/addons/dashboards/pilot-dashboard.gen.json

             "type": "timeseries"
          },
          {
             "datasource": {
                "type": "datasource",
                "uid": "-- Mixed --"
             },
             "description": "Details about memory allocations",
             "fieldConfig": {
                "defaults": {
                   "custom": {
                      "fillOpacity": 10,
                      "gradientMode": "hue",
                      "showPoints": "never"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. src/time/tick_test.go

    			// Allow some slack, but inuse >= N means at least 1 allocation per iteration.
    			inuse := after - before
    			if inuse >= N {
    				t.Errorf("%s did not get GC'ed: %d allocations", what, inuse)
    
    				Sleep(1 * Second)
    				runtime.ReadMemStats(&stats)
    				after := int64(stats.Mallocs - stats.Frees)
    				inuse = after - before
    				t.Errorf("after a sleep: %d allocations", inuse)
    			}
    		})
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. pkg/kubelet/userns/userns_manager.go

    		klog.V(5).InfoS("Clean up orphaned pod user namespace possible allocation", "podUID", podUID)
    		m.releaseWithLock(podUID)
    	}
    
    	// Lets remove any existing allocation for a pod that is not "found".
    	for podUID := range m.usedBy {
    		if allFound.Has(string(podUID)) {
    			continue
    		}
    
    		klog.V(5).InfoS("Clean up orphaned pod user namespace possible allocation", "podUID", podUID)
    		m.releaseWithLock(podUID)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go

    // TODO: fields are not labels, and the validation rules for them do not apply.
    func PodToSelectableFields(pod *example.Pod) fields.Set {
    	// The purpose of allocation with a given number of elements is to reduce
    	// amount of allocations needed to create the fields.Set. If you add any
    	// field here or the number of object-meta related fields changes, this should
    	// be adjusted.
    	podSpecificFieldsSet := make(fields.Set, 5)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	deadline, _ := ctx.Deadline()
    
    	identifier := fmt.Sprintf("key: %q, labels: %q, fields: %q", key, pred.Label, pred.Field)
    
    	// Create a watcher here to reduce memory allocations under lock,
    	// given that memory allocation may trigger GC and block the thread.
    	// Also note that emptyFunc is a placeholder, until we will be able
    	// to compute watcher.forget function (which has to happen under lock).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. src/hash/crc32/crc32_test.go

    	data = data[alignment:]
    	for i := range data {
    		data[i] = byte(i)
    	}
    	in := make([]byte, 0, h.Size())
    
    	// Warm up
    	h.Reset()
    	h.Write(data)
    	h.Sum(in)
    	// Avoid further allocations
    	in = in[:0]
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		h.Reset()
    		h.Write(data)
    		h.Sum(in)
    		in = in[:0]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. internal/grid/connection.go

    	} else {
    		handler = c.handlers.subSingle[*subID]
    	}
    	if handler == nil {
    		gridLogIf(ctx, c.queueMsg(m, muxConnectError{Error: "Invalid Handler for type"}))
    		return
    	}
    
    	// TODO: This causes allocations, but escape analysis doesn't really show the cause.
    	// If another faithful engineer wants to take a stab, feel free.
    	go func(m message) {
    		var start time.Time
    		if m.DeadlineMS > 0 {
    			start = time.Now()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods.go

    	kl.removeOrphanedPodStatuses(allPods, mirrorPods)
    
    	// Remove orphaned pod user namespace allocations (if any).
    	klog.V(3).InfoS("Clean up orphaned pod user namespace allocations")
    	if err = kl.usernsManager.CleanupOrphanedPodUsernsAllocations(allPods, runningRuntimePods); err != nil {
    		klog.ErrorS(err, "Failed cleaning up orphaned pod user namespaces allocations")
    	}
    
    	// Remove orphaned volumes from pods that are known not to have any
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top