2013-10-23, 17:53
I have had an XBMC setup for many years now, going through many many iterations ... actually starting back on the XBox!
My current setup is a MySQL based library, media stored on an NFS share, with several Frodo clients: RPi, OpenElec, headless server on Linux, and now trying to get a Windows 7 client going.
For some reason, I am just getting utterly terrible performance on the Windows 7 machine, even though by far it is my most powerful computer on the whole LAN. Everything takes 30 to 60 seconds to do, like just navigating between sections, pressing 'i' on the keyboard to open the Info section of a movie, refreshing a thumbnail, starting up, shutting down, etc.
I've pasted a full log file of me launching XBMC, navigating to the Movies section, hi-lighting one movie, then shutting XBMC down. This super simple set of actions actually took 2 full minutes to do. The whole log file is here:
http://pastebin.com/kPQ5fkcZ
Here's a brief snippet showing specific actions I took and you can see how long it takes between results:
I'm just at a total loss as to why this is running so poorly, so I'm hoping someone more familiar reading the debug logs might shed some light.
The NFS share is wide open for public, so no usernames/passwords or anything. For what it's worth, it's running on a Solaris based (OmniOS) server with a ZFS file system. The MySQL database is running on Ubuntu 11.10.
The OpenElec clients do not have this weird slowness, even though they are much less powerful computers.
Thanks in advance for any assistance!
My current setup is a MySQL based library, media stored on an NFS share, with several Frodo clients: RPi, OpenElec, headless server on Linux, and now trying to get a Windows 7 client going.
For some reason, I am just getting utterly terrible performance on the Windows 7 machine, even though by far it is my most powerful computer on the whole LAN. Everything takes 30 to 60 seconds to do, like just navigating between sections, pressing 'i' on the keyboard to open the Info section of a movie, refreshing a thumbnail, starting up, shutting down, etc.
I've pasted a full log file of me launching XBMC, navigating to the Movies section, hi-lighting one movie, then shutting XBMC down. This super simple set of actions actually took 2 full minutes to do. The whole log file is here:
http://pastebin.com/kPQ5fkcZ
Here's a brief snippet showing specific actions I took and you can see how long it takes between results:
PHP Code:
# Initial launch of program
11:23:22 T:4740 NOTICE: Starting XBMC (12.2 Git:20130502-32b1a5e)
Platform: Windows 7 SP1 64-bit, build 7601. Built on May 2 2013 (compiler 1600)
# XBMC finally loaded, I press Enter to go into Movies section
11:23:44 T:4740 DEBUG: Keyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
11:23:44 T:4740 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
11:23:44 T:4740 DEBUG: CApplication::ExecuteXBMCAction : Translating ActivateWindow(Videos,movietitles,return)
11:23:44 T:4740 DEBUG: CApplication::ExecuteXBMCAction : To ActivateWindow(Videos,movietitles,return)
# After 40 seconds, looks like a query runs against MySQL to get the movie list
11:24:24 T:4740 DEBUG: CVideoDatabase::RunQuery took 346 ms for 479 items query: select * from movieview
11:24:24 T:4740 DEBUG: Saving fileitems [videodb://1/2/]
11:24:24 T:4740 DEBUG: -- items: 479, sort method: 0, ascending: false
# A total of 60 full seconds after going into Movies section, I am able to press down arrow
# going to the first movie (21 Jump Street)
11:24:43 T:4740 DEBUG: Keyboard: scancode: 50, sym: 0112, unicode: 0000, modifier: 0
11:24:43 T:4740 DEBUG: CApplication::OnKey: down (f081) pressed, action is Down
11:24:44 T:584 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/libnfs.dll)
11:24:44 T:584 DEBUG: NFS: Context for 192.168.1.3/data-pool/shared not open - get a new context.
11:24:44 T:584 DEBUG: NFS: Connected to server 192.168.1.3 and export /data-pool/shared
11:24:44 T:584 DEBUG: NFS: chunks: r/w 1048576/32768
11:24:44 T:584 ERROR: NFS: Failed to stat(data-pool/shared/Movies/21 Jump Street (2012)/logo.png)
stat call failed with "NFS: Lookup of //Movies failed with NFS3ERR_NOENT(-2)"
11:24:44 T:584 DEBUG: CTextureCacheJob::GetImageHash -
unable to stat url nfs://192.168.1.3/data-pool/shared/Movies/21 Jump Street (2012)/logo.png
# I then press backspace to go back to main menu
11:24:44 T:4740 DEBUG: Keyboard: scancode: 0e, sym: 0008, unicode: 0008, modifier: 0
11:24:44 T:4740 DEBUG: CApplication::OnKey: backspace (f008) pressed, action is Back
# A few seconds later, I exit the application
11:24:49 T:4740 DEBUG: CApplication::ExecuteXBMCAction : Translating Quit
11:24:49 T:4740 DEBUG: CApplication::ExecuteXBMCAction : To Quit
11:24:49 T:4740 DEBUG: CAnnouncementManager - Announcement: OnQuit from xbmc
# It takes 44 seconds from the time I click exit to the time it actually closes ....
11:25:33 T:4740 DEBUG: SECTION:UnloadAll(DLL: special://xbmcbin/system/libcec.dll)
11:25:33 T:4740 DEBUG: SECTION:UnloadAll(DLL: special://xbmcbin/system/libnfs.dll)
I'm just at a total loss as to why this is running so poorly, so I'm hoping someone more familiar reading the debug logs might shed some light.
The NFS share is wide open for public, so no usernames/passwords or anything. For what it's worth, it's running on a Solaris based (OmniOS) server with a ZFS file system. The MySQL database is running on Ubuntu 11.10.
The OpenElec clients do not have this weird slowness, even though they are much less powerful computers.
Thanks in advance for any assistance!