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: [email protected] [mailto:[email protected]] On Behalf Of Michael Richardson Sent: Wednesday, November 30, 2011 2:18 PM To: [email protected] 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[ ] [email protected] 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.
