open-traffic-generator / ixia-c

Ixia-c Traffic Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ixia-c only transmitting with 10 Gbs on 100 GBs NIC card

UzairJawaid opened this issue · comments

I have tested IXIA-C on connectx6-dx card 100 Gbs. following were the results

L1 speed 100 Gbs and packets were transmitting with speed of 10 Gbs
L1 speed 10 Gbs and packets were transmitting with speed of 6 Gbs

Can you explain the reason for this behavior ?
Can we increase TX queue and core?
what speed IXIA-c free version supports?

@UzairJawaid free version of Ixia-C utilizes AF_PACKET mode in DPDK to send packets, and hence the L1 rate is limited by the same (i.e. BSD sockets).

To achieve much higher rates, you can use commercial distribution of Ixia-C which can be configured to utilize PMD (poll mode driver) in DPDK. You need to contact Keysight Support to obtain it.

Meanwhile, could you please share your configuration so we can take a look and possibly suggest some modifications to ensure we are utilizing bandwidth thoroughly (e.g. frame size being used, rate configuration, etc.) ?

Please note, in both the cases, currently TX queue will utilize only one core.

Thanks @ashutshkumr. Just one more thing that I'd like to add - if you are interested in a commercial version then reach out to me on our Slack (ixia-c.slack.com) instead of Keysight support as I'll probably be able to get it going sooner.

@ashutshkumr

f1.size.fixed, f2.size.fixed = 1518, 1518

f.duration.fixed_seconds.seconds = 10
f.rate.percentage = 100

auto_negotiate = True
ieee_media_defaults = False
link_training = False
rs_fec = True

layer1 = config.layer1.layer1()[-1]
layer1.name = "port1 settings"
layer1.port_names = [port.name]
layer1.speed = layer1.SPEED_100_GBPS
layer1.auto_negotiate = auto_negotiate
layer1.ieee_media_defaults = ieee_media_defaults
layer1.auto_negotiation.link_training = link_training
layer1.auto_negotiation.rs_fec = rs_fec

mtu=1500

i tried these configuration

@UzairJawaid thank you for the configuration. I checked with team and this seems to be an optimal configuration to obtain highest possible L1 rate on raw sockets. Hence the results you provided are as expected.

As @ankur-sheth suggested, for trying out commercial version of ixia-c-one (for higher L1 rates), please feel free to reach out to him on Slack (ixia-c.slack.com).

muhammaduzairjawaid@gmail.com doesn’t have an account on this workspace. is their any other way for reaching out? is their any trial version for commercial IXIA-C?

@UzairJawaid I sent a Slack invite to your email address. Let's continue further discussion there.