2014-08-09, 22:44
Hi there,
this is my first post to this support forum, even though I'm a long time user of XBMC.
I run a couple of raspberrys and 2 zotacs as xbmc machines - all of them fueled by openelec (gotherm 3.1, openelec 4.0.7)
My general setup is:
Thecus NAS, complete 1GB ethernet cabling through my house, all xbmcs connected via cat6 cables. All xbmc boxes receive fixed IP-addresses from the dhcp-server, so does the NAS system. Performance from the NAS is approx 60-90MB/sec when reading via SMB.
During the last year I set up mysql as the central video-library for some of those xbmx-instances - which worked fine for me since I have all my digital movie-content stored on a central NAS. Performance was always good - no problems at all.
Somewhere around this spring (should be April or May) the mysql-performance decreased "suddenly" - not in the mood for deep-diving into the problem back then I just switched back to "local DB" - fine for now.
I used this weekend to perform some analysis of the problem - still not able to figure it all out.
Here the advancedsettings.xml which I used for the test:
The NAS provides a MySQL-5.1.45 database. Wnating to rule out any performance issues on the DB-side I run a couple of tests using "hammerDB" - a couple of million datasets were created in a few minutes - so I am pretty sure I can rule out performance issues on the DB side.
I used the same login credentials for hammerDB and XBMC to eliminate side-effect due to access rights or similar.
Let me describe the actual problem:
1. XBMC starts slow. After the splash screen comes a balck screen for quite a while
2. Scraping is slower. Even though my internet speed is slow the scraping process is slower than before
3. Slow reaction. When I press some keys on the remote (eg context menu), it takes a couple of seconds (between 10 and 20) until it appears - same when entering the list of movies or starting a movie
4. Starting a movie is strange: After the "usual" waiting-period of 10-20 seconds first the audio starts - then another 10-20 seconds until the video starts - then all is fine (navigating through the movie)
The aforementioned timeouts feel like "freezes" - even the onscreen-debug info freezes... First I thought it would be some faulty DNS / Netbios resolution, but since I use the IP-address to identify the mysql-server it should not be a problem, right? And accessing the box from any other machine (read: non-XBMC) works fine.
Any ideas are very much appreciated.
debug-log is attached: debug.log
Pretty clueless...
Thx in advance for ideas.
cicero
this is my first post to this support forum, even though I'm a long time user of XBMC.
I run a couple of raspberrys and 2 zotacs as xbmc machines - all of them fueled by openelec (gotherm 3.1, openelec 4.0.7)
My general setup is:
Thecus NAS, complete 1GB ethernet cabling through my house, all xbmcs connected via cat6 cables. All xbmc boxes receive fixed IP-addresses from the dhcp-server, so does the NAS system. Performance from the NAS is approx 60-90MB/sec when reading via SMB.
During the last year I set up mysql as the central video-library for some of those xbmx-instances - which worked fine for me since I have all my digital movie-content stored on a central NAS. Performance was always good - no problems at all.
Somewhere around this spring (should be April or May) the mysql-performance decreased "suddenly" - not in the mood for deep-diving into the problem back then I just switched back to "local DB" - fine for now.
I used this weekend to perform some analysis of the problem - still not able to figure it all out.
Here the advancedsettings.xml which I used for the test:
Code:
<advancedsettings>
<loglevel hide="false">1</loglevel>
<videodatabase>
<type>mysql</type>
<host>192.168.0.160</host>
<port>3306</port>
<user>testuser</user>
<pass>test123</pass>
</videodatabase>
</advancedsettings>
The NAS provides a MySQL-5.1.45 database. Wnating to rule out any performance issues on the DB-side I run a couple of tests using "hammerDB" - a couple of million datasets were created in a few minutes - so I am pretty sure I can rule out performance issues on the DB side.
I used the same login credentials for hammerDB and XBMC to eliminate side-effect due to access rights or similar.
Let me describe the actual problem:
1. XBMC starts slow. After the splash screen comes a balck screen for quite a while
2. Scraping is slower. Even though my internet speed is slow the scraping process is slower than before
3. Slow reaction. When I press some keys on the remote (eg context menu), it takes a couple of seconds (between 10 and 20) until it appears - same when entering the list of movies or starting a movie
4. Starting a movie is strange: After the "usual" waiting-period of 10-20 seconds first the audio starts - then another 10-20 seconds until the video starts - then all is fine (navigating through the movie)
The aforementioned timeouts feel like "freezes" - even the onscreen-debug info freezes... First I thought it would be some faulty DNS / Netbios resolution, but since I use the IP-address to identify the mysql-server it should not be a problem, right? And accessing the box from any other machine (read: non-XBMC) works fine.
Any ideas are very much appreciated.
debug-log is attached: debug.log
Pretty clueless...
Thx in advance for ideas.
cicero