The first thing I would do is set the server and the switch speeds to 1000. Auto-neg rarely seems to work on servers and Cisco switches. You can check to see if the are negotiating (in)correctly with the show interface command.
Etherchannel is not a load sharing function. If you have a conversation that is strictly going between 2 servers that conversation is only going to go down one of those links thus probably it is reporting 940 meg . It is all based on how you set up the load balance for the channel but a single conversation will always go down a single link of the channel .
Glen is right, you would need another host in similiar setup and use ipperf at the same time.
Use test ether-channel to make sure that each server will send on a different link otherwise you will only get up to 1 Gbps performance.
Also, spanning-tree portfast causes more problem than it solves with linux bonding because STP has to properly manage the MAC so it doesn't flap, but again it depends on what bonding mode you are using.
LACP should be fine, but stuff like mode=1 needs STP on for the port.
Understanding How EtherChannel Frame Distribution Works
EtherChannel distributes frames across the links in a channel by reducing part of the binary pattern formed from the addresses in the frame to a numerical value that selects one of the links in the channel.
EtherChannel frame distribution is based on a Cisco-proprietary hashing algorithm. The algorithm is deterministic; given the same addresses and session information, you always hash to the same port in the channel, preventing out-of-order packet delivery.
The address may be a source, a destination, or a combination of two IP addresses, two MAC addresses, or two TCP/UDP port numbers depending on the policy that is adopted through the ip, mac, session, and ip-vlan-session options of the set port channel all distribution command. See the "Configuring EtherChannel Load Balancing" section for detailed information
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...