Hi All,
We have been asked a few times why a TRex user space TCP stack was implemented for traffic generation. Why not use Linux kernel TCP and a user space event-driven mechanism over user space, as is done in many event-driven user space applications.We did not find a good comparable implementation for the same test with a Linux TCP stack so we did this in the following blog.
The question this blog tries to answer is this:
Let’s assume one wants to test a Firewall/NAT64/DPI using a TCP stack at high scale. One option is to use Linux curl as a client and nginx as a server. Another option is to use TRex ASTF mode. The question is: What’s the performance difference? How many more x86 servers would one need to do the same test? Is it factor 2 or maybe more?
see here
https://trex-tgn.cisco.com/trex/doc/trex_astf_vs_nginx.html
thanks,
Hanoh