Project

General

Profile

Actions

Optimization #822

closed

Explore the performance impact of libhtp htp_list_t growing in size

Added by Anoop Saldanha over 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Effort:
Difficulty:
Label:

Description

libhtp uses a list data structure to hold various items. Explore the impact the growth of the list has on performance.

From this mail nn the oisf mailing list - "[Oisf-users] Help with 99% CPU usage", the lists have grown large and the bts indicate that the threads are spending a lot of time parsing these lists.


Files

thread-dump01.txt (12.5 KB) thread-dump01.txt First thread dump when capturing packets Duarte Silva, 07/08/2013 06:05 AM
thread-dump02.txt (14.7 KB) thread-dump02.txt Second thread dump when capturing packets Duarte Silva, 07/08/2013 06:05 AM
thread-dump03.txt (5.45 KB) thread-dump03.txt Third thread dump when shutting down Suricata (this was taken in the same run as the second thread dump) Duarte Silva, 07/08/2013 06:05 AM
Actions

Also available in: Atom PDF