Project

General

Profile

Actions

Optimization #4802

open
VJ OD

af-packet: remove IPS support for tpacket-v3

Optimization #4802: af-packet: remove IPS support for tpacket-v3

Added by Victor Julien over 4 years ago. Updated 2 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

Latency is simply to high for any type of sane operation. We already warn for this: "Using tpacket_v3 in IPS mode will result in high latency".

The problem for v3 is that the block based approach induces latency. Smaller block sizes reduce this latency, but if traffic is so low that blocks don't get filled quickly the timeout logic kicks in. As this has a millisecond resolution we will have a minimum latency of 1ms in that case.

In v2 my measurements are more around 60 to 90 usec, so at least an order of magnitude less.

VJ Updated by Victor Julien over 4 years ago Actions #1

  • Description updated (diff)

PA Updated by Philippe Antoine almost 2 years ago Actions #2

  • Assignee set to OISF Dev
  • Target version set to TBD

VJ Updated by Victor Julien about 1 year ago Actions #3

  • Target version changed from TBD to 9.0.0-beta1

PA Updated by Philippe Antoine 2 months ago Actions #4

  • Status changed from New to Assigned
Actions

Also available in: PDF Atom