View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 17 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Dual Processor
PostPosted: Tue Jun 07, 2005 8:34 am 
Offline
Joined: Tue Jun 07, 2005 8:28 am
Posts: 5
Will MythTV or KnoppMyth take atvantage of dual processors? I have a dual 866 Pentium III that I wqould like to use as a VCR, only recording one program at a time, it would not be running live TV.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 8:36 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
yes the default kernel is compiled with smp support.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
PostPosted: Tue Jun 07, 2005 8:48 am 
Offline
Joined: Tue Jun 07, 2005 8:28 am
Posts: 5
But what about the capture and display software? Just because the kernel is able to proform its functions on dual processors doesnt mean that MythTV will use both. I have run other software that was compiled/written for only one processer so the kernel processes saw a speed increase but the user program saw no increase. I am asking because this dual processor machine is free (as in beer) and i would like to make a good digital recorder.....By the way what capture card is recomended for a slow machine like this?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 8:59 am 
Offline
Joined: Mon Jun 21, 2004 11:25 am
Posts: 291
Location: Ontario, CA
grab one of the hardware encoder cards the pvr x50's would be your best bet. This will solve the capture problem, but on the slower machine playback may be an issue. I have had good playback of pvr250 content on an xbox, so your machine should be fine, even if it is only using one processor for the work. You could try a 350's video out, but know that that can take some work to configure. I believe the wiki has a how to.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 10:31 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
The back end and front end are entirely seperate processes, as are lircd, ... So even if the playback decoding is single threaded (I've never bothered to investigate) other stuff will be offloaded to the second CPU, so the answer to your question is, "YES, it will take advantage of multiple CPUs".


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 11:40 am 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
For example, one of the tasks which is run in the background is "flagging" the commercials. Another is transcoding the shows from one format to another. Multiple CPUs will help in a number of ways. I'd say go for it.

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 8:23 pm 
Offline
Joined: Tue May 10, 2005 9:57 pm
Posts: 21
It would also help if you have the main Backend as a Samba server Also right? (dual 700 mhz p3s)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 08, 2005 2:50 pm 
Offline
Joined: Tue Jun 07, 2005 8:28 am
Posts: 5
well i only want one machine that captures and then plays back. If my understanding of dual processor programming is correct, the software must be written to be aware of the two processors, other wise programs will run only on the first processor (CPU 0). The kernel which has been written and compiled for dual processors will do its tasks of hardware control / memory management will run on both, but the user-space programs such as mythtv would need to be written and compiled for dual processors as well. If mythtv is written for dual processors that would lighten the load on my system.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 08, 2005 3:23 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Is anyone actually running a mythbox with dual processors? Seems like overkill to me.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 08, 2005 5:08 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
I don't know about that, but the smp kernel does take advantage of hyperthreading for people with PIV.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 08, 2005 7:34 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
bgsneeze wrote:
If my understanding of dual processor programming is correct, the software must be written to be aware of the two processors, other wise programs will run only on the first processor (CPU 0).

You're missing the fundamental point.

This is Unix not the braindamaged nightmare from Redmond that set computer science back ten to twenty years.

The MythTV "application" is actually made up of a number of cooperating programs, drivers, and daeoms which run more or less indepentantly (as seperate "processes") and communicate via some type of IPC (inter process communications) usually sockets.

Even if the individual program modules are single threaded (and not all of them are) you're running MULTIPLE programs/processes which can easily take advantage of MULTIPLE CPUs.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 09, 2005 4:51 am 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
bgsneeze, the mythtv programs use multiple threads, so yes they will benefit from a dual CPU motherboard. I think the frontend usually uses 6 threads when playing back a recording.

If you are doing anything at the same time as watching TV (like using the mythburn scripts to create a DVD of recordings), dual CPUs will be _very_ helpful.

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 09, 2005 7:22 am 
Offline
Joined: Tue Jun 07, 2005 8:28 am
Posts: 5
thank you


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 09, 2005 9:34 pm 
Offline
Joined: Thu Jan 13, 2005 9:55 am
Posts: 135
Location: Decatur, Ga., USA
Quote:
thank you


yes, guys, thank you. I'm in the early stages of building a dual 2.4GHz Xeon box as my backend. I did a lot of reading (a LOT of reading) about Myth, and was under the impression that Myth (or rather, MySQL) was heavily multi-threaded. In any event, your opinions have solidified my suspicions that a dual CPU box of respectable processing power might be a very good backend, especially if we consider HDTV... :mrgreen: :mrgreen: :mrgreen:

-Bob K.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 09, 2005 10:28 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
It's the frontend that needs the grunt when displaying hdtv, not the backend.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 97 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu