Re: [vpp-dev] TCP Stack Performance Benchmark
Hi Anthony, Sounds great! Let me know what you find. As for wrk, maybe give it a try. Typically, we’ve focused ldp testing on server side, e.g., nginx/envoy, since that was what folks were interested in. We should probably take a closer look at client side as well. Regards, Florin > On Aug 19, 2022, at 3:51 AM, Anthony Fee wrote: > > Hi Florin, > > Thank you for the reply. > > I have seen with Netperf that actually there is TCP traffic going back and > forth, a connection is established and then the client side crashes. I'll try > to dig deeper to see what might be causing that. All I see on the server side > is a received invalid connection message. > > I don't need to have both server and client using VPP, but I am focused on > the client performance. It's a good suggestion, I may try netperf server side > outside of VPP to see what that produces (and the other way around). I assume > wrk doesn't work with VCL? > > I'm getting more involved in VPP these days and so I may look to extend > existing apps, depending on if it's required. Either way, I'll report back > any findings here in case it helps someone else. > > Thanks again for the response. > > Anthony > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21808): https://lists.fd.io/g/vpp-dev/message/21808 Mute This Topic: https://lists.fd.io/mt/93077102/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] TCP Stack Performance Benchmark
Hi Florin, Thank you for the reply. I have seen with Netperf that actually there is TCP traffic going back and forth, a connection is established and then the client side crashes. I'll try to dig deeper to see what might be causing that. All I see on the server side is a received invalid connection message. I don't need to have both server and client using VPP, but I am focused on the client performance. It's a good suggestion, I may try netperf server side outside of VPP to see what that produces (and the other way around). I assume wrk doesn't work with VCL? I'm getting more involved in VPP these days and so I may look to extend existing apps, depending on if it's required. Either way, I'll report back any findings here in case it helps someone else. Thanks again for the response. Anthony -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21805): https://lists.fd.io/g/vpp-dev/message/21805 Mute This Topic: https://lists.fd.io/mt/93077102/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] TCP Stack Performance Benchmark
Hi Anthony, I for one have not tried netperf, so not sure why it’s not working. Assuming it is directly using epoll/select, i.e., no libevent/ev it should work unless it uses a weird threading model. So, it might be worth investigating why it’s crashing. Do you need both server and client to use vpp. If not, maybe try nginx + vpp and run wrk/ab or any other tool on the client side. Another option would be to extend our home grown vcl test apps to measure latency. See the vcl client and server apps here [1]. Regards, Florin [1] https://git.fd.io/vpp/tree/src/plugins/hs_apps/vcl > On Aug 17, 2022, at 2:26 AM, Anthony Fee wrote: > > Hi all, > > I am currently trying to compare TCP performance between the host TCP vs VPP > TCP stack. Mainly I am focused on latency but am struggling to find tools to > make the comparison. I have tried looking at iPerf as this has been used with > VPP through VCL but this only provides UDP latency numbers. > > Has anyone attempted to use Netperf using VCL? I have tried but it seg faults > but maybe there are steps I can take to enable this? > > I have also looked at T-Rex although I haven’t found a way to generate the > test scenarios that I require. Stateful mode does provide tools for TCP > testing and benchmarking but T-Rex emulates the TCP stack in this scenario. > > Any feedback here would be appreciated. > > Thanks, > Anthony > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21804): https://lists.fd.io/g/vpp-dev/message/21804 Mute This Topic: https://lists.fd.io/mt/93077102/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] TCP Stack Performance Benchmark
Hi all, I am currently trying to compare TCP performance between the host TCP vs VPP TCP stack. Mainly I am focused on latency but am struggling to find tools to make the comparison. I have tried looking at iPerf as this has been used with VPP through VCL but this only provides UDP latency numbers. Has anyone attempted to use Netperf using VCL? I have tried but it seg faults but maybe there are steps I can take to enable this? I have also looked at T-Rex although I haven't found a way to generate the test scenarios that I require. Stateful mode does provide tools for TCP testing and benchmarking but T-Rex emulates the TCP stack in this scenario. Any feedback here would be appreciated. Thanks, Anthony -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21801): https://lists.fd.io/g/vpp-dev/message/21801 Mute This Topic: https://lists.fd.io/mt/93077102/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-