storagenode/gracefulexit: higher concurrency and shorter timeouts
1 transfer with a minimum speed of 128 Bytes was a nice try but it is way too low. Even a pi3 was able to handle 7 grpc transfers. We have 4 satellites and with 5 concurrent transfers that should be a total of 20 concurrent transfers. Each transfer will have a minimum speed of 5KB/s. That should give us a better througput and still be Ok on a pi3. Change-Id: I650a7baf890080901ef70ea3b5636d93009b4e60
This commit is contained in:
parent
a6c6440ab7
commit
5c68f4fc7c
@ -22,8 +22,8 @@ var (
|
||||
// Config for graceful exit
|
||||
type Config struct {
|
||||
ChoreInterval time.Duration `help:"how often to run the chore to check for satellites for the node to exit." releaseDefault:"15m" devDefault:"10s"`
|
||||
NumWorkers int `help:"number of workers to handle satellite exits" default:"3"`
|
||||
NumConcurrentTransfers int `help:"number of concurrent transfers per graceful exit worker" default:"1"`
|
||||
MinBytesPerSecond memory.Size `help:"the minimum acceptable bytes that an exiting node can transfer per second to the new node" default:"128B"`
|
||||
NumWorkers int `help:"number of workers to handle satellite exits" default:"4"`
|
||||
NumConcurrentTransfers int `help:"number of concurrent transfers per graceful exit worker" default:"5"`
|
||||
MinBytesPerSecond memory.Size `help:"the minimum acceptable bytes that an exiting node can transfer per second to the new node" default:"5KB"`
|
||||
MinDownloadTimeout time.Duration `help:"the minimum duration for downloading a piece from storage nodes before timing out" default:"2m"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user