Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for iowait (0.15 sec)

  1. cmd/metrics-v3-system-cpu.go

    const (
    	sysCPUAvgIdle   = "avg_idle"
    	sysCPUAvgIOWait = "avg_iowait"
    	sysCPULoad      = "load"
    	sysCPULoadPerc  = "load_perc"
    	sysCPUNice      = "nice"
    	sysCPUSteal     = "steal"
    	sysCPUSystem    = "system"
    	sysCPUUser      = "user"
    )
    
    var (
    	sysCPUAvgIdleMD   = NewGaugeMD(sysCPUAvgIdle, "Average CPU idle time")
    	sysCPUAvgIOWaitMD = NewGaugeMD(sysCPUAvgIOWait, "Average CPU IOWait time")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/metrics-resource.go

    	writesPerSec   MetricName = "writes_per_sec"
    	readsKBPerSec  MetricName = "reads_kb_per_sec"
    	writesKBPerSec MetricName = "writes_kb_per_sec"
    	readsAwait     MetricName = "reads_await"
    	writesAwait    MetricName = "writes_await"
    	percUtil       MetricName = "perc_util"
    	usedInodes     MetricName = "used_inodes"
    
    	// network stats
    	interfaceRxBytes  MetricName = "rx_bytes"
    	interfaceRxErrors MetricName = "rx_errors"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  3. internal/ioutil/wait_pipe.go

    	})
    	return err
    }
    
    // PipeReader is similar to io.PipeReader with wait group
    type PipeReader struct {
    	*io.PipeReader
    	wait func()
    }
    
    // CloseWithError close with supplied error the reader end
    func (r *PipeReader) CloseWithError(err error) error {
    	err = r.PipeReader.CloseWithError(err)
    	r.wait()
    	return err
    }
    
    // WaitPipe implements wait-group backend io.Pipe to provide
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 27 14:55:36 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  4. internal/cachevalue/cache.go

    	// and not continuously try to update.
    	// Should not be combined with ReturnLastGood.
    	CacheError bool
    
    	// If NoWait is set, Get() will return the last good value,
    	// if TTL has expired but 2x TTL has not yet passed,
    	// but will fetch a new value in the background.
    	NoWait bool
    }
    
    // Cache contains a synchronized value that is considered valid
    // for a specific amount of time.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. cmd/admin-heal-ops.go

    	if source.noWait {
    		select {
    		case globalBackgroundHealRoutine.tasks <- task:
    			if serverDebugLog {
    				fmt.Printf("Task in the queue: %#v\n", task)
    			}
    		default:
    			// task queue is full, no more workers, we shall move on and heal later.
    			return nil
    		}
    		// Don't wait for result
    		return nil
    	}
    
    	// respCh must be set to wait for result.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  6. clause/locking.go

    package clause
    
    const (
    	LockingStrengthUpdate    = "UPDATE"
    	LockingStrengthShare     = "SHARE"
    	LockingOptionsSkipLocked = "SKIP LOCKED"
    	LockingOptionsNoWait     = "NOWAIT"
    )
    
    type Locking struct {
    	Strength string
    	Table    Table
    	Options  string
    }
    
    // Name where clause name
    func (locking Locking) Name() string {
    	return "FOR"
    }
    
    // Build build where clause
    func (locking Locking) Build(builder Builder) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:32:56 GMT 2023
    - 773 bytes
    - Viewed (0)
  7. cmd/bucket-quota.go

    var bucketStorageCache = cachevalue.New[DataUsageInfo]()
    
    // Init initialize bucket quota.
    func (sys *BucketQuotaSys) Init(objAPI ObjectLayer) {
    	bucketStorageCache.InitOnce(10*time.Second,
    		cachevalue.Opts{ReturnLastGood: true, NoWait: true},
    		func() (DataUsageInfo, error) {
    			ctx, done := context.WithTimeout(context.Background(), 2*time.Second)
    			defer done()
    
    			return loadDataUsageFromBackend(ctx, objAPI)
    		},
    	)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. istioctl/pkg/clioptions/central.go

    	XdsPodLabel string
    
    	// XdsPodPort is a port exposing XDS (typically 15010 or 15012)
    	XdsPodPort int
    
    	// CertDir is the local directory containing certificates
    	CertDir string
    
    	// Timeout is how long to wait before giving up on XDS
    	Timeout time.Duration
    
    	// InsecureSkipVerify skips client verification the server's certificate chain and host name.
    	InsecureSkipVerify bool
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  9. cmd/batch-rotate.go

    				if success {
    					break
    				}
    				if delay > 0 {
    					time.Sleep(delay + time.Duration(rnd.Float64()*float64(delay)))
    				}
    			}
    
    			if wait := globalBatchConfig.KeyRotationWait(); wait > 0 {
    				time.Sleep(wait)
    			}
    		}()
    	}
    	wk.Wait()
    
    	ri.Complete = ri.ObjectsFailed == 0
    	ri.Failed = ri.ObjectsFailed > 0
    	globalBatchJobsMetrics.save(job.ID, ri)
    	// persist in-memory state to disk.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. cmd/leak-detect_test.go

    	// Loop, waiting for goroutines to shut down.
    	// Wait up to 5 seconds, but finish as quickly as possible.
    	deadline := UTCNow().Add(leakDetectDeadline * time.Second)
    	for {
    		// get sack snapshot of relevant go routines.
    		leaked := initialSnapShot.CompareCurrentSnapshot()
    		// current stack snapshot matches the initial one, no leaks, return.
    		if len(leaked) == 0 {
    			return
    		}
    		// wait a test again will deadline.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
Back to top