Skip to content

Commit 3da603b

Browse files
committed
parallel GC as default
1 parent 9d6c7ff commit 3da603b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cardano-node/cardano-node.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ executable cardano-node
227227
if arch(arm)
228228
ghc-options: "-with-rtsopts=-T -I0 -A16m -N1 --disable-delayed-os-memory-return"
229229
else
230-
ghc-options: "-with-rtsopts=-T -I0 -A16m -N2 --disable-delayed-os-memory-return"
230+
ghc-options: "-with-rtsopts=-T -I0 -A16m -qg1 -qb1 -N2 --disable-delayed-os-memory-return"
231231

232232
other-modules: Paths_cardano_node
233233
autogen-modules: Paths_cardano_node

nix/nixos/cardano-node-service.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ in {
833833

834834
rtsArgs = mkOption {
835835
type = listOf str;
836-
default = [ "-N2" "-I0" "-A16m" "-qg" "-qb" "--disable-delayed-os-memory-return" ];
836+
default = [ "-N2" "-I0" "-A16m" "-qg1" "-qb1" "--disable-delayed-os-memory-return" ];
837837
apply = args: if (args != [] || cfg.profilingArgs != [] || cfg.rts_flags_override != []) then
838838
["+RTS"] ++ cfg.profilingArgs ++ args ++ cfg.rts_flags_override ++ ["-RTS"]
839839
else [];

0 commit comments

Comments
 (0)