[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070830.221909.28790079.davem@davemloft.net>
Date: Thu, 30 Aug 2007 22:19:09 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hadi@...erus.ca
Cc: Robert.Olsson@...a.slu.se, mandeep.baines@...il.com,
rick.jones2@...com, msb@...gle.com, netdev@...r.kernel.org,
grundler@...gle.com, robert.olsson@....uu.se, venza@...wnhat.org
Subject: Re: pktgen terminating condition
From: jamal <hadi@...erus.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.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists