From 8946d2991a9271861f02f352270b05f7fe7c41fe Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 1 Jun 2022 16:49:22 +0200 Subject: Changed default number of threads for gen --- doc/nissy.1 | 3 ++- src/commands.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/nissy.1 b/doc/nissy.1 index dfc18ed..5193b11 100644 --- a/doc/nissy.1 +++ b/doc/nissy.1 @@ -63,7 +63,8 @@ If .Ar N is specified, .Ar N -CPU threads will be used (defaults to 1). +CPU threads will be used (defaults to 64, use less only if you don't want +nissy to use all of your CPU resources). . .It Nm help Op Ar command Display help. If no diff --git a/src/commands.c b/src/commands.c index ed3d46a..048b74c 100644 --- a/src/commands.c +++ b/src/commands.c @@ -319,7 +319,7 @@ gen_parse_args(int c, char **v) int val; CommandArgs *a = new_args(); - a->opts->nthreads = 1; + a->opts->nthreads = 64; a->success = false; if (c == 0) { -- cgit v1.3