event/reactor: increase spin time from 1us to 1ms
One microsecond is not really long enough to detect an idle condition where calling the OS usleep() makes sense. Increase the minimum time spent spin-waiting on events and pollers from one microsecond to one millisecond. Change-Id: I678118e357330f133251f4cfada8ff27e10158a5 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
683c7d05eb
commit
d2c0feac8a
@ -56,7 +56,7 @@
|
|||||||
|
|
||||||
#define SPDK_MAX_SOCKET 64
|
#define SPDK_MAX_SOCKET 64
|
||||||
|
|
||||||
#define SPDK_REACTOR_SPIN_TIME_US 1
|
#define SPDK_REACTOR_SPIN_TIME_US 1000
|
||||||
|
|
||||||
#define SPDK_EVENT_BATCH_SIZE 8
|
#define SPDK_EVENT_BATCH_SIZE 8
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user