<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 12, 2023, 9:57 p.m. Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 12 Oct 2023 13:42:43 -0400, you wrote:<br>
<br>
>Thinking of my next backend build. Any considerations to take into account<br>
>if I run both MythTV and Jellyfin on the same box so as not to negatively<br>
>affect recordings.<br>
><br>
>MythTV: occasionally up to 4 recordings at once off of a network tuner<br>
>(hdhomerun).<br>
><br>
>Jellyfin: mostly direct lan connection to client. Maybe the odd wireless<br>
>client in house that would need harware transcoding. Jellyfin content would<br>
>not be on the MythTV recording drives.<br>
><br>
>Any thoughts on minimum memory, etc?<br>
><br>
>Thanks.<br>
<br>
For 11 years I ran MythTV with 8 Gibytes of RAM, and found that while<br>
it did push large chunks of code to swap, it was mostly unused code<br>
and everything was fine. The RAM needs of the base Ubuntu system<br>
increased significantly over the years. I have seven recording drives<br>
and at times am recording up to 14 channels at once. Remember that<br>
there will be up to twice as many recordings running when there are<br>
overlaps due to the pre- and post-roll times.<br>
<br>
However, I do not do any commercial flagging, which requires lots of<br>
CPU and a bit more RAM. Jellyfin transcoding would affect commercial<br>
skip processing, but is unlikely to affect recording (which is very<br>
low CPU usage). And commercial skip processing does not need to be<br>
real-time, so a bit of delay in completing it is not a problem.<br>
<br>
For my new MythTV box in April, I chose to get 32 Gibytes of RAM, as<br>
RAM is cheap (I was getting DDR4, not DDR5). Now even DDR5 seems to<br>
be fairly cheap, so if you want the new system to last a long time,<br>
why not get lots?<br>
<br>
If you are using your network tuners on the same Ethernet connection<br>
that you will be using for normal network traffic, then there is a<br>
probability of getting contention at times, which can affect<br>
recordings. I think the MythTV may now be using TCP for recording<br>
connections to hdhomeruns, which would help a lot with that problem.<br>
Unless you have lots of 4k connections to Jellyfin at the same time,<br>
you are unlikely to saturate a 1 Gbit/s Ethernet connection, but every<br>
time you copy a large video file on that connection, the speeds of<br>
hard drives and especially NVME drives now means that the 1 Gbit/s<br>
will be completely filled by the copy operation, so unless your<br>
Ethernet adapters/drivers at both ends (and your switch?) support DSCP<br>
priorities for the traffic, the recordings from the tuners may be<br>
swamped by that traffic. Last time I looked, the hdhomerun tuner<br>
documentation did say they set a high priority DSPC flag on their<br>
traffic. So if you ever want to copy large files, you really want to<br>
put your network tuners on a separate Ethernet port, if possible.<br>
<br>
One thing to watch out for is CD/DVD/Bluray drives - if you want one<br>
still in your new build, and are getting a new case, there are only a<br>
few cases now that have 5.25" slots. So you may need to get an<br>
external USB one, or search out a case that still has an optical drive<br>
slot. I went with a SilverStone Grandia GD08B, as my 16 year old HTPC<br>
case was dying (LEDs and buttons not working).<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank" rel="noreferrer">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer noreferrer" target="_blank">https://forum.mythtv.org</a></blockquote></div></div><div dir="auto"><br></div><div dir="auto">A great answer from you as always. Many thanks. </div><div dir="auto"><br></div><div dir="auto">A networking question: OK, so say the motherboard has two ports. I have two hdhomeruns. Do I plug the hdhomeruns into a small switch and plug that directly into one of the two ports on the backend? (port #2) </div><div dir="auto"><br></div><div dir="auto">Or using, say, a pfsense router (I want to learn and expand my network) and a managed switch, does it do anything to plug the hdhomeruns into the main switch (with other devices in the home) and use pfsense/switch and vlans to send it to port #2 on the backend? </div><div dir="auto"><br></div><div dir="auto">I'm a networking newbie - just have a consumer router right now - so I'm just tossing words I've heard out. Feel free to correct me. :-p</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
</blockquote></div></div></div>