mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

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).
21 lines
508 B
Modula-2
21 lines
508 B
Modula-2
module go.etcd.io/etcd/pkg/v3
|
|
|
|
go 1.15
|
|
|
|
require (
|
|
github.com/coreos/go-systemd/v22 v22.1.0
|
|
github.com/creack/pty v1.1.11
|
|
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-20210305215415-5cdee2b1b5a0
|
|
google.golang.org/grpc v1.32.0
|
|
)
|
|
|
|
replace (
|
|
go.etcd.io/etcd => ./FORBIDDEN_DEPENDENCY
|
|
go.etcd.io/etcd/api/v3 => ./FORBIDDEN_DEPENDENCY
|
|
go.etcd.io/etcd/tests/v3 => ./FORBIDDEN_DEPENDENCY
|
|
go.etcd.io/etcd/v3 => ./FORBIDDEN_DEPENDENCY
|
|
)
|