From 7752cf79b288f9812360f55155a7c9c16c6a0209 Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Tue, 16 Jun 2026 12:20:00 +0200 Subject: cpu: size default threads to cgroup cpu quota, not host core count --- embed_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embed_cli.c') diff --git a/embed_cli.c b/embed_cli.c index 7b549e5..df70d7e 100644 --- a/embed_cli.c +++ b/embed_cli.c @@ -56,7 +56,7 @@ static void print_usage(const char *prog) { " -b, --batch-size N\n" " Max texts per engine batch (default: all; --stream: 1)\n" " -t, --threads N\n" - " CPU threads (default: all cores)\n" + " CPU threads (default: available cores, cgroup-aware)\n" " -e, --embeddings\n" " Print raw embeddings (with multiple texts)\n" " -v, --verbose\n" -- cgit v1.3.1