Bandwidth test cannot reach 10Gbps.

I have two CRS304-4XG-IN devices, each with 5 10G ports, and want to perform a bandwidth test. I set the IP of port 1 on the first device to 192.168.1.100, and port 1 on the second device to 192.168.1.200. I used the menu to run Tools > Bandwidth Test and performed a bidirectional test. The combined TX/RX speed is about 2.5Gbps. I would like to ask why the speed cannot reach 10Gbps.

Scroll down in the Speedtest Window.
You will see the CPU usage, which is probably at 100% while using btest

That’s right, you should use something like iperf3 or openspeedtest server on one pc and client on the other PC so test data isn’t generated on the switch but on one of the devices.

That way data is just passing through the switch and not being generated by the switch.