From 2ef2baf72ac5b99651279d54ff97e8ab3aff9f3f Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 30 Jul 2018 15:11:31 +0200 Subject: [PATCH] increase size of buffer_pool - This solves an issue where in the worst-case an RLC AM instance would block because no new data nor control PDUs could be created to flush the buffers, effectivly causing a system stall. - Happens in RLC AM stress test regularly with higher drop rates. --- lib/include/srslte/common/buffer_pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/include/srslte/common/buffer_pool.h b/lib/include/srslte/common/buffer_pool.h index 54708b3e1..bfd021d1b 100644 --- a/lib/include/srslte/common/buffer_pool.h +++ b/lib/include/srslte/common/buffer_pool.h @@ -169,7 +169,7 @@ public: private: - static const int POOL_SIZE = 2048; + static const int POOL_SIZE = 4096; std::stack available; std::vector used; pthread_mutex_t mutex;