Optimization #563
closed
pmq optimization -- remove patter_id_array
Added by Victor Julien about 12 years ago.
Updated over 8 years ago.
Description
pmq has 2 arrays:
1 pattern id array
2 pattern id bitarray
1st is only used in proto detect and not at detection engine runtime. We need to remove it for efficiency.
- Tracker changed from Feature to Optimization
the pattern_id_array is used by the proto detection to retrieve the id.
Maybe we can have some compromise between the detection phase that doesn't use the array, and the proto detection phase that needs it.
Probably pass some flag to the mpm.
Profiled this by removing it from ac. See no noticeable difference in perf.
I suggest we continue using this.
- Priority changed from Normal to Low
- Target version changed from 2.0rc2 to 3.0RC2
- Assignee changed from Anoop Saldanha to Victor Julien
In the new mpm code pattern_id* can be replaced by rule_id*
- Target version changed from 3.0RC2 to 70
- Status changed from Assigned to Closed
- Target version changed from 70 to 3.1rc1
Also available in: Atom
PDF