|
SageTV Media Extender Discussion related to any SageTV Media Extender used directly by SageTV. Questions, issues, problems, suggestions, etc. relating to a SageTV supported media extender should be posted here. Use the SageTV HD Theater - Media Player forum for issues related to using an HD Theater while not connected to a SageTV server. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Jumbo frames, QoS and other networky things
hi there everyone.......still here and enjoying my sagetv.........just upgraded my media drive from 500GB to 2TB but everything is pretty stable.
while upgrading my drives, i've gotten rid of my one NAS that didn't have a gigabit interface and verified that all my routers & switches & NAS support gigabit LAN and jumbo frames. i know the hd300 and hd200 don't support gigabit interface. what i'd like to know is if i can set the rest of my network to support jumbo frames and would this hurt my video streaming (or music for that matter, since I stream to logitech touch for my music system). i'd like to get highest possible throughput copying files from my pc to/from my NAS and also between NAS (for backups). jumbo frames should help, but i won't do it if it messes up my sage system. is there a way to set jumbo frames for communications between element A and element B and separately set things for normal sized frames between element A and element S? any other suggestions on network settings for optimizing performance of latency sensitive streaming (e.g. music and video) and protecting it from large file transfers and torrents? while i'm replacing all these old 100-250GB drives with 2TB drives (see signature), i might as well improve my networking skills. thanks
__________________
Q: dad, when will you stop changing all the electronics? A: never, so you might as well get used to it. Last edited by cat6man; 10-01-2012 at 07:11 PM. |
#2
|
||||
|
||||
Quote:
Mixed jumbo ethernet environment are not a good idea as it all depends how good is your switch on handling this, also there isn't an official jumbo frame packet size, it could vary between appliances. If your switches are managed you can do other cool things with VLAN tagging as well... Eddy
__________________
Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard |
#3
|
|||
|
|||
As long as you are speaking TCP, and have the switches' MTU set as large or larger than the MTU on your computers & NAS, you should be OK. This is because TCP negotiates the max seg size (MSS) when a connection is established. So if you have computers A & B, and A has an MTU of 9216 and B has an MTU of 9000, they will negotiate an MTU of 9000.
There are 3 problems that you can get into with jumbo frames 1) Not using TCP -- this bypasses the negotiation above. This happens more than you think (nameservers use UDP, for example). 2) Having a switch with a *SMALLER* MTU than 2 computers trying to talk across it. Assume you have a switch with a 4000 byte MTU in the example above. A & B will not notice that, and will try to to talk at 9000 bytes. What will happen is that every time the connection ramps above 4000b packets, they will be dropped, and re-sent. So you'll see bandwidth in the 100Kb/s range, and connections stalling. 3) Encountering a bug in some vendor's jumbo frame support. It is a very uncommonly used feature, and does not get a lot of Q/A. With optimizations like TSO (transmit side) and LRO/GRO (rx side), jumbo frames are becoming largely unnecessary even on 10GbE. A single 10Gb/s benchmark on today's hardware uses very little CPU; I've setup demos with 8 ports of 10GbE, all running at full speed, which leave more than 50% idle time. So...I'd suggest avoiding the hassle & just sticking to 1500. Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64 Tuner HW: HDHR Client: Nvidia Shield (HD300, HD100 in storage) |
#4
|
|||
|
|||
Quote:
Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64 Tuner HW: HDHR Client: Nvidia Shield (HD300, HD100 in storage) |
#5
|
||||
|
||||
Quote:
Also, if your server runs Windows Server 2008 (Drew correct me if I'm wrong) and Windows 7 onwards you have the benefit of the variable TCP receive window size which helps in large file transfer. Eddy
__________________
Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard |
#6
|
|||
|
|||
Quote:
Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64 Tuner HW: HDHR Client: Nvidia Shield (HD300, HD100 in storage) |
#7
|
||||
|
||||
Quote:
RWIN (Receive Window) The TCP Receive Window can be thought of as the main data gate keeper to your computer. It sets the limits on the amount of data that can be received before it must send an acknowledgement and broadcasts that to the sender. If the number is too low you will tie up bandwidth with frequent and unnecessary acknowledgements. Too high of an RWIN will create a slowdown if any packets need to be retransmitted. Now, this depends on the network latency and up to XP it was fixed, but from Vista and WS2800 this has been made dynamic and apparently it helps to improve data transfer a lot in particular on Gigabit network...I know that Linux has a similar concept, but is called differently... Eddy
__________________
Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard |
#8
|
|||
|
|||
Quote:
Typically in linux, it is enough for 10Gb/s without touching anything BSD/OSX call this stuff net.inet.tcp.recvspace and kern.ipc.maxsockbuf. FreeBSD will auto-tune it based on net.inet.tcp.recvbuf_auto and net.inet.tcp.recvbuf_inc/net.inet.tcp.recvbuf_max Now that you mention it, I remember having to tune Win7 Rwin settings to get decent performance from my Win7 VM when I was playing with 7MC. Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64 Tuner HW: HDHR Client: Nvidia Shield (HD300, HD100 in storage) |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dropping Frames | FeistyMonkey | SageTV HD Theater - Media Player | 3 | 09-18-2009 10:40 AM |
Dropping frames with Win 7 and HD? | shewhorn | SageTV Software | 4 | 06-25-2009 08:38 AM |
6.5.3 good things and bad things... | thenuma | SageTV Beta Test Software | 1 | 12-05-2008 10:46 PM |
does the hd100 support jumbo frames? | killervette | SageTV Media Extender | 3 | 10-14-2008 07:36 AM |
Placeshifter: use b-frames? | sainswor99 | SageTV Beta Test Software | 7 | 04-25-2007 09:52 PM |