From 3dd0e9f211ab4950ac0d48ba8e54511b015ded5f Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Wed, 25 Sep 2024 12:47:44 -0700 Subject: [PATCH] GUACAMOLE-377: Reduce number of worker threads to one per processor. Testing doesn't seem to support an increase in throughput or responsiveness from doubling up on worker threads. --- src/libguac/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libguac/display.c b/src/libguac/display.c index 5cd739d65..0f1a3d996 100644 --- a/src/libguac/display.c +++ b/src/libguac/display.c @@ -44,7 +44,7 @@ /** * The number of worker threads to create per processor. */ -#define GUAC_DISPLAY_CPU_THREAD_FACTOR 2 +#define GUAC_DISPLAY_CPU_THREAD_FACTOR 1 /** * Returns the number of processors available to this process. If possible,