Open KerstinKeller opened 1 year ago
Let's first clarify what this issue is about:
Those 2 things are different. Or is this meant to be a discussion?
This is part of #1165. The current default (which seems to be configurable via ecal.ini), causes problems on MacOS. So I guess this is somewhat of a discussion, if we should limit to system maximum (however we want to find out which is the system maximum), or try and limit to MTU size, and see where this leads us performance wise.
Also we need to evaluate anyways, if eCAL differentiates betwwen application (payload) and registration samples. The problems on MacOS suggested that there is already a problem with registration samples.
Actual MTU:
Estimated MTU (hardcoded)
System maximum
I already hate solution 1 and 3 and thus vote for 2 😊
Entire Ethernet Frame size: max 1518 bytes
Here is what I think we should actually consider:
There may be other protocols involved, like IPsec or other tunnel protocols.
So we have:
eCAL Fragments UDP data to be send (be it on the data or monitoring layer) to the maximum UDP package size. However, on some systems, the default max udp package size is lower, atm it can be adjusted in ecal.ini