From: David Miller <davem@davemloft.net>
To: hadi@cyberus.ca
Cc: Robert.Olsson@data.slu.se, mandeep.baines@gmail.com,
rick.jones2@hp.com, msb@google.com, netdev@vger.kernel.org,
grundler@google.com, robert.olsson@its.uu.se, venza@brownhat.org
Subject: Re: pktgen terminating condition
Date: Thu, 30 Aug 2007 22:19:09 -0700 (PDT) [thread overview]
Message-ID: <20070830.221909.28790079.davem@davemloft.net> (raw)
In-Reply-To: <1188475721.22423.35.camel@localhost>
From: jamal <hadi@cyberus.ca>
Date: Thu, 30 Aug 2007 08:08:40 -0400
> I was confusing it with another issue where pktgen could send a lot of
> packets without waiting for them to be freed; there are some drivers
> (10G) which may hold onto 8K skbs. A gazillion ooms start spewing ;-> My
> thinking in resolving that was to do something like waht sockets do and
> charge pktgen so it doesnt have too many outstanding packets in flight.
You could implement this quite simply using skb->destructor.
It will add some atomics, so on weaker pktgen source systems
it might decrease the generators rate.
next prev parent reply other threads:[~2007-08-31 5:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1188347327.4305.27.camel@localhost>
[not found] ` <20070829044352.GA4133@ludhiana>
2007-08-29 13:46 ` pktgen terminating condition jamal
2007-08-29 16:32 ` Robert Olsson
2007-08-30 12:08 ` jamal
2007-08-31 5:19 ` David Miller [this message]
2007-08-31 13:46 ` jamal
2007-08-29 16:59 ` Mandeep Baines
2007-08-30 11:33 ` jamal
2007-08-31 12:17 ` Daniele Venzano
2007-08-31 13:50 ` jamal
[not found] ` <20070828.220402.15268351.davem@davemloft.net>
[not found] ` <535ddc6b0708290914k21d0b71fs21ea3b96c6fd7f4d@mail.gmail.com>
2007-08-29 16:26 ` Grant Grundler
2007-09-01 10:47 Daniele Venzano
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=20070830.221909.28790079.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Robert.Olsson@data.slu.se \
--cc=grundler@google.com \
--cc=hadi@cyberus.ca \
--cc=mandeep.baines@gmail.com \
--cc=msb@google.com \
--cc=netdev@vger.kernel.org \
--cc=rick.jones2@hp.com \
--cc=robert.olsson@its.uu.se \
--cc=venza@brownhat.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).