* [dpdk-users] Packet spacing in DPDK @ 2017-06-08 16:50 Vijay 2017-06-08 17:25 ` Stephen Hemminger 0 siblings, 1 reply; 4+ messages in thread From: Vijay @ 2017-06-08 16:50 UTC (permalink / raw) To: users Hi, I am new to this mailing list and new to DPDK. I would like to know about packet spacing when a burst of packets are being transmitted. For example: there is a timer running and at expiry of the timer there could multiple frames that need to transmitted. So, will these frames be spaced by dpdk before transmission ? Is it internally handled by dpdk ? Is there any doc that talks about this ? I am not sure if this question has already been asked. If yes, please point me to the appropriate thread which talks about this. Thanks, Vijay ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-users] Packet spacing in DPDK 2017-06-08 16:50 [dpdk-users] Packet spacing in DPDK Vijay @ 2017-06-08 17:25 ` Stephen Hemminger 2017-06-08 17:51 ` Vijay 0 siblings, 1 reply; 4+ messages in thread From: Stephen Hemminger @ 2017-06-08 17:25 UTC (permalink / raw) To: Vijay; +Cc: users On Thu, 8 Jun 2017 09:50:05 -0700 Vijay <vjmohanc@gmail.com> wrote: > Hi, > > I am new to this mailing list and new to DPDK. I would like to know about > packet spacing when a burst of packets are being transmitted. For example: > there is a timer running and at expiry of the timer there could multiple > frames that need to transmitted. So, will these frames be spaced by dpdk > before transmission ? Is it internally handled by dpdk ? Is there any doc > that talks about this ? > > I am not sure if this question has already been asked. If yes, please point > me to the appropriate thread which talks about this. > > Thanks, > Vijay The packets in DPDK are not paced. The hardware sends them as fast as possible. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-users] Packet spacing in DPDK 2017-06-08 17:25 ` Stephen Hemminger @ 2017-06-08 17:51 ` Vijay 2017-06-09 11:19 ` Shepard Siegel 0 siblings, 1 reply; 4+ messages in thread From: Vijay @ 2017-06-08 17:51 UTC (permalink / raw) To: Stephen Hemminger; +Cc: users So, for example, at every 1 Sec interval if 1000 packets need to transmitted, then HW tries to send them as fast as possible ? Is there any document which talks about this ? On Thu, Jun 8, 2017 at 10:25 AM, Stephen Hemminger < stephen@networkplumber.org> wrote: > On Thu, 8 Jun 2017 09:50:05 -0700 > Vijay <vjmohanc@gmail.com> wrote: > > > Hi, > > > > I am new to this mailing list and new to DPDK. I would like to know about > > packet spacing when a burst of packets are being transmitted. For > example: > > there is a timer running and at expiry of the timer there could multiple > > frames that need to transmitted. So, will these frames be spaced by dpdk > > before transmission ? Is it internally handled by dpdk ? Is there any doc > > that talks about this ? > > > > I am not sure if this question has already been asked. If yes, please > point > > me to the appropriate thread which talks about this. > > > > Thanks, > > Vijay > > The packets in DPDK are not paced. The hardware sends them as fast as > possible. > ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-users] Packet spacing in DPDK 2017-06-08 17:51 ` Vijay @ 2017-06-09 11:19 ` Shepard Siegel 0 siblings, 0 replies; 4+ messages in thread From: Shepard Siegel @ 2017-06-09 11:19 UTC (permalink / raw) To: Vijay; +Cc: Stephen Hemminger, users Even though DPDK sends packets down to the hardware as fast as possible, which is a great thing; it can also send down useful metadata. Some merchant NIC ASICs have hardware to support egress pacing, which their DPDK PMDs may or may not expose. Last year with our FPGA-based Arkville product, we developed a prototype "Paced Packet Player" which used TX/egress packet metadata to determine each individual packet's release to the MAC TX port, packet-by-packet. To ns precision. On four parallel 100 GbE ports. I blogged about it here. http://atomicrules.blogspot.co.uk/2017/01/paced-packet-player.html The point is, that depending on your ability to add some dedicated logic just ahead of the TX MAC; DPDK's TX metadata can be used to provide egress packet-pacing to hardware. If or not your particular NIC can use this data is a function of your NIC hardware and the associated PMD. -Shep On Thu, Jun 8, 2017 at 1:51 PM, Vijay <vjmohanc@gmail.com> wrote: > So, for example, at every 1 Sec interval if 1000 packets need to > transmitted, then HW tries to send them as fast as possible ? Is there any > document which talks about this ? > > On Thu, Jun 8, 2017 at 10:25 AM, Stephen Hemminger < > stephen@networkplumber.org> wrote: > > > On Thu, 8 Jun 2017 09:50:05 -0700 > > Vijay <vjmohanc@gmail.com> wrote: > > > > > Hi, > > > > > > I am new to this mailing list and new to DPDK. I would like to know > about > > > packet spacing when a burst of packets are being transmitted. For > > example: > > > there is a timer running and at expiry of the timer there could > multiple > > > frames that need to transmitted. So, will these frames be spaced by > dpdk > > > before transmission ? Is it internally handled by dpdk ? Is there any > doc > > > that talks about this ? > > > > > > I am not sure if this question has already been asked. If yes, please > > point > > > me to the appropriate thread which talks about this. > > > > > > Thanks, > > > Vijay > > > > The packets in DPDK are not paced. The hardware sends them as fast as > > possible. > > > ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-06-09 11:19 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-06-08 16:50 [dpdk-users] Packet spacing in DPDK Vijay 2017-06-08 17:25 ` Stephen Hemminger 2017-06-08 17:51 ` Vijay 2017-06-09 11:19 ` Shepard Siegel
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).