diff options
author | dimitri staessens <[email protected]> | 2016-05-27 14:46:46 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-05-27 14:46:46 +0200 |
commit | 5f79244d8d83fffab21dc3d18697d938ef836c09 (patch) | |
tree | 56b88ae328a58f839d40838a92d49c5defde1c09 /include | |
parent | 17e9c86c2fa45b39b88b73f9fd34c2d9b95ae7d4 (diff) | |
download | ouroboros-5f79244d8d83fffab21dc3d18697d938ef836c09.tar.gz ouroboros-5f79244d8d83fffab21dc3d18697d938ef836c09.zip |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/shm_ap_rbuff.h | 2 | ||||
-rw-r--r-- | include/ouroboros/shm_du_map.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 <sys/types.h> 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" |