As shown in
https://www.usenix.org/legacy/events/fast09/tech/full_papers/plank/plank_html/
under "Impact of the Packet Size", the optimal for is in the order of 1k
rather than the current default of 8. Benchmarks are required to find
the actual optimum.
Signed-off-by: Loic Dachary <loic@dachary.org>
static const int DEFAULT_K = 7;
static const int DEFAULT_M = 3;
static const int DEFAULT_W = 8;
- static const int DEFAULT_PACKETSIZE = 8;
+ static const int DEFAULT_PACKETSIZE = 2048;
int *bitmatrix;
int **schedule;
int packetsize;
static const int DEFAULT_K = 2;
static const int DEFAULT_M = 2;
static const int DEFAULT_W = 7;
- static const int DEFAULT_PACKETSIZE = 8;
+ static const int DEFAULT_PACKETSIZE = 2048;
int *bitmatrix;
int **schedule;
int packetsize;