Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for diskStats (0.24 sec)

  1. cmd/rebalance-admin.go

    	// Compute disk usage percentage
    	si := z.StorageInfo(ctx, true)
    	diskStats := make([]struct {
    		AvailableSpace uint64
    		TotalSpace     uint64
    	}, len(z.serverPools))
    	for _, disk := range si.Disks {
    		// Ignore invalid.
    		if disk.PoolIndex < 0 || len(diskStats) <= disk.PoolIndex {
    			// https://github.com/minio/minio/issues/16500
    			continue
    		}
    		diskStats[disk.PoolIndex].AvailableSpace += disk.AvailableSpace
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 22 00:56:43 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    			InitFreeSpace:     diskStats[idx].AvailableSpace,
    			InitCapacity:      diskStats[idx].TotalSpace,
    		}
    		copy(r.PoolStats[idx].Buckets, buckets)
    
    		if pfi := float64(diskStats[idx].AvailableSpace) / float64(diskStats[idx].TotalSpace); pfi < r.PercentFreeGoal {
    			r.PoolStats[idx].Participating = true
    			r.PoolStats[idx].Info = rebalanceInfo{
    				StartTime: now,
    				Status:    rebalStarted,
    			}
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  3. internal/disk/stat_linux.go

    	}
    	info.Used = info.Total - info.Free
    
    	if firstTime {
    		bfs, err := blockdevice.NewDefaultFS()
    		if err == nil {
    			devName := ""
    			diskstats, _ := bfs.ProcDiskstats()
    			for _, dstat := range diskstats {
    				// ignore all loop devices
    				if strings.HasPrefix(dstat.DeviceName, "loop") {
    					continue
    				}
    				if dstat.MajorNumber == info.Major && dstat.MinorNumber == info.Minor {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. pkg/kubelet/eviction/eviction_manager_test.go

    			setDiskStatsBasedOnFs := func(whichFs string, diskPressure string, diskStat diskStats) diskStats {
    				if tc.inducePressureOnWhichFs == "nodefs" {
    					diskStat.rootFsAvailableBytes = diskPressure
    				} else if tc.inducePressureOnWhichFs == "imagefs" {
    					diskStat.imageFsAvailableBytes = diskPressure
    				} else if tc.inducePressureOnWhichFs == "containerfs" {
    					diskStat.containerFsAvailableBytes = diskPressure
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go

    	{"hw.allowpowerdown", []_C_int{6, 22}},
    	{"hw.byteorder", []_C_int{6, 4}},
    	{"hw.cpuspeed", []_C_int{6, 12}},
    	{"hw.diskcount", []_C_int{6, 10}},
    	{"hw.disknames", []_C_int{6, 8}},
    	{"hw.diskstats", []_C_int{6, 9}},
    	{"hw.machine", []_C_int{6, 1}},
    	{"hw.model", []_C_int{6, 2}},
    	{"hw.ncpu", []_C_int{6, 3}},
    	{"hw.ncpufound", []_C_int{6, 21}},
    	{"hw.ncpuonline", []_C_int{6, 25}},
    	{"hw.pagesize", []_C_int{6, 7}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go

    	{"hw.allowpowerdown", []_C_int{6, 22}},
    	{"hw.byteorder", []_C_int{6, 4}},
    	{"hw.cpuspeed", []_C_int{6, 12}},
    	{"hw.diskcount", []_C_int{6, 10}},
    	{"hw.disknames", []_C_int{6, 8}},
    	{"hw.diskstats", []_C_int{6, 9}},
    	{"hw.machine", []_C_int{6, 1}},
    	{"hw.model", []_C_int{6, 2}},
    	{"hw.ncpu", []_C_int{6, 3}},
    	{"hw.ncpufound", []_C_int{6, 21}},
    	{"hw.ncpuonline", []_C_int{6, 25}},
    	{"hw.pagesize", []_C_int{6, 7}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go

    	{"hw.allowpowerdown", []_C_int{6, 22}},
    	{"hw.byteorder", []_C_int{6, 4}},
    	{"hw.cpuspeed", []_C_int{6, 12}},
    	{"hw.diskcount", []_C_int{6, 10}},
    	{"hw.disknames", []_C_int{6, 8}},
    	{"hw.diskstats", []_C_int{6, 9}},
    	{"hw.machine", []_C_int{6, 1}},
    	{"hw.model", []_C_int{6, 2}},
    	{"hw.ncpu", []_C_int{6, 3}},
    	{"hw.ncpufound", []_C_int{6, 21}},
    	{"hw.ncpuonline", []_C_int{6, 25}},
    	{"hw.pagesize", []_C_int{6, 7}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go

    	{"hw.allowpowerdown", []_C_int{6, 22}},
    	{"hw.byteorder", []_C_int{6, 4}},
    	{"hw.cpuspeed", []_C_int{6, 12}},
    	{"hw.diskcount", []_C_int{6, 10}},
    	{"hw.disknames", []_C_int{6, 8}},
    	{"hw.diskstats", []_C_int{6, 9}},
    	{"hw.machine", []_C_int{6, 1}},
    	{"hw.model", []_C_int{6, 2}},
    	{"hw.ncpu", []_C_int{6, 3}},
    	{"hw.ncpufound", []_C_int{6, 21}},
    	{"hw.ncpuonline", []_C_int{6, 25}},
    	{"hw.pagesize", []_C_int{6, 7}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_ppc64.go

    	{"hw.allowpowerdown", []_C_int{6, 22}},
    	{"hw.byteorder", []_C_int{6, 4}},
    	{"hw.cpuspeed", []_C_int{6, 12}},
    	{"hw.diskcount", []_C_int{6, 10}},
    	{"hw.disknames", []_C_int{6, 8}},
    	{"hw.diskstats", []_C_int{6, 9}},
    	{"hw.machine", []_C_int{6, 1}},
    	{"hw.model", []_C_int{6, 2}},
    	{"hw.ncpu", []_C_int{6, 3}},
    	{"hw.ncpufound", []_C_int{6, 21}},
    	{"hw.ncpuonline", []_C_int{6, 25}},
    	{"hw.pagesize", []_C_int{6, 7}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go

    	{"hw.allowpowerdown", []_C_int{6, 22}},
    	{"hw.byteorder", []_C_int{6, 4}},
    	{"hw.cpuspeed", []_C_int{6, 12}},
    	{"hw.diskcount", []_C_int{6, 10}},
    	{"hw.disknames", []_C_int{6, 8}},
    	{"hw.diskstats", []_C_int{6, 9}},
    	{"hw.machine", []_C_int{6, 1}},
    	{"hw.model", []_C_int{6, 2}},
    	{"hw.ncpu", []_C_int{6, 3}},
    	{"hw.ncpufound", []_C_int{6, 21}},
    	{"hw.ncpuonline", []_C_int{6, 25}},
    	{"hw.pagesize", []_C_int{6, 7}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12K bytes
    - Viewed (0)
Back to top