<div dir="ltr"><div class="gmail_quote"><div>Status update: I spoke too soon</div><div dir="ltr"><br></div><div dir="ltr">On Mon, Oct 15, 2018 at 11:59 AM Gary Buhrmaster <<a href="mailto:gary.buhrmaster@gmail.com">gary.buhrmaster@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Oct 15, 2018 at 2:42 PM Richard Shaw <<a href="mailto:hobbes1069@gmail.com" target="_blank">hobbes1069@gmail.com</a>> wrote:<br>
<br>
> Thanks, I'll take a look but subsequent runs seem to complete quickly. I think it was just the initial loading of all the data.<br></blockquote><div><br></div><div>I think there's a bug in the reporting. Mythfilldatabase does my OTA source first and it completes in a few minutes, then it does Comcast. Looking at the backend stats it says mythfilldatabase finished in about 4 minutes but I watched it and know that isn't the case, it actually finished much later. I think it's reporting based on the completion of the first source...</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The memory usage issue is well understood (that was why<br>
--no-allatonce was introduced). The better fix for the large<br>
memory usage would be a refactor of how mythfilldatabase<br>
reads in and parses the entire xmltv file before starting to<br>
process the data. At this point, no one has decided to step<br>
up and do that refactor, and as DRAM is cheap, it is not<br>
clear anyone will any time soon (given there are mitigations).<br></blockquote><div><br></div><div>Is there any downside to running --no-allatonce? </div><div><br></div><div>It wants to run mythfilldatabase at the same time from when I did it manually, 8:52 in the morning which is not a good time. I manually went into mythweb->database and adjusted the next run time (had to convert from Zulu time). That way it's not a problem because it does pretty much bring the computer to a crawl while running and it's closer to an hour...</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">(**) Certain types of DB configs can trade off performance for<br>
reliability. Choose wisely.<br></blockquote><div><br></div><div>I'm pretty much running stock MariaDB from Fedora with some tuning as recommended from mysqltuner. I can post that in another thread for feedback.</div><div><br></div><div>As I mentioned I was planning to upgrade my desktop this year so the Mythbox would get my hardware, AMD X4 and 16GB memory... But I'm not sure when that's actually going to happen so for now moving the run time to a time I don't really care or record anything may be the best "solution". </div><div><br></div><div>Thanks,</div><div>Richard</div></div></div>