Feature #1348
openOOBE -6- increasing max-pending-packets default value
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
Updated by Andreas Herz almost 9 years ago
- Assignee set to OISF Dev
- Target version set to 70
Updated by Andreas Herz almost 6 years ago
any thoughts what we should use nowadays?
Updated by Victor Julien almost 6 years ago
- Status changed from New to Feedback
- Assignee changed from OISF Dev to Peter Manev
Updated by Andreas Herz over 5 years ago
Could we make it based on some other values so it will be calculated?
Updated by Peter Manev over 5 years ago
Think it makes sense to base it on number of threads somehow.
Updated by Andreas Herz about 5 years ago
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?
Updated by Victor Julien about 5 years ago
The value is currently already per thread.
Updated by Peter Manev about 5 years ago
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.
Updated by Andreas Herz about 5 years ago
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?
Updated by Peter Manev about 5 years ago
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
Updated by Victor Julien over 4 years ago
- Target version changed from 70 to TBD