Jump to content


Photo

Mutant HD51 Jumbo Frames ?


  • Please log in to reply
3 replies to this topic

#1 bleskone

  • Senior Member
  • 26 posts

0
Neutral

Posted 25 March 2017 - 17:44

hello,

Is this feature enabled in new kernel-image 4.10 ?
It was allowed in previous kernel 4.7


root@hd51:~# ifconfig eth0 mtu 9000
SIOCSIFMTU: Invalid argument

used in multiple recording to nfs share through udp protocol

thanks for support

Re: Mutant HD51 Jumbo Frames ? #2 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 29 March 2017 - 18:57

It has nothing to do with kernel support, the STB ethernet interfaces are the problem (hardware). They're so simple you wouldn't get an improvement from increasing the MTU anyway.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Mutant HD51 Jumbo Frames ? #3 bleskone

  • Senior Member
  • 26 posts

0
Neutral

Posted 29 March 2017 - 23:51

thanks for reply,

yes, it looks like hardware limitation, but in previous kernel 4.7, I could setup bigger mtu, not mentioning that it was not very stable and box freezes after some time.

when using nfs over TCP, overhead and iowait of cpu of nfs server(cca 10%) is quite high, when using nfs over udp with mtu 1500, fragmentation of packets is encoutered, and also iowait is high, running 4 concurrent recordings to nfs share

from man nfs:
Using NFS over UDP on high-speed links
Using NFS over UDP on high-speed links such as Gigabit can cause silent
data corruption.

The problem can be triggered at high loads, and is caused by problems
in IP fragment reassembly. NFS read and writes typically transmit UDP
packets of 4 Kilobytes or more, which have to be broken up into several
fragments in order to be sent over the Ethernet link, which limits
packets to 1500 bytes by default. This process happens at the IP net‐
work layer and is called fragmentation.
...

If you absolutely have to use NFS over UDP over Gigabit Ethernet, some
steps can be taken to mitigate the problem and reduce the probability
of corruption:

Jumbo frames: Many Gigabit network cards are capable of transmitting
frames bigger than the 1500 byte limit of traditional
Ethernet, typically 9000 bytes. Using jumbo frames of
9000 bytes will allow you to run NFS over UDP at a page
size of 8K without fragmentation. Of course, this is
only feasible if all involved stations support jumbo
frames.

Re: Mutant HD51 Jumbo Frames ? #4 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 1 April 2017 - 08:55

These hints are only applicable on "normal" ethernet interfaces.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users