- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for reduce (0.26 sec)
-
internal/disk/fdatasync_linux.go
// read to be handled correctly. On the other hand, a change to the file size // (st_size, as made by say ftruncate(2)), would require a metadata flush. // // The aim of fdatasync() is to reduce disk activity for applications that // do not require all metadata to be synchronized with the disk. func Fdatasync(f *os.File) error { return syscall.Fdatasync(int(f.Fd())) } // FadviseDontNeed invalidates page-cache
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Sep 29 23:40:28 GMT 2021 - 1.8K bytes - Viewed (0) -
internal/http/dial_linux.go
// Number of probes. // ~ cat /proc/sys/net/ipv4/tcp_keepalive_probes (defaults to 9, we reduce it to 5) _ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, 5) // Wait time after successful probe in seconds. // ~ cat /proc/sys/net/ipv4/tcp_keepalive_intvl (defaults to 75 secs, we reduce it to 15 secs) _ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, 15) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 4.3K bytes - Viewed (3) -
cmd/erasure-healing-common_test.go
} // List all the file commit ids from parts metadata. modTimes := listObjectModtimes(partsMetadata, errs) // Count all latest updated FileInfo values var count int var latestFileInfo FileInfo // Reduce list of UUIDs to a single common value - i.e. the last updated Time modTime := commonTime(modTimes, expectedRQuorum) if modTime.IsZero() || modTime.Equal(timeSentinel) { return FileInfo{}, errErasureReadQuorum }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jan 30 20:43:25 GMT 2024 - 23K bytes - Viewed (1) -
cmd/api-errors.go
}, ErrSlowDownRead: { Code: "SlowDownRead", Description: "Resource requested is unreadable, please reduce your request rate", HTTPStatusCode: http.StatusServiceUnavailable, }, ErrSlowDownWrite: { Code: "SlowDownWrite", Description: "Resource requested is unwritable, please reduce your request rate", HTTPStatusCode: http.StatusServiceUnavailable, }, ErrMaxVersionsExceeded: {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 91.4K bytes - Viewed (7) -
cmd/xl-storage-disk-id-check.go
// if disk max timeout is smaller than checkEvery window // reduce checks by a second. if globalDriveConfig.GetMaxTimeout() <= checkEvery { checkEvery = globalDriveConfig.GetMaxTimeout() - time.Second if checkEvery <= 0 { checkEvery = globalDriveConfig.GetMaxTimeout() } } // if disk max timeout is smaller than skipIfSuccessBefore window // reduce the skipIfSuccessBefore by a second.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 33K bytes - Viewed (0) -
cmd/object-api-utils.go
sb.Reset() bytebufferpool.Put(sb) }() return pathJoinBuf(sb, elem...) } // pathJoinBuf - like path.Join() but retains trailing SlashSeparator of the last element. // Provide a string builder to reduce allocation. func pathJoinBuf(dst *bytebufferpool.ByteBuffer, elem ...string) string { trailingSlash := len(elem) > 0 && hasSuffixByte(elem[len(elem)-1], SlashSeparatorChar) dst.Reset() added := 0
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 11 11:55:34 GMT 2024 - 35.6K bytes - Viewed (1) -
cmd/object-api-errors.go
return "Storage reached its minimum free drive threshold." } // SlowDown too many file descriptors open or backend busy . type SlowDown struct{} func (e SlowDown) Error() string { return "Please reduce your request rate" } // RQErrType reason for read quorum error. type RQErrType int const ( // RQInsufficientOnlineDrives - not enough online drives. RQInsufficientOnlineDrives RQErrType = 1 << iota
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 21.3K bytes - Viewed (0) -
cmd/encryption-v1.go
if r.ContentLength > encryptBufferThreshold { // The encryption reads in blocks of 64KB. // We add a buffer on bigger files to reduce the number of syscalls upstream. content = bufio.NewReaderSize(content, encryptBufferSize) } var ( key []byte keyID string ctx kms.Context err error )
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 36.5K bytes - Viewed (0) -
cmd/erasure-object.go
queued: time.Now(), setIndex: er.setIndex, poolIndex: er.poolIndex, }) } return }() validResp := 0 totalResp := 0 // minDisks value is only to reduce the number of calls // to the disks; this value is not accurate because we do // not know the storage class of the object yet minDisks := 0 if p := globalStorageClass.GetParityForSC(""); p > -1 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 77.2K bytes - Viewed (2) -
cmd/veeam-sos-api.go
// Some of the Veeam products use Multi Delete operations. This setting can reduce how many objects are included in one // multi-delete operation. The same registry key setting overwrites the storage-defined setting. // Optional value, default 1000, range: 1-unlimited (S3 standard maximum is 1000 and should not be set higher) // // - <StorageConcurrentTasksLimit>
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jan 30 18:43:58 GMT 2024 - 8.2K bytes - Viewed (2)