Skip to content

Commit

Permalink
goldfish: slowdown to be 6 is enough
Browse files Browse the repository at this point in the history
  • Loading branch information
superguo committed Oct 10, 2023
1 parent 7d7710f commit 08b54de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/mgrconfig/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,9 @@ func (cfg *Config) initTimeouts() {
// Note: the name check is a hack.
slowdown = 10
case cfg.Type == "goldfish" && cfg.Cover:
// Not tested on goldfish with KASAN + KCOV + acel on,
// but it is so slow that "not serving" happens very frequently
slowdown = 10
// On goldfish with KASAN + KCOV + acel on,
// mmap is 1.5x-5.5x slower for many cases
slowdown = 6
}
// Note: we could also consider heavy debug tools (KASAN/KMSAN/KCSAN/KMEMLEAK) if necessary.
cfg.Timeouts = cfg.SysTarget.Timeouts(slowdown)
Expand Down

0 comments on commit 08b54de

Please sign in to comment.