mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
--experimental-memory-mlock support
The flag protects etcd memory from being swapped out to disk. This can happen in memory constrained systems where mmaped bbolt area is natural condidate for swapping out. This flag should provide better tail latency on the cost of higher RSS ram usage. If the experiment is successful, the logic should get moved into bbolt layer, where we can protect specific bbolt instances (e.g. avoid protecting both during defragmentation).
This commit is contained in:
@@ -8,7 +8,7 @@ require (
|
||||
github.com/dustin/go-humanize v1.0.0
|
||||
github.com/spf13/pflag v1.0.5
|
||||
go.uber.org/zap v1.16.0
|
||||
golang.org/x/sys v0.0.0-20201009025420-dfb3f7c4e634
|
||||
golang.org/x/sys v0.0.0-20210305215415-5cdee2b1b5a0
|
||||
google.golang.org/grpc v1.32.0
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user