Skip to content
Snippets Groups Projects
Commit b2fb92dc authored by Marek Vavrusa's avatar Marek Vavrusa Committed by Gerrit Code Review
Browse files

Lowered recvmmsg queuelen excessive memory usage.

Change-Id: I8b934ca1f9cd0b80f7e1ede479674c269415f2da
parent e852e69a
No related merge requests found
......@@ -25,7 +25,7 @@
#include <stdlib.h>
#include <pthread.h>
#define QUEUE_ELEMS 512
#define QUEUE_ELEMS 32
struct queue {
unsigned int head;
unsigned int prod_waiting;
......
......@@ -51,7 +51,7 @@ typedef unsigned int uint; /*!< \brief Unsigned. */
#define DEFAULT_THR_COUNT 2 /*!< \brief Default thread count. */
#define TCP_BACKLOG_SIZE 10 /*!< \brief TCP listen backlog size. */
#define XFR_THREADS_COUNT 3 /*!< \brief Number of threads for XFR handler. */
#define RECVMMSG_BATCHLEN 16 /*!< \brief Define for recvmmsg() batch size. */
#define RECVMMSG_BATCHLEN 64 /*!< \brief Define for recvmmsg() batch size. */
///*! \brief If defined, the statistics module will be enabled. */
//#define STAT_COMPILE
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment