Author Topic: Install advice. Topology and processor requirements relative to scale.  (Read 2936 times)

TheBrick

  • Making baby steps
  • Posts: 3
    • View Profile
Hello all,

I'm planning a linuxmce installation, I've had a read of the general wiki and developers wiki and would like some feedback on this setup before I start buying hardware.

The requirements will be a handfull of lights, two or three ip cameras and one media director. Due to the security requirements the core will be on 24 / 7 but I would like to keep the power requirements down.

My plan was not have the media plug-in as a  plug-in but as a separate binary and run that on the primary media directer which would be turned on and off as needed. I may at a later date have a second media director which I would like configure some how to wake the main media director over LAN.
Is this possible?

This leaves data grid plugin, general info plug-in, lighting, orbiter plug-in and whichever plug-in deals with security. This should mean the progressing requirements should be less on the core in theory allowing a lower spec and lower power requirements.

Dose this sound like a realistic plan?

I've looked on the wiki about hardware but it seems more general advice hence why I am asking on here. If it was not for the security requirement do you think I could get away with a mini ITX board and a Atom processor? What kind of move up the scale do you think the security camera adds? Obviously the main addition would be a large hd but being as a ip cameras encode the image processor load should not be too big as I understand it. Is this correct? I've had a quick look on the zone-minder website but could not find any ball park figures.

I'm not adverse to getting my hands dirty if needs be (would be a good exercise to improve my C++) but may need some advice as the code base is obviously pretty big.

I'm still in the early planning stages so sorry if it seems a little disorganised but I have many questions.

merkur2k

  • Addicted
  • *
  • Posts: 513
    • View Profile
Re: Install advice. Topology and processor requirements relative to scale.
« Reply #1 on: October 12, 2011, 07:16:46 am »
plugins run in the memory space of dcerouter, which only runs on the core so thats a big showstopper right there. i dont understand what this approach is intended to solve though either...
there are people that run cores on atom processors. the main issues to deal with are slow orbiter regens. you would also want to avoid using motion wrapper for the cameras, but it is highly recommended to use separate motion sensors (pir or similar) instead anyway as they are far more reliable.
even standard pc hardware can be made fairly low power. use an efficient power supply and avoid the high tdp processors, favoring ones that do clock rate scaling.

TheBrick

  • Making baby steps
  • Posts: 3
    • View Profile
Re: Install advice. Topology and processor requirements relative to scale.
« Reply #2 on: October 12, 2011, 09:18:02 pm »
Quote
plugins run in the memory space of dcerouter

As I understand it I can compile any plug-in as a DCE device.

see wiki Developers_Guide#3._DCERouter
Quote
Plug-in’s are DCE Devices that run within the DCERouter's memory space. They are DCE Devices just like any other and they are created like any other DCE Device. The code is the same, it's just a compilation option whether the device is built as a normal DCE Device, which runs in its own memory space and communicates with DCERouter over a socket, or if it's a plug-in which gets loaded into DCERouter's memory space.

Quote
i dont understand what this approach is intended to solve though either...
Low power core -> less electricity use.

Quote
even standard pc hardware can be made fairly low power

but my idea is so keep the media section more separate as this seems to have the highest cpu requirement, keep all the big hds TV cards e.t.c in a primary media detector that will be woken over lan should another media director be started. Most of the time media items will not be needed so I can keep the more powerful pc off.

Anyone have any idea about the cpu requirements per camera / how it scales?
« Last Edit: October 12, 2011, 09:21:35 pm by TheBrick »

tkmedia

  • wants to work for LinuxMCE
  • **
  • Posts: 937
    • View Profile
    • LMCECompatible
Re: Install advice. Topology and processor requirements relative to scale.
« Reply #3 on: October 12, 2011, 10:48:39 pm »
I use a low power atom based NAS to house my media I have used used a @30 watt atom as a core and does quite well so for about 60watts I have my fully functional core and my media available.  Attaching usb sound cards to the NAS and having auto sensing power on amps gives me my audio only zones with little or no additional power draw. (Until amps are in use).
Network based tuners solve many issues as well including power consumption.
media storage does not require high cpu usage.
media playing with accelerated drivers does not require high cpu usage.
IP camera's with with dedicated motion sensors does not require high cpu usage

so unless you must use motion or must use hulu cpu requirements are quite slim

If you don't have one you may want to purchase a killowatt meter. You will be surprised by how much power is being drawn by common household items.   Found ( Cable box was using 45w on or off)

Just my 2 cents

Tim
My Setup http://wiki.linuxmce.org/index.php/User:Tkmedia

For LinuxMce compatible  systems and accessories
http://lmcecompatible.com/

TheBrick

  • Making baby steps
  • Posts: 3
    • View Profile
Re: Install advice. Topology and processor requirements relative to scale.
« Reply #4 on: October 13, 2011, 08:46:54 pm »
Thanks for the info I'll have a look at your setup in your tag line over the weekend.