Project

General

Profile

Actions

Feature #1348

open
PM PM

OOBE -6- increasing max-pending-packets default value

Feature #1348: OOBE -6- increasing max-pending-packets default value

Added by Peter Manev over 11 years ago. Updated over 5 years ago.

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

Description

This is part of OOBE tickets line.
Out Of the Box Experience(OOBE) is aimed at providing better defaults values in suricata.yaml

single: 128
workers: 4096
autofp: 32768 (or maybe 2048 * thread cnt)
cuda: 64k

AH Updated by Andreas Herz over 10 years ago Actions #1

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

AH Updated by Andreas Herz about 7 years ago Actions #2

any thoughts what we should use nowadays?

VJ Updated by Victor Julien about 7 years ago Actions #3

  • Status changed from New to Feedback
  • Assignee changed from OISF Dev to Peter Manev

AH Updated by Andreas Herz almost 7 years ago Actions #4

Could we make it based on some other values so it will be calculated?

PM Updated by Peter Manev almost 7 years ago Actions #5

Think it makes sense to base it on number of threads somehow.

AH Updated by Andreas Herz over 6 years ago Actions #6

I looked into that but couldn't find a proper way. One idea is to change the value to be per-thread but would brake too much.
Is there a value you think that would be safe to just use as a new default value?

VJ Updated by Victor Julien over 6 years ago Actions #7

The value is currently already per thread.

PM Updated by Peter Manev over 6 years ago Actions #8

The challenge here is that we also need to be cautious as to for the situations where Suricata is run on very small devices. In those cases we would also want to offer good experience right out if the box.

I have been going back and forth (internally :) ) quite a few times on this. It seems it might be better to offer some sort of quick "perf guide" where a user can just adjust a few basic settings without needing to dive into advanced tuning.

AH Updated by Andreas Herz over 6 years ago Actions #9

Well if someone is running suricata on a small device like raspi I would expect some knowledge/time to tune it. I would expect the default to match a "normal" system. I would suggest 32k or 64k as that shouldn't really have a huge impact right?

PM Updated by Peter Manev over 6 years ago Actions #10

Well it is a good point what is a "normal" system and "normal" traffic? :)
I would say going to 4/8 x times the current default should be ok though. Think it would still keep it all under .5G ram

VJ Updated by Victor Julien over 5 years ago Actions #11

  • Target version changed from 70 to TBD
Actions

Also available in: PDF Atom