From: "Petri Rosenström" <petri.rosenstrom@gmail.com>
To: bloat-devel@lists.bufferbloat.net
Subject: Re: PF_ring and friends: Options for making Linux suck less when capturing packets
Date: Sat, 5 Nov 2011 13:30:36 +0200 [thread overview]
Message-ID: <CAFsUA59PcXBHoztH-O0M0=96mMxMFgwoKdC_k4PbmgsaamWX7Q@mail.gmail.com> (raw)
In-Reply-To: <20111019172314.BA1D8800037@ip-64-139-1-69.sjc.megapath.net>
Hi,
I tried something like this with a wndr3800. I connected a usb powered
hdd (didn't test for speed, but if memory serves it's about
20megabytes).
Test 1.
Send some small (40 bytes) packages to the route (internal network ->
router (100 pkts/s))
run tcpdump -i eth1 -s 200 -w /some/usb/hdd.cap
Result 1.
It fills about 20kb/s of the memory. The CPU usage is about 100% from the start.
Test 2.
Send some small (40 bytes) packages to the route (internal network ->
router (20 pkts/s))
run tcpdump -i eth1 -s 200 -w /some/usb/hdd.cap
Result 2.
CPU usage about 80%. No noticeable memory consumption.
And of course if skipping the -s option from tcpdump there are no
issues with these network loads.
Best regards
Petri Rosenström
next prev parent reply other threads:[~2011-11-05 11:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-19 16:44 Dave Taht
2011-10-19 16:52 ` Stephen Hemminger
2011-10-19 17:23 ` Hal Murray
2011-11-05 11:30 ` Petri Rosenström [this message]
2011-10-19 17:02 ` Jim Gettys
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFsUA59PcXBHoztH-O0M0=96mMxMFgwoKdC_k4PbmgsaamWX7Q@mail.gmail.com' \
--to=petri.rosenstrom@gmail.com \
--cc=bloat-devel@lists.bufferbloat.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox