From 8c1e0b8a7fbd29d5d02149d093d74b9766e8a0e1 Mon Sep 17 00:00:00 2001 From: Ari Koivula Date: Wed, 10 Dec 2014 11:23:51 +0200 Subject: [PATCH] Tweak owf=auto. - Twice the required number is too little. --- src/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.c b/src/config.c index 30d493d2c..6dff9f112 100644 --- a/src/config.c +++ b/src/config.c @@ -646,7 +646,7 @@ int config_set_owf_auto(config *cfg) tiles_per_frame *= cfg->tiles_height_count + 1; } int threads = (cfg->threads > 1 ? cfg->threads : 1); - int frames = CEILDIV(threads * 2, tiles_per_frame); + int frames = CEILDIV(threads * 4, tiles_per_frame); // Limit number of frames to 1.25x the number of threads for the case // where there is only 1 tile per frame.