[mythtv-users] Preventing a file transfer from saturating the network

Gary Buhrmaster gary.buhrmaster at gmail.com
Tue Dec 23 17:09:58 UTC 2014


On Tue, Dec 23, 2014 at 4:55 PM, Simon Hobson <linux at thehobsons.co.uk> wrote:
.....
> A fourth option (which requires a capable switch) is to configure 2off gigabit NICs as a trunk to give a 2Gib/s link to/from the switch, which means you'd need two transfers to/from two separate devices to be able to saturate it - a single device on a gigabit link will only be able to use 1/2 the 2G link. The first option is simpler though.

This is not assured to work.  In order to assure in-order packet delivery,
proper switches will hash various values in the packet and deliver packets
from one stream across only one link.  If you get "lucky" (luck has nothing
to do with it, but for those not steeped in the details, it feels like magic)
the two streams may use different links.  If not, you have exactly the
same issue (all traffic on one link).  With enough traffic, from enough
different sources, it seems balanced, but with traffic from only a few
sources, not so much.

But the real issue here is that at this point you have a symptom,
without understanding the root cause.  There can be many causes
of losing packets, from CPU limitations, to TCP/UDP packet buffer
sizes, to ethernet device "issues", to disk limitations, to switch
(lack of) buffer, head-of-line blocking, etc.  Until one actually does
the diagnosis to understand what is going on, you may mitigate
against an issue you are not having.  I have no doubt that some
of the proposed alternatives have solved specific issues for some
of the posters, but that may not be the issue the OP is having.


More information about the mythtv-users mailing list