From ad089651b1bbcd12dc2960016efecd2d0211209b Mon Sep 17 00:00:00 2001 From: Ciprian Dorin Craciun Date: Wed, 14 Aug 2019 16:25:40 +0300 Subject: [PATCH] [misc] Minor updates --- scripts/z-run | 4 ++-- sources/cmd/server-dummy.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/z-run b/scripts/z-run index 4ba7b51..597d3a4 100644 --- a/scripts/z-run +++ b/scripts/z-run @@ -505,7 +505,7 @@ prlimit -n262144 -- \ sudo -u "${USER}" -n -E -P -- \ env -i -- \ - "$( type -P -- wrk )" \ + ./.bin/wrk \ --threads 2 \ --connections 1 \ --timeout 1s \ @@ -530,7 +530,7 @@ prlimit -n262144 -- \ sudo -u "${USER}" -n -E -P -- \ env -i -- \ - "$( type -P -- wrk )" \ + ./.bin/wrk \ --threads 2 \ --connections 1 \ --timeout 1s \ diff --git a/sources/cmd/server-dummy.go b/sources/cmd/server-dummy.go index 1cb8d8f..5639201 100644 --- a/sources/cmd/server-dummy.go +++ b/sources/cmd/server-dummy.go @@ -17,7 +17,7 @@ func main () () { runtime.GOMAXPROCS (2) - debug.SetGCPercent (50) + debug.SetGCPercent (-1) debug.SetMaxThreads (128) debug.SetMaxStack (16 * 1024)