[mythtv-users] Fedora 24 to 28 upgrade insights?
James Linder
jam at tigger.ws
Sat Sep 1 02:35:27 UTC 2018
> On 31 Aug 2018, at 8:00 pm, mythtv-users-request at mythtv.org wrote:
>
>>> With fall on its way I am pondering an OS upgrade on the MythTV BE/FE
>>>
>>> Things work OK, in that I'm used to their foibles, but 3 years is a long
>>> time to get behind the Fedora and MythTV curves. I could also pop in a
>>> new 2T drive to be able to rsync all my recordings as the original drives
>>> age.
>>>
>>> Any insights?
>>
>> I am a longtime Mythtv user on Fedora.
>> When I upgrade I always do a bare metal install. This allows for any
>> hardware changes to be differentiated from the mythtv instance.
>
> Thanks for the ideas. I don't have the hardware on hand, nor do I think I need
> it yet, at least for this upgrade. But for the next one a SSD will definitely
> be in order. I've done a myth DB backup and rsync-ed my TV box since day 2,
> though not the recordings. The box is another node in my rsync network too.
>
> I've done the /usr /home /var on different drives thing before, when the box
> had enough room for that many drives. :)
I ran spinning iron after SSD and with 2 tuners (4 virtual), on the server that does little else, I seldom notice any difference on my frontends.
Boy was there heartache when the flash worout! Here mysql is the bad guy. (I could not login, disk full etc)
If you do use SSD then 30min fiddling to optimise flash life is good (lots of ram, tune swappines, use trim, over provision (leave 10% of your disk unprovisioned)). Fix mysql journal. Beware the write life of modern SSD is significantly LESS than old flash.
Note the Total Write Life spec. IIRC 80T on a samsung evo 512G 860 SSD.
I’m using 29 and it slowly fills swap
[sandypit] /home/jam [579]% vmstat 1
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 283372 644256 64092 2554364 0 0 24 24 24 25 0 0 99 0 0
0 0 283372 644256 64092 2554364 0 0 0 0 129 248 0 0 100 0 0
0 0 283372 644124 64092 2554472 0 0 0 0 115 234 0 0 100 0 0
0 0 283372 644124 64092 2554472 0 0 0 0 112 220 0 0 100 0 0
0 0 283372 644124 64092 2554468 0 0 0 0 149 286 0 0 100 0 0
[sandypit] /home/jam [581]% top
top - 10:28:24 up 4 days, 21:39, 2 users, load average: 0.05, 0.01, 0.00
Tasks: 218 total, 1 running, 216 sleeping, 0 stopped, 1 zombie
%Cpu(s): 0.2 us, 0.1 sy, 0.0 ni, 99.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 3972760 total, 3328668 used, 644092 free, 64140 buffers
KiB Swap: 4193276 total, 283372 used, 3909904 free. 2555020 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1306 jam 20 0 4847584 210964 13936 S 0.332 5.310 90:32.05 mythbackend
1 root 20 0 120136 4116 2120 S 0.000 0.104 0:35.61 systemd
2 root 20 0 0 0 0 S 0.000 0.000 0:00.09 kthreadd
3 root 20 0 0 0 0 S 0.000 0.000 0:00.65 ksoftirqd/0
5 root 0 -20 0 0 0 S 0.000 0.000 0:00.00 kworker/0:0H
To test this I booted a few days ago and swpd was 0
James
More information about the mythtv-users
mailing list