// -----------------------------------------------------------------------
-// Copyright (C) 2006 - 2008 FRESCOR consortium partners:
+// Copyright (C) 2006 - 2009 FRESCOR consortium partners:
//
// Universidad de Cantabria, SPAIN
// University of York, UK
#define _FRSH_CONFIGURATION_PARAMETERS_H_
#include <unistd.h>
+#include <limits.h>
#include <frsh_cpp_macros.h>
FRSH_CPP_BEGIN_DECLS
**/
/** Maximum number of accepted contracts (vres) **/
-#define FRSH_MAX_N_VRES 100
+#define FRSH_MAX_N_VRES 25
/** Maximum number of threads that may be scheduled by the framework **/
#define FRSH_MAX_N_THREADS 25
**/
/** Initial period of the service thread (timespec) **/
-#define FRSH_SERVICE_THREAD_PERIOD_USECS 5000000 /* 500 msecs */
+#define FRSH_SERVICE_THREAD_PERIOD_USECS 500000 /* 500 msecs */
/** Initial budget of the service thread (timespec) **/
#define FRSH_SERVICE_THREAD_BUDGET_USECS 1000 /* 1 msec */
* FRSH_SCHEDULER_PRIORITY, and is set according to its period and the
* expected response times for reconfiguration or tunning of the
* system.
+ *
+ * If set to zero and FRSH_ADMISSSION_TEST_ENABLE is set to true then
+ * the priority will be assigned according to DMA rules.
**/
//#define FRSH_SERVICE_THREAD_PRIORITY (FRSH_LOWEST_THREAD_PRIORITY+1)
#define FRSH_SERVICE_THREAD_PRIORITY 0
/**
* Maximum number of groups operations (neg, reneg, cancel) per group
**/
-#define FRSH_MAX_GROUP_OPS 3
+#define FRSH_MAX_GROUP_OPS 25
/**
* Default overheads of shared object protection mechanisms
/* Default memory pool's size in Kbytes */
#define FRSH_DYNAMIC_MEMORY_POOL_SIZE 6670
+/**
+ * Maximum synchronized workload period number. After this value any
+ * increments will be set to zero.
+ **/
+#define FRSH_MAX_SYNCHRONIZED_PERIOD_NUMBER LONG_MAX
+
+
/*@}*/
/*@}*/