Avnu / OpenAvnu

OpenAvnu - an Avnu sponsored repository for Time Sensitive Network (TSN and AVB) technology
462 stars 289 forks source link

Issue with bandwidth calculation #863

Open ghost opened 5 years ago

ghost commented 5 years ago

Hey everyone!

I am completely new to AVB. Currently I am trying to allocate a fixed bandwidth for a file transmission and then measuring the time. For that I am using the live_stream example. I have two PCs directly connected both running the igb_avb driver. The mrpd daemon is also running.

This is how I start the transmission: sudo ./listener enp1s0 1024 > data sudo ./talker enp3s0 1024 < 1GB.bin

Since the example sends one packet every 125us, my expectation was that it sends 8000 Packets/s which should be 8Mb. Therefore the transmission should take about 2min 8s however it takes exactly double the expected time.

Can anyone explain why this is happening? Thanks in advance!