Skip to content

Commit

Permalink
lib.interlink: increase queue size to allow bursts for ipfix
Browse files Browse the repository at this point in the history
The SIZE parameter of lib.interlink is not configurable
dynamically. For ipfix, we want to set it to a large value to be more
resilient to packet bursts.
  • Loading branch information
alexandergall committed Apr 1, 2020
1 parent 72f5482 commit c24d55c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/interlink.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ local band = require("bit").band
local waitfor = require("core.lib").waitfor
local sync = require("core.sync")

local SIZE = 1024
--local SIZE = 1024
local SIZE = 131072
local CACHELINE = 64 -- XXX - make dynamic
local INT = ffi.sizeof("int")

Expand Down

0 comments on commit c24d55c

Please sign in to comment.