hackage2nix: instruct RTS to use a maximum of 16 threads
Benchmarks with ghc-8.8.1 show that the run-time performance
degrades once more then 16 threads are used, which is consistent
with what we know about the limitations of the concurrent garbage
collector.
commit4f031c6b0d6466e447ccf2b44f23a002b3ad563e
authorPeter Simons <simons@cryp.to>
dateWed 18 Dec 2019, 11:18 (7 years ago)
parent650d530
cabal2nix.cabal+1−1
@@ -131,7 +131,7 @@ executable hackage2nix
131131 default-language: Haskell2010
132132 default-extensions: MonadFailDesugaring
133133 ghc-options: -Wall -Wcompat -Wincomplete-uni-patterns -Wincomplete-record-updates
134− -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
134+ -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-maxN16
135135
136136test-suite regression-test
137137 type: exitcode-stdio-1.0