From: Peter Dinda Date: Fri, 2 Aug 2013 20:38:55 +0000 (-0500) Subject: Default yield policy is now friendly with a 10 ms timeout X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=cbe14745457d9a646157633e1fa8eccffe035953;p=palacios.git Default yield policy is now friendly with a 10 ms timeout --- diff --git a/palacios/include/palacios/vmm_perftune.h b/palacios/include/palacios/vmm_perftune.h index 0a60d6c..4346374 100644 --- a/palacios/include/palacios/vmm_perftune.h +++ b/palacios/include/palacios/vmm_perftune.h @@ -35,9 +35,9 @@ struct v3_yield_strategy { uint64_t threshold_usec; // the point at which we transiton from untimed to timed yield uint64_t time_usec; // the amount of time for a timed yield call -#define V3_DEFAULT_YIELD_STRATEGY V3_YIELD_STRATEGY_GREEDY +#define V3_DEFAULT_YIELD_STRATEGY V3_YIELD_STRATEGY_FRIENDLY #define V3_DEFAULT_YIELD_THRESHOLD_USEC 100 -#define V3_DEFAULT_YIELD_TIME_USEC 1000 +#define V3_DEFAULT_YIELD_TIME_USEC 10000 };