From: David Miller <davem@davemloft.net>
To: greearb@candelatech.com
Cc: netdev@vger.kernel.org
Subject: Re: pktgen performance hit due to memset.
Date: Fri, 23 Jul 2010 18:51:42 -0700 (PDT) [thread overview]
Message-ID: <20100723.185142.193690342.davem@davemloft.net> (raw)
In-Reply-To: <4C4A224B.8080806@candelatech.com>
From: Ben Greear <greearb@candelatech.com>
Date: Fri, 23 Jul 2010 16:14:19 -0700
> Some time back, someone added some memset() calls to pktgen to
> keep from leaking memory contents to the network.
>
> At least in our modified version of pktgen, this caused about 25%
> performance degradation when sending 1514 byte pkts (multi-pkt == 0)
> on a pair of 10G ports. It was easy enough to comment these memset
> calls out of course.
>
> I don't mind if this patch stays in,
> but thought I'd post my findings in case anyone else wonders why
> their pktgen slowed down...
Thanks for the data point Ben.
next prev parent reply other threads:[~2010-07-24 1:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-23 23:14 pktgen performance hit due to memset Ben Greear
2010-07-24 1:51 ` David Miller [this message]
2010-07-24 5:23 ` [PATCH net-next-2.6] pktgen: Optionally leak kernel memory Eric Dumazet
2010-07-24 13:18 ` Ben Greear
2010-07-24 14:13 ` Eric Dumazet
2010-07-24 15:35 ` Ben Greear
2010-07-25 4:35 ` David Miller
2010-07-25 8:27 ` Eric Dumazet
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=20100723.185142.193690342.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=greearb@candelatech.com \
--cc=netdev@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).