Robin Sommer
Lawrence Berkeley National Laboratory & International Computer Science Institute
robin@icir.org http://www.icir.org
Parallelizing Network Analysis Robin Sommer Lawrence Berkeley - - PowerPoint PPT Presentation
Parallelizing Network Analysis Robin Sommer Lawrence Berkeley National Laboratory & International Computer Science Institute robin@icir.org http://www.icir.org Motivation NIDSs have reached their limits on commodity hardware Keep
robin@icir.org http://www.icir.org
2
3
4
5
6
!"#$%&$'()#'&* +$%&"$&% !"# +$%&"$,-( )&%.#"/ $%&'(")) 0,1/&$'()#'&*
222
3"#45 6,$,7&" !"#
7
8
9
!"#$%&'((")"$*"+%*,-.#)"&%/'01%"2"$%&'+0)'340',$%567 8 9 :8 :9 ;8 !,$%:8<88 !,$%:=<88 !,$%:><88 !,$%;;<88 ?4"%;<88 ?4"%@<88
3.(!= 3.(!=%5::%$,&"+7
10
11
12
0.0 0.1 0.2 0.3 0.4 0.5 5 10 15
CPU utilization Probability density
node0 node1 node2 node3 node4 node5 node6 node7 node8 node9
13
0.0 0.1 0.2 0.3 0.4 0.5 5 10 15 20 25
CPU utilization Probability density
10 nodes 5 nodes 3 nodes
14
CPU load (%) 10 20 30 40 50 60 70 Tue 12:00 Tue 18:00 Wed 0:00 Wed 6:00 Wed 12:00 Wed 18:00 Thu 0:00 Thu 6:00 Backend 0 Backend 1 Backend 2 Backend 3 Backend 4 Backend 5 Proxy 0 Proxy 1 Manager
15
16
1-10 Gbps
Stream Demux TCP Stream Reassembly ~104 Instances Protocol Analyzers ~105 Instances Per Flow Analysis ~104 Instances Aggregate Analysis ~103 Instances Global Analysis ~10-100 Instances Packet Streams Assembled Packet Streams Event Streams Filtered Event Streams Aggregated Event Streams
17
18
Active Network Interface CPU Core 1
Thread Thread Thread Thread L1 D-Cache Cached Queues
L2 Cache & Main Memory
Core 1 Pkt-Q Core 1 Event-Q Conn Table Host Table Core 2 Pkt-Q Core 2 Event-Q
Pending Pkts
Core 2 MSG-Event-Q Core 1 MSG-Event-Q
Packet Dispatch
CPU Core 2
Thread Thread Thread Thread L1 D-Cache Cached Queues External MSG-Event-Q
(E.g., Sun’s Niagara 2 has 8 CPU cores plus 2 directly attached 10GE controller!)
19
Multiple independent event queues (e.g., one per core)
(e.g., loosing semantics via probabilistic algorithms)
20
21
Lawrence Berkeley National Laboratory & International Computer Science Institute
robin@icir.org http://www.icir.org
This work is supported by the Office of Science and Technology at the Department of Homeland Security. Points of view in this document are those of the author(s) and do not necessarily represent the
Office of Science and Technology.