12.07.2015 Views

Wireshark in a Multi-Core Environment Using Hardware Acceleration

Wireshark in a Multi-Core Environment Using Hardware Acceleration

Wireshark in a Multi-Core Environment Using Hardware Acceleration

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Large Host BuffersAll Napatech adapters support large host buffers(limited by hardware address space).There are two benefits of us<strong>in</strong>g large host buffers:• The overhead <strong>in</strong>troduced by the driver and the operat<strong>in</strong>gsystem (OS) is kept to a m<strong>in</strong>imum, as many packets canbe passed to the application at a time.• The application can improve host CPU cach<strong>in</strong>g andthereby the host performance. This is done by prefetch<strong>in</strong>gthe frames to be processed, so that frames areavailable <strong>in</strong> the CPU cache when they are needed bythe CPU.• Napatech has measured that pre-fetch<strong>in</strong>g framesbefore they are needed by the CPU can give more thana 100% <strong>in</strong>crease <strong>in</strong> process<strong>in</strong>g speed.Standard NICs deliver frames to the host one at atime <strong>in</strong> separate host buffers:• The driver and the OS must process frames one at atime result<strong>in</strong>g <strong>in</strong> a large process<strong>in</strong>g overhead. At thesame time pre-fetch of frames is not possible.This results <strong>in</strong> a lower host process<strong>in</strong>g speed by a factorof 2 or more.TimeNapatech - Sharkfest 200912

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!