| To: | Lennert Buytenhek <buytenh@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: inter-packet gap in pktgen |
| From: | Ben Greear <greearb@xxxxxxxxxxxxxxx> |
| Date: | Tue, 07 Dec 2004 14:47:15 -0800 |
| Cc: | Robert Olsson <Robert.Olsson@xxxxxxxxxxx>, hadi@xxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20041207222522.GA30266@xxxxxxxxxxxxxxxxx> |
| Organization: | Candela Technologies |
| References: | <20041207222522.GA30266@xxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20041020 |
Lennert Buytenhek wrote: By tweaking the 'ipg' parameter I can generate pretty much any packet rate I want, as long as I set ipg=(1e9/rate)-496 instead of something possibly more straightforward. That 496 will also change with load on the system, at least on average. I dealt with this by having a user-space app sample the rate and adjust the ipg to keep the average rate where I want it. So, I'd suggest leaving the ipg as it is, and use external tools to get the exact pps that you are looking for. Ben -- Ben Greear <greearb@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: _High_ CPU usage while routing (mostly) small UDP packets, Robert Olsson |
|---|---|
| Next by Date: | [PATCH][iproute2] make lnstat default count '1', Sven Schuster |
| Previous by Thread: | inter-packet gap in pktgen, Lennert Buytenhek |
| Next by Thread: | Re: inter-packet gap in pktgen, Lennert Buytenhek |
| Indexes: | [Date] [Thread] [Top] [All Lists] |