Posts: 90
Joined: Aug 2007
Reputation:
0
2007-11-21, 05:44
From what I understand, xbmc for linux, as well as its media player core are not multithreaded, correct?
If so, If I am building a box for this purpose, is it pointless to get a multicore cpu?
Posts: 90
Joined: Aug 2007
Reputation:
0
sorry, can this be moved to the users forum?
My apologies...
Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
You can choose the number of threads/cores at compile time by adding -j2 to the make, is writen in the readme I think.
Posts: 5,008
Joined: Sep 2003
Reputation:
30
pike
Team Kodi Admin
Posts: 5,008
make -j2 uses 2 threads for compiling, has nothing to do with what xbmc handles or doesn't handle
I'm surprised to hear runstop saying he can utlize both cores fully, that's not possible on my core2duo. with that said, we are looking into sliced based decoding for ffmpeg
Posts: 3,555
Joined: Oct 2003
Reputation:
12
tslayer
Team-XBMC Developer
Posts: 3,555
I have a 6000+ AMD as well and can't use both cores to the max. Even with 1080p content that causes slowdowns, both cores are not maxxed.
42.7% of all statistics are made up on the spot
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Posts: 100
Joined: May 2007
Reputation:
1
Keep in mind that while XBMC won't use dual cores today, other processes can take advantage of it.
If you want to run a ftp/smb/web server or have the computer do other things while running XBMC, the extra core will be beneficial.
I also expect that at some point in the future, the XBMC developers will start taking advantage of dual cores.
For the little extra cost, I'd pick up a dual core.
Posts: 3,555
Joined: Oct 2003
Reputation:
12
tslayer
Team-XBMC Developer
Posts: 3,555
What do you mean? XBMC does use both cores!
42.7% of all statistics are made up on the spot
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Posts: 5,008
Joined: Sep 2003
Reputation:
30
pike
Team Kodi Admin
Posts: 5,008
just to clarify my previous statements (and Tslayer's) both cores are indeed used on dualcore, but both are never fully utilized at the same time, sliced based decoding will probably help here (for videos)
Posts: 74
Joined: Feb 2008
Reputation:
0
Any idea when multicores will be supported in XBMC video decoding. I have a 2.6ghz core2duo and I can't play 1080p h264 material without dropping serious frames, and my cpu% never goes above 60%. We really need that second core for decoding 1080p content. Thanks.
Dustin
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Use slice-based encoding for your videos and it'll use both cores. Currently that's all ffmpeg offers.
Posts: 236
Joined: Nov 2007
Reputation:
0
do you mean slice-based decoding or is there no such thing?
Posts: 26,215
Joined: Oct 2003
Reputation:
187
No, I mean slice based ENcoding. If it's encoded using slices, then it will be decoded in slices using threading -> multiple cores will be used.
If it's not encoded using slices then it cannot be decoded using separate threading at present.
Posts: 236
Joined: Nov 2007
Reputation:
0
ok thanks for clearing that up.. wasn't sure about that