From 4a6ead87e7889c5b43534a5bfd9e03998a3ae5f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Wed, 7 Jan 2015 14:28:50 +0100 Subject: osd_work: removed maximum thread limit for WORK_QUEUE_FLAG_HIGH_FREQ queue on Windows (nw) with the new SPIN_LOOP_TIME value it now scales --- src/osd/modules/sync/work_osd.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/osd/modules/sync/work_osd.c b/src/osd/modules/sync/work_osd.c index 5241f799764..8220d50cb23 100644 --- a/src/osd/modules/sync/work_osd.c +++ b/src/osd/modules/sync/work_osd.c @@ -250,14 +250,6 @@ osd_work_queue *osd_work_queue_alloc(int flags) if (osdworkqueuemaxthreads != NULL && sscanf(osdworkqueuemaxthreads, "%d", &osdthreadnum) == 1 && threadnum > osdthreadnum) threadnum = osdthreadnum; - // TODO: also enable this for non-Windows platforms? - // TODO: it appears lowering SPIN_LOOP_TIME value fixed the scaling issues - needs a test case with a higher workload than n64dd -#if defined(OSD_WINDOWS) - // multi-queues with high frequency items should top out at 3 for now - // since we have scaling problems above that - if ((flags & WORK_QUEUE_FLAG_HIGH_FREQ) && threadnum > 1) - threadnum = MIN(threadnum - 1, 3); -#endif // clamp to the maximum queue->threads = MIN(threadnum, WORK_MAX_THREADS); -- cgit v1.2.3