2012-10-30, 17:51
Hi! I use XBMC 11 on a Atom/ION system with a Ubuntu server as backend. Recently i have had some problems with my HTPC who seem to have a hard time getting things to run smoothly from the server.
The server:
The server hosts all the video and music together with MySQL for the database and a path substitute for Thumbnails. All setup in the advancedconfig.xml, all working fine until some days ago.
Performance:
iperf gives a bandwidth of 900 mbit/s+ in any direction.
no package loss in any direction.
Problem:
Look at the code block below. It takes 26 seconds for something to do something with somthing. I can't really analyze that
"15:13:46 T:140547618600704 NOTICE: Creating InputStream" seems to be where it starts to go wrong.
I don't think it has to do with samba as it also seems to affect requests to MySQL, slowing down listings of my TV Shows for example.
Also this is not a problem all the time, sometimes, but not often it runs smooth, and also never affects video playback when the video has started.
Tell me if i need to paste some other logs!
Thank you.
The server:
The server hosts all the video and music together with MySQL for the database and a path substitute for Thumbnails. All setup in the advancedconfig.xml, all working fine until some days ago.
Performance:
iperf gives a bandwidth of 900 mbit/s+ in any direction.
no package loss in any direction.
Problem:
Look at the code block below. It takes 26 seconds for something to do something with somthing. I can't really analyze that
"15:13:46 T:140547618600704 NOTICE: Creating InputStream" seems to be where it starts to go wrong.
I don't think it has to do with samba as it also seems to affect requests to MySQL, slowing down listings of my TV Shows for example.
Also this is not a problem all the time, sometimes, but not often it runs smooth, and also never affects video playback when the video has started.
Code:
15:13:46 T:140547937400640 DEBUG: LIRC: Update - NEW at 2224477:160 0 KEY_OK devinput (KEY_OK)
15:13:46 T:140547937400640 DEBUG: OnKey: 11 (0b) pressed, action is Select
15:13:46 T:140547937400640 DEBUG: ExecuteXBMCAction : Translating PlayMedia($ESCINFO[Window.Property(LatestMovie.2.Path)])
15:13:46 T:140547937400640 DEBUG: ExecuteXBMCAction : To PlayMedia("smb://server/2tbraid1/Video/Movies/Hatfields.and.McCoys.2012.1080p.BluRay.x264.DTS-HDChina/Hatfields.and.McCoys.2012.E03.1080p.BluRay.x264.DTS-HDChina.mkv")
15:13:46 T:140547937400640 DEBUG: CPlayerCoreFactory::GetPlayers(smb://server/2tbraid1/Video/Movies/Hatfields.and.McCoys.2012.1080p.BluRay.x264.DTS-HDChina/Hatfields.and.McCoys.2012.E03.1080p.BluRay.x264.DTS-HDChina.mkv)
15:13:46 T:140547937400640 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
15:13:46 T:140547937400640 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
15:13:46 T:140547937400640 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
15:13:46 T:140547937400640 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
15:13:46 T:140547937400640 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
15:13:46 T:140547937400640 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
15:13:46 T:140547937400640 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
15:13:46 T:140547937400640 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
15:13:46 T:140547937400640 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
15:13:46 T:140547937400640 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
15:13:46 T:140547937400640 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
15:13:46 T:140547937400640 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
15:13:46 T:140547937400640 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
15:13:46 T:140547937400640 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
15:13:46 T:140547937400640 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
15:13:46 T:140547937400640 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
15:13:46 T:140547937400640 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
15:13:46 T:140547937400640 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
15:13:46 T:140547937400640 DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
15:13:46 T:140547937400640 DEBUG: CGUIAudioManager::DeInitialize
15:13:46 T:140547937400640 NOTICE: DVDPlayer: Opening: smb://server/2tbraid1/Video/Movies/Hatfields.and.McCoys.2012.1080p.BluRay.x264.DTS-HDChina/Hatfields.and.McCoys.2012.E03.1080p.BluRay.x264.DTS-HDChina.mkv
15:13:46 T:140547937400640 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
15:13:46 T:140547937400640 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
15:13:46 T:140547937400640 NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
15:13:46 T:140547937400640 DEBUG: LinuxRendererGL: Cleaning up GL resources
15:13:46 T:140547937400640 DEBUG: DllSwScale: Using libswscale system library
15:13:46 T:140547618600704 NOTICE: Thread CDVDPlayer start, auto delete: false
15:13:46 T:140547618600704 NOTICE: Creating InputStream
15:13:46 T:140547937400640 DEBUG: ------ Window Init (DialogBusy.xml) ------
15:13:46 T:140547937400640 DEBUG: LIRC: Update - NEW at 2224961:160 0 KEY_OK_UP devinput (KEY_OK_UP)
15:14:12 T:140547586955008 DEBUG: Thread Jobworker 140547586955008 terminating (autodelete)
15:14:12 T:140547601815296 DEBUG: Thread Jobworker 140547601815296 terminating (autodelete)
15:14:16 T:140547618600704 DEBUG: CFileSMB::Open - opened 2tbraid1/Video/Movies/Hatfields.and.McCoys.2012.1080p.BluRay.x264.DTS-HDChina/Hatfields.and.McCoys.2012.E03.1080p.BluRay.x264.DTS-HDChina.mkv, fd=10000
Tell me if i need to paste some other logs!
Thank you.