All of lore.kernel.org
 help / color / mirror / Atom feed
* pktgen performance hit due to memset.
@ 2010-07-23 23:14 Ben Greear
  2010-07-24  1:51 ` David Miller
  2010-07-24  5:23 ` [PATCH net-next-2.6] pktgen: Optionally leak kernel memory Eric Dumazet
  0 siblings, 2 replies; 8+ messages in thread
From: Ben Greear @ 2010-07-23 23:14 UTC (permalink / raw)
  To: NetDev

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,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-07-25  8:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-23 23:14 pktgen performance hit due to memset Ben Greear
2010-07-24  1:51 ` David Miller
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.