From 5f79244d8d83fffab21dc3d18697d938ef836c09 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Fri, 27 May 2016 14:46:46 +0200 Subject: tools: updated cbr with flood and sleep options The cbr client will now use busy waiting by default to control the sending rate. A --sleep option has been added to allow low CPU usage when sending at low data rates. A --flood option has been added that writes SDU's as fast as possible. --- include/ouroboros/shm_ap_rbuff.h | 2 +- include/ouroboros/shm_du_map.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/ouroboros/shm_ap_rbuff.h b/include/ouroboros/shm_ap_rbuff.h index 99c5a423..053709bb 100644 --- a/include/ouroboros/shm_ap_rbuff.h +++ b/include/ouroboros/shm_ap_rbuff.h @@ -29,7 +29,7 @@ #endif #ifndef SHM_RBUFF_SIZE -#define SHM_RBUFF_SIZE (1 << 12) +#define SHM_RBUFF_SIZE (1 << 14) #endif #include diff --git a/include/ouroboros/shm_du_map.h b/include/ouroboros/shm_du_map.h index 35d85b11..cc1e8869 100644 --- a/include/ouroboros/shm_du_map.h +++ b/include/ouroboros/shm_du_map.h @@ -33,7 +33,7 @@ #endif #ifndef SHM_BLOCKS_IN_MAP -#define SHM_BLOCKS_IN_MAP (1 << 12) +#define SHM_BLOCKS_IN_MAP (1 << 14) #endif #include "common.h" -- cgit v1.2.3