tcpdump mailing list archives

Re: [PATCH] tcpdump -s 0 improvement


From: Gianluca Varenni <Gianluca.Varenni () riverbed com>
Date: Wed, 30 Nov 2011 22:38:57 +0000

Buffers nees to be aligned to the pages (for a number of reasons), but nothing should prevent storing multiple packets 
within a single shared buffer (like BSD does).

Have a nice day
GV

-----Original Message-----
From: tcpdump-workers-owner () lists tcpdump org [mailto:tcpdump-workers-owner () lists tcpdump org] On Behalf Of 
Michael Richardson
Sent: Wednesday, November 30, 2011 2:18 PM
To: tcpdump-workers () lists tcpdump org
Subject: Re: [tcpdump-workers] [PATCH] tcpdump -s 0 improvement


I was under the impression that some of hte ring-buffer mechanisms need packets to be aligned on MMU-sized boundaries 
so that the kernel can play page-swapping games, rather than copying data.

If that's the case, then much of memory isn't really in use, just virtual address space.

-- 
]       He who is tired of Weird Al is tired of life!           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr () sandelman ottawa on ca http://www.sandelman.ottawa.on.ca/ |device driver[
   Kyoto Plus: watch the video <http://www.youtube.com/watch?v=kzx1ycLXQSE>
                       then sign the petition. 
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: