No multithreaded Video decoding on XBMC INTREPID version (in-depth testing)
#58
motd2k Wrote:Edit2: Found a workaround. Line 152 in xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp reads like this...
PHP Code:
int num_threads std::min(/*MAX_THREADS*/g_cpuInfo.getCPUCount()); 
Change it to this...
PHP Code:
int num_threads std::min(/*MAX_THREADS*/g_cpuInfo.getCPUCount()+2); 
and you should find it using much more CPU, also I found a fairly significant reduction in dropped frames.

I tried this and it actually helps a lot. Now i only have some few framedrops in the killa sample. The Dark Knight BD rip is actually playing without a problem. Big Grin

I noticed a strange thing: Playing back the killa i checked in TOP pressing 1 then H to show threads that the two significant threads of xbmc.bin share almost evenly on CPU time BUT on top where i can see the utilizations, i still see uneven numbers. Like the cores were taking different amount of the two threads. One core is taking all of one thread and also some of the other thread and the other core just takes a few of one thread. It is really strange.

This compile option change might tell something to the Devs what we can play in config options to get better core share to reach the performance of the old kernels.

Screenshot of TOP with the strange situation (Threads 49%-45% ; CPUs 99% 13%)
[Image: 52267395iq8.th.png]

I think the kernel tries to use as few cores as possible leaving the rest of the cores idle to make them downclockable. It is perfectly reasonable if we generally using the kernel for normal tasks. This way we have a 4 core or and 8 core processor used just as much core as it is nneded to fulfill a certain task. But with video decoding i think it's not good. We want to use the cores evenly loaded, better have the two main threads stayed exclusively on one a specific core.

Maybe there is a kernel option for this, how the user want to optimalize his cpu core usage. I think this could be the difference of Hardy and Intrepid kernel that Hardy did not have this so called "energy optimalized" cpu usage. (I already tried to disable powernowd and also speedstep in BIOS with no change)
Reply
 
Thread Rating:
  • 1 Vote(s) - 5 Average


Messages In This Thread
[No subject] - by mr_raider - 2009-01-03, 23:30
[No subject] - by alanwww1 - 2009-01-04, 00:19
[No subject] - by Hirs - 2009-01-04, 00:20
[No subject] - by alanwww1 - 2009-01-04, 00:33
[No subject] - by Clumsy - 2009-01-04, 01:25
[No subject] - by succo - 2009-01-04, 04:05
[No subject] - by Jezz_X - 2009-01-04, 06:30
[No subject] - by theuni - 2009-01-04, 06:55
[No subject] - by alanwww1 - 2009-01-04, 12:30
[No subject] - by Hirs - 2009-01-04, 13:50
[No subject] - by succo - 2009-01-04, 14:14
[No subject] - by theuni - 2009-01-04, 18:24
[No subject] - by althekiller - 2009-01-04, 19:53
[No subject] - by mr_raider - 2009-01-04, 20:11
[No subject] - by BLKMGK - 2009-01-04, 20:17
[No subject] - by althekiller - 2009-01-04, 20:30
[No subject] - by alanwww1 - 2009-01-04, 20:59
[No subject] - by alanwww1 - 2009-01-04, 23:07
[No subject] - by mr_raider - 2009-01-04, 23:11
[No subject] - by alanwww1 - 2009-01-04, 23:21
[No subject] - by althekiller - 2009-01-05, 01:23
[No subject] - by alanwww1 - 2009-01-05, 01:29
[No subject] - by mr_raider - 2009-01-05, 01:40
[No subject] - by althekiller - 2009-01-05, 02:30
[No subject] - by theuni - 2009-01-05, 05:53
[No subject] - by BLKMGK - 2009-01-05, 06:21
[No subject] - by alanwww1 - 2009-01-05, 09:26
[No subject] - by motd2k - 2009-01-05, 15:42
[No subject] - by mr_raider - 2009-01-05, 16:04
[No subject] - by motd2k - 2009-01-05, 16:41
[No subject] - by alanwww1 - 2009-01-05, 18:08
[No subject] - by motd2k - 2009-01-05, 22:22
[No subject] - by alanwww1 - 2009-01-05, 22:54
[No subject] - by alanwww1 - 2009-01-05, 23:00
[No subject] - by alanwww1 - 2009-01-06, 02:24
[No subject] - by tslayer - 2009-01-06, 02:39
[No subject] - by mr_raider - 2009-01-06, 03:28
[No subject] - by tslayer - 2009-01-06, 03:32
[No subject] - by mr_raider - 2009-01-06, 04:38
[No subject] - by alanwww1 - 2009-01-06, 10:09
[No subject] - by olympia - 2009-01-06, 11:23
[No subject] - by alanwww1 - 2009-01-06, 13:37
[No subject] - by althekiller - 2009-01-06, 19:53
[No subject] - by mr_raider - 2009-01-06, 20:46
[No subject] - by alanwww1 - 2009-01-06, 22:48
[No subject] - by althekiller - 2009-01-06, 22:52
[No subject] - by alanwww1 - 2009-01-06, 23:11
[No subject] - by tslayer - 2009-01-06, 23:14
[No subject] - by alanwww1 - 2009-01-06, 23:22
[No subject] - by althekiller - 2009-01-06, 23:26
[No subject] - by alanwww1 - 2009-01-06, 23:34
[No subject] - by althekiller - 2009-01-06, 23:39
[No subject] - by alanwww1 - 2009-01-06, 23:46
[No subject] - by BLKMGK - 2009-01-06, 23:52
[No subject] - by alanwww1 - 2009-01-06, 23:57
[No subject] - by motd2k - 2009-01-07, 00:17
[No subject] - by alanwww1 - 2009-01-07, 01:09
[No subject] - by mr_raider - 2009-01-07, 02:11
[No subject] - by althekiller - 2009-01-07, 02:32
[No subject] - by BLKMGK - 2009-01-07, 03:08
[No subject] - by althekiller - 2009-01-07, 03:32
[No subject] - by BLKMGK - 2009-01-07, 03:42
[No subject] - by motd2k - 2009-01-07, 03:55
[No subject] - by adix - 2009-01-07, 04:02
[No subject] - by mr_raider - 2009-01-07, 04:37
[No subject] - by alanwww1 - 2009-01-07, 09:48
[No subject] - by alanwww1 - 2009-01-07, 11:29
[No subject] - by BLKMGK - 2009-01-08, 04:23
[No subject] - by althekiller - 2009-01-08, 05:22
[No subject] - by BLKMGK - 2009-01-08, 07:06
[No subject] - by sandos - 2009-01-08, 09:51
[No subject] - by alanwww1 - 2009-01-08, 10:06
[No subject] - by pilluli - 2009-01-08, 11:04
[No subject] - by adix - 2009-01-08, 11:36
[No subject] - by alanwww1 - 2009-01-08, 12:38
[No subject] - by aron - 2009-01-08, 15:58
[No subject] - by alanwww1 - 2009-01-08, 16:19
[No subject] - by slash - 2009-01-08, 16:42
[No subject] - by alanwww1 - 2009-01-08, 17:11
[No subject] - by aron - 2009-01-08, 17:25
[No subject] - by alanwww1 - 2009-01-08, 17:42
[No subject] - by mr_raider - 2009-01-08, 19:17
[No subject] - by aron - 2009-01-08, 19:43
[No subject] - by motd2k - 2009-01-08, 19:59
[No subject] - by pilluli - 2009-01-08, 20:00
[No subject] - by aron - 2009-01-08, 20:16
[No subject] - by BLKMGK - 2009-01-08, 20:19
[No subject] - by althekiller - 2009-01-08, 20:34
[No subject] - by BLKMGK - 2009-01-08, 20:47
[No subject] - by olympia - 2009-01-08, 20:47
[No subject] - by aron - 2009-01-08, 20:51
[No subject] - by adix - 2009-01-08, 22:45
[No subject] - by BLKMGK - 2009-01-08, 23:24
[No subject] - by olympia - 2009-01-08, 23:51
[No subject] - by althekiller - 2009-01-09, 00:58
[No subject] - by alanwww1 - 2009-01-09, 01:44
[No subject] - by aron - 2009-01-09, 01:55
[No subject] - by alanwww1 - 2009-01-09, 02:32
[No subject] - by aron - 2009-01-09, 03:15
[No subject] - by althekiller - 2009-01-09, 03:20
[No subject] - by mr_raider - 2009-01-09, 05:29
[No subject] - by yrumax - 2009-01-09, 06:04
[No subject] - by althekiller - 2009-01-09, 06:36
[No subject] - by BLKMGK - 2009-01-09, 07:17
[No subject] - by althekiller - 2009-01-09, 08:36
[No subject] - by olympia - 2009-01-09, 08:37
[No subject] - by alanwww1 - 2009-01-09, 10:12
[No subject] - by pilluli - 2009-01-09, 10:27
[No subject] - by motd2k - 2009-01-09, 11:26
[No subject] - by motd2k - 2009-01-09, 12:05
[No subject] - by alanwww1 - 2009-01-09, 12:50
[No subject] - by olympia - 2009-01-09, 12:59
[No subject] - by motd2k - 2009-01-09, 13:17
[No subject] - by topfs2 - 2009-01-09, 13:24
Starting testing - by BLKMGK - 2009-01-09, 23:24
[No subject] - by olympia - 2009-01-10, 00:03
[No subject] - by cejstrup - 2009-01-10, 01:14
[No subject] - by alanwww1 - 2009-01-10, 02:33
[No subject] - by aron - 2009-01-10, 02:41
[No subject] - by alanwww1 - 2009-01-10, 02:50
[No subject] - by althekiller - 2009-01-10, 03:13
[No subject] - by aron - 2009-01-10, 03:44
[No subject] - by althekiller - 2009-01-10, 06:22
[No subject] - by dteirney - 2009-01-10, 06:29
[No subject] - by althekiller - 2009-01-10, 06:59
[No subject] - by BLKMGK - 2009-01-10, 07:30
[No subject] - by motd2k - 2009-01-10, 07:40
[No subject] - by olympia - 2009-01-10, 10:55
[No subject] - by nipnup - 2009-01-10, 12:19
[No subject] - by alanwww1 - 2009-01-10, 13:05
[No subject] - by alanwww1 - 2009-01-10, 13:34
[No subject] - by nipnup - 2009-01-10, 14:36
[No subject] - by aron - 2009-01-10, 14:52
[No subject] - by althekiller - 2009-01-10, 19:10
[No subject] - by nipnup - 2009-01-10, 21:02
[No subject] - by althekiller - 2009-01-10, 21:56
[No subject] - by aron - 2009-01-10, 23:01
[No subject] - by althekiller - 2009-01-11, 00:40
[No subject] - by alanwww1 - 2009-01-11, 00:47
[No subject] - by althekiller - 2009-01-11, 00:58
[No subject] - by alanwww1 - 2009-01-11, 02:50
[No subject] - by althekiller - 2009-01-11, 02:55
[No subject] - by alanwww1 - 2009-01-11, 03:15
[No subject] - by althekiller - 2009-01-11, 03:37
[No subject] - by alanwww1 - 2009-01-11, 04:01
[No subject] - by althekiller - 2009-01-11, 04:37
[No subject] - by alanwww1 - 2009-01-11, 11:27
[No subject] - by alanwww1 - 2009-01-11, 15:53
[No subject] - by althekiller - 2009-01-11, 18:09
[No subject] - by alanwww1 - 2009-01-11, 18:52
[No subject] - by dizzey - 2009-01-11, 19:31
[No subject] - by alanwww1 - 2009-01-11, 19:36
[No subject] - by alanwww1 - 2009-01-11, 21:04
[No subject] - by aron - 2009-01-12, 12:16
[No subject] - by alanwww1 - 2009-01-12, 14:36
[No subject] - by aron - 2009-01-12, 14:41
[No subject] - by alanwww1 - 2009-01-12, 15:05
[No subject] - by aron - 2009-01-12, 17:33
[No subject] - by alanwww1 - 2009-01-12, 18:28
[No subject] - by aron - 2009-01-12, 19:25
[No subject] - by alanwww1 - 2009-01-12, 20:28
[No subject] - by aron - 2009-01-13, 00:58
[No subject] - by alanwww1 - 2009-01-13, 01:34
[No subject] - by dizzey - 2009-01-13, 03:17
[No subject] - by aron - 2009-01-13, 18:28
[No subject] - by alanwww1 - 2009-01-13, 20:11
[No subject] - by pilluli - 2009-01-13, 20:40
[No subject] - by pilluli - 2009-01-13, 21:24
[No subject] - by althekiller - 2009-01-13, 21:56
[No subject] - by pilluli - 2009-01-13, 22:02
[No subject] - by althekiller - 2009-01-13, 22:18
[No subject] - by alanwww1 - 2009-01-13, 23:01
[No subject] - by aron - 2009-01-14, 03:30
[No subject] - by alanwww1 - 2009-01-14, 03:58
[No subject] - by kirlek - 2009-01-14, 09:40
[No subject] - by pilluli - 2009-01-14, 10:43
[No subject] - by lunxer - 2009-01-14, 14:15
[No subject] - by proctor - 2009-01-14, 15:01
[No subject] - by althekiller - 2009-01-14, 17:24
[No subject] - by alanwww1 - 2009-01-14, 19:11
[No subject] - by aron - 2009-01-14, 19:29
[No subject] - by fasteddy - 2009-01-14, 20:15
[No subject] - by alanwww1 - 2009-01-14, 20:42
[No subject] - by aron - 2009-01-14, 21:14
[No subject] - by alanwww1 - 2009-01-14, 21:31
[No subject] - by fasteddy - 2009-01-14, 22:39
[No subject] - by motd2k - 2009-01-14, 23:00
[No subject] - by adix - 2009-01-14, 23:29
[No subject] - by alanwww1 - 2009-01-14, 23:57
[No subject] - by aron - 2009-01-15, 00:27
[No subject] - by fasteddy - 2009-01-15, 02:20
[No subject] - by althekiller - 2009-01-15, 03:14
[No subject] - by nipnup - 2009-01-15, 09:46
[No subject] - by fasteddy - 2009-01-15, 16:00
[No subject] - by alanwww1 - 2009-01-15, 17:40
[No subject] - by erix - 2009-01-15, 23:19
[No subject] - by tslayer - 2009-01-15, 23:28
[No subject] - by aron - 2009-01-16, 00:17
[No subject] - by alanwww1 - 2009-01-16, 01:03
[No subject] - by [Ad0] - 2009-01-16, 11:02
[No subject] - by BLKMGK - 2009-01-17, 18:34
[No subject] - by alanwww1 - 2009-01-17, 20:31
[No subject] - by pilluli - 2009-01-21, 22:14
[No subject] - by alanwww1 - 2009-01-21, 22:26
[No subject] - by alanwww1 - 2009-01-22, 20:05
[No subject] - by spozen - 2009-01-24, 18:31
[No subject] - by fasteddy - 2009-01-24, 18:35
[No subject] - by spozen - 2009-01-24, 19:29
[No subject] - by pilluli - 2009-01-25, 10:57
[No subject] - by althekiller - 2009-01-25, 18:11
[No subject] - by pilluli - 2009-01-26, 22:36
[No subject] - by adix - 2009-01-26, 23:17
[No subject] - by alanwww1 - 2009-01-28, 00:07
[No subject] - by pilluli - 2009-01-29, 20:49
[No subject] - by alanwww1 - 2009-01-29, 21:26
[No subject] - by pilluli - 2009-01-29, 21:59
[No subject] - by alanwww1 - 2009-01-30, 09:31
[No subject] - by louisv6 - 2009-02-09, 22:40
[No subject] - by alanwww1 - 2009-02-09, 22:47
[No subject] - by pyrates - 2009-02-11, 09:08
[No subject] - by alanwww1 - 2009-02-11, 10:05
[No subject] - by pyrates - 2009-02-15, 05:11
[No subject] - by mr_raider - 2009-02-16, 04:37
[No subject] - by Novin - 2009-02-16, 10:13
[No subject] - by 4ndr3w - 2009-02-19, 00:01
[No subject] - by alanwww1 - 2009-02-19, 00:27
[No subject] - by sandos - 2009-02-19, 09:18
[No subject] - by 4ndr3w - 2009-02-19, 10:04
[No subject] - by alanwww1 - 2009-02-19, 10:40
[No subject] - by 4ndr3w - 2009-02-19, 10:56
[No subject] - by alanwww1 - 2009-02-19, 12:41
[No subject] - by althekiller - 2009-02-19, 18:31
[No subject] - by mr_raider - 2009-02-19, 18:34
[No subject] - by alanwww1 - 2009-02-19, 19:43
[No subject] - by althekiller - 2009-02-19, 20:02
[No subject] - by cejstrup - 2009-02-28, 18:54
[No subject] - by cejstrup - 2009-03-01, 11:06
[No subject] - by 3guk - 2009-03-03, 00:07
[No subject] - by alanwww1 - 2009-03-03, 00:18
[No subject] - by 3guk - 2009-03-03, 00:23
[No subject] - by alanwww1 - 2009-03-03, 00:30
[No subject] - by 3guk - 2009-03-03, 01:08
[No subject] - by nikiiv - 2009-03-03, 09:44
[No subject] - by soder - 2009-03-03, 19:08
[No subject] - by cejstrup - 2009-03-03, 19:14
[No subject] - by soder - 2009-03-03, 20:48
[No subject] - by althekiller - 2009-03-03, 22:11
[No subject] - by cejstrup - 2009-03-04, 09:45
[No subject] - by 3guk - 2009-03-04, 23:20
[No subject] - by alanwww1 - 2009-03-05, 11:12
[No subject] - by 3guk - 2009-03-05, 19:33
[No subject] - by alanwww1 - 2009-03-05, 19:43
[No subject] - by althekiller - 2009-03-05, 21:44
[No subject] - by michfive - 2009-03-10, 15:52
[No subject] - by SpaceMonkey - 2009-04-07, 23:15
[No subject] - by alanwww1 - 2009-04-07, 23:58
[No subject] - by althekiller - 2009-04-08, 01:25
[No subject] - by alanwww1 - 2009-04-08, 11:29
[No subject] - by olympia - 2009-04-08, 12:21
[No subject] - by ERamseth - 2009-04-13, 16:27
[No subject] - by alanwww1 - 2009-04-13, 23:17
[No subject] - by ERamseth - 2009-04-13, 23:35
[No subject] - by SpaceMonkey - 2009-04-14, 10:31
[No subject] - by alanwww1 - 2009-04-14, 10:50
[No subject] - by DGMurdockIII - 2009-04-19, 20:30
[No subject] - by althekiller - 2009-04-19, 20:47
[No subject] - by headache - 2009-04-21, 16:43
[No subject] - by User 29008 - 2009-04-21, 21:56
[No subject] - by althekiller - 2009-04-21, 22:05
[No subject] - by althekiller - 2009-04-21, 22:25
[No subject] - by User 29008 - 2009-04-21, 23:01
[No subject] - by sandos - 2009-04-22, 09:33
[No subject] - by althekiller - 2009-04-22, 18:07
[No subject] - by headache - 2009-04-22, 21:17
[No subject] - by althekiller - 2009-04-22, 22:05
[No subject] - by bobo1on1 - 2009-04-22, 22:22
[No subject] - by ERamseth - 2009-04-23, 17:19
[No subject] - by althekiller - 2009-04-23, 18:12
[No subject] - by bogey - 2009-04-24, 15:06
[No subject] - by bobb0 - 2009-04-24, 15:16
[No subject] - by uomiarz - 2009-04-24, 19:03
[No subject] - by althekiller - 2009-04-24, 20:28
[No subject] - by nikiiv - 2009-04-25, 01:38
Try schedtool... - by blackstar_ii - 2009-04-25, 10:39
[No subject] - by bbaldino - 2009-04-29, 08:17
[No subject] - by adelias - 2009-05-04, 14:58
[No subject] - by mcka - 2009-05-11, 19:33
[No subject] - by althekiller - 2009-05-11, 19:41
[No subject] - by ERamseth - 2009-05-13, 15:45
[No subject] - by alanwww1 - 2009-05-13, 18:48
[No subject] - by ubiq - 2009-05-14, 09:11
[No subject] - by althekiller - 2009-05-14, 09:25
[No subject] - by ubiq - 2009-05-14, 09:49
[No subject] - by bobo1on1 - 2009-05-26, 21:14
[No subject] - by speed32219 - 2009-07-24, 06:24
[No subject] - by althekiller - 2009-07-24, 07:20
[No subject] - by alanwww1 - 2009-07-26, 01:48
[No subject] - by pyrates - 2009-07-26, 02:32
[No subject] - by ads_german - 2009-07-31, 08:41
[No subject] - by Jezz_X - 2009-07-31, 09:05
[No subject] - by bobo1on1 - 2009-07-31, 17:20
[No subject] - by butchjr - 2009-07-31, 17:48
[No subject] - by bobo1on1 - 2009-07-31, 18:48
[No subject] - by butchjr - 2009-07-31, 22:15
[No subject] - by ads_german - 2009-08-02, 11:39
[No subject] - by butchjr - 2009-08-02, 16:00
[No subject] - by althekiller - 2009-08-02, 18:42
[No subject] - by alanwww1 - 2009-08-03, 08:55
[No subject] - by ads_german - 2009-08-03, 12:55
[No subject] - by bobo1on1 - 2009-08-03, 16:55
[No subject] - by althekiller - 2009-08-03, 19:37
[No subject] - by alanwww1 - 2009-08-03, 20:11
[No subject] - by alanwww1 - 2009-08-11, 09:06
[No subject] - by adelias - 2009-08-11, 11:23
[No subject] - by shassino - 2010-02-02, 20:49


Logout Mark Read Team Forum Stats Members Help
No multithreaded Video decoding on XBMC INTREPID version (in-depth testing)51
This forum uses Lukasz Tkacz MyBB addons.