Enjoy Luca
That's great!
Assuming some knowledge of linux kernel and ethernet device drivers,
what's a good place to learn about tnapi, pf_ring and dna and how they
are different pieces of the same puzzle?
Regards,
Srivats
> --
> Get Ostinato News and Updates on Twitter - Follow @ostinato (http://twitter.com/ostinato)
> ---------
> You received this message because you are subscribed to the Google Groups "ostinato" group.
> To post to this group, send email to osti...@googlegroups.com
> To unsubscribe from this group, send email to ostinato+u...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/ostinato?hl=en
>
This said, ostinato is both RX and TX. PF_RING is mostly RX, TNAPI is only RX, and DNA 10G is both RX and TX (I am working at a new 1G DNA version for both RX and TX). The nice thing is that PF_RING is a consistent API that based on the driver used (vanilla, TNAPI, DNA) is able to exploit them without you noticing any difference.
Like I have written on my blog post, one of the next things I would like to do is to develop some native code for running ostinato at full rate. Do you have any hint/suggestions for me? This would allow us to have a full wire rate RX+TX ostinato running at 10G on commodity hardware.
Regards Luca
---
Keep looking, don't settle - Steve Jobs
I had a quick look at pfsend.c.
You use pfring_send() while Ostinato uses the PCAP api
pcap_sendpacket(). Is that what makes the difference between 6.6 and
14.88? Does libpcap have that much overhead?
Regards,
Srivats
Note that I'm assuming in the pf_ring enhanced libpcap,
pcap_sendpacket() eventually calls pfring_send(). Which is why I was
asking if libpcap is adding so much overhead on top of native
pfring_send().
What is the expected Tx throughput for an application using
pcap_sendpacket() and linked with the pfring enhanced libpcap? Is it
expected to do 14.88 line rate?
Srivats
The first issue is that when we send data we do not have to send packet by packet, but rather send packets in chunks. The last parameter of pfring_send() specifies if the packet has to be sent immediately and when used over pcap it is set to 1 thus packets go out immediately. This is the correct behavior if you send few pps, but when you send many pps (let's say 10k or more pps) we need to send packets in chunk. If you set it to 0, is. If you set it to 0 is. The pfring library that takes care of "auto flush" when a specified watermark (default 128 packets) is reached. So I think we need to play a bit with this watermark, setting it to the right value based on how Ostinato send out packet (I.e. The rate).
The second thing to do is to make sure that all packets a re pre-forged in memory, so that you can send out with no delay. A far as I remember you are already doing this, don't you?
Regards Luc
Sent from my iPad
You received this message because you are subscribed to a topic in the Google Groups "ostinato" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ostinato/ZdiR2ZXdt0c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ostinato+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "ostinato" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ostinato/ZdiR2ZXdt0c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ostinato+u...@googlegroups.com.
Use variable fields when configuring the stream
hi I have a question if I want to change the identification field of the packet within the same stream how can I do that (I mean if i have 5 packets within the same stream I want an identification field different for each one of them ) how can I implement that in ostinato ???
--
Get Ostinato News and Updates on Twitter - Follow @ostinato (http://twitter.com/ostinato)
---
You received this message because you are subscribed to the Google Groups "ostinato" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ostinato+unsubscribe@googlegroups.com.
--
Get Ostinato News and Updates on Twitter - Follow @ostinato (http://twitter.com/ostinato)
---
You received this message because you are subscribed to the Google Groups "ostinato" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ostinato+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
| |
Geoffrey Lisk - Principal Architect![]() ![]() www.limelight.com Delivering Faster Better |
Join the conversation | ![]() |
![]() ![]() ![]() |
Geoffrey,I'm curious - at what packet size did you get 9Gbps?SrivatsCreator, Ostinato
On Tue, Jan 9, 2018 at 11:05 PM, Geoffrey Lisk <gl...@llnw.com> wrote:
Jimit:In my experience, the SR-IOV extensions are necessary if you are using Ostinato from a VM. As I am sure you have found, using Ostinato from a VM without SR-IOV can be... challenging. :-) With SR-IOV you can expect close to 9Gbps from a VM.Obviously, if you are running on "bare metal" then you do not need them.Good Luck
On Tue, Jan 9, 2018 at 9:05 AM, Jimit Salvi <jimits...@gmail.com> wrote:
Hi,--
Is it possible to use SRIOV network port to increase throughput for Ostinato?
Thanks,
-Jimit
On Wednesday, August 17, 2011 at 7:24:58 PM UTC-4, Luca Deri wrote:Hi all,
I have made some changes to my open-source PF_RING library (see http://www.ntop.org/PF_RING.html) so that ostinato could use it. You can now use ostinato to generate traffic at 10 Gbit using commodity hardware (no costly FPGA-based NICs are needed). The result is described on http://www.ntop.org/blog/pf_ring/building-a-10-gbit-traffic-generator-using-pf_ring-and-ostinato/. Perhaps some of you might be interesting in using it too.Enjoy Luca
Get Ostinato News and Updates on Twitter - Follow @ostinato (http://twitter.com/ostinato)
---
You received this message because you are subscribed to the Google Groups "ostinato" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ostinato+u...@googlegroups.com.
--
Geoffrey Lisk - Principal Architect +1 602 850 5366
www.limelight.com Delivering Faster Better
Join the conversation
![]()
![]()
![]()
--
Get Ostinato News and Updates on Twitter - Follow @ostinato (http://twitter.com/ostinato)
---
You received this message because you are subscribed to the Google Groups "ostinato" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ostinato+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ostinato+unsubscribe@googlegroups.com.