<div dir="ltr">On Sat, Jun 6, 2015 at 5:01 AM, Udo van den Heuvel <span dir="ltr"><<a href="mailto:udovdh@xs4all.nl" target="_blank">udovdh@xs4all.nl</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2015-06-03 16:12, Udo van den Heuvel wrote:<br>
>> Did you follow the mariadb upgrade steps in the<br>
>> mariadb release notes?<br>
><br>
> Yes, I did. Twice.<br>
> But the CPU issue remained.<br>
<br>
Well, after reading <a href="https://github.com/omega8cc/boa/issues/423" target="_blank">https://github.com/omega8cc/boa/issues/423</a> I set<br>
innodb_buffer_pool_size=5M. No change.<br>
Then I tried innodb_buffer_pool_size=25M.<br>
Much better!<br>
I do not yet know the ideal size but the high load is gone.<br>
<br>
Tips for setting the correct value are welcome.<br>
<br></blockquote></div><br></div><div class="gmail_extra">I would have said something much earlier if I knew this was your problem. Before I made the changes on the wiki, mythfilldatabase was taking a very long time. After making those changes, there was a huge difference.<br></div><div class="gmail_extra"><br><a href="https://www.mythtv.org/wiki/Tune_MySQL">https://www.mythtv.org/wiki/Tune_MySQL</a><br><br></div><div class="gmail_extra">I created /etc/my.cnf.d/mythtv.cnf with the changes listed above and this seems to have fixed things. After that, I ran the <a href="http://mysqltuner.pl">mysqltuner.pl</a> script and made the suggested changes.<br><br></div><div class="gmail_extra">Good luck. I hope that helps. Kudos to whoever made that wiki page!<br><br></div><div class="gmail_extra">Jerry<br></div></div>