AgoControl > Developers

LinuxMCE as dd-wrt variant?

<< < (2/2)

tkteun:

--- Quote from: phenigma on April 01, 2011, 09:13:24 pm ---I would suggest that this is all about scale.  As an example: If you store a lot of media, mysql and updatemedia both run on the core/hybrid, depending on the size of your media collection your cpu usage could be pretty hefty at times.
--- End quote ---

My guess is that this CPU usage has to do with this updatemedia making thumbnails and such from the media files you have.

Of course with a big collection there's going to be a lot of management which could use a lot of (my)sql time, but using two 3+ GHz processors is ridiculous for a home automation server.

My ideal solution would be:

* Have a 24/365.25 headless server which ideally consumes about 10 Watt.
This could be a small form factor computer with an energy efficient processor like MIPS, ARM or Intel Atom depending on scale and functions like security camera processing or audio decoding (including pbx).
It could have internal storage or access to remote storage like a NAS.
* Have something like the current Hybrid Core running as primary media device.
I would have this as the most competent hd playback device, it has to have a good video card and serious processing capacities if it plays the 50+ GiB blue ray movies and it will probably reside near the living room.
I wouldn't mind having to turn this device on to be able to use other media directors, to stream live television or maybe transcode movies to other media directors with limited hardware.
I'm not sure whether this device needs to have a hard disk, maybe it could also be pxe'd. It surely can be started with Wake on LAN from the server.
* Media directors.
Not sure whether they actually need access to the Hybrid/media core or can run directly on the Standalone core.
* Orbiters.
Would be connecting directly to the core server (internal or external over VPN)

The big question is what the difference between the hybrid/media core and the media directors will be.
The easiest way would be to have one updatemedia on that hybrid and one dcerouter on the core.

But what if the media database isn't authoritative? It's no longer a problem that it's redundant, because the inconsistencies can be automatically managed by an updater that searches for differences between filesystem mtime and database timestamp. The media directors could perform this on an on-access basis and should be able to simply play un'registered' files without indexing causing extra latency for the user.

The whole idea is to distribute processing power to machines that aren't authoritative and can be unreliable in availability.
Also to distribute resources like live television or even storage to devices that are only powered on-demand is a great advantage in reducing energy consumption and total cost.

This would mean that except for the core maintaining a best-effort resource inventory the whole media part is modularized and becomes optional. The Core would then become more media unaware and retains to what it does best, streaming.

PS. I'm sorry to have to say I still haven't seen a way to install lmce so I'm still guessing and playing on emotions, please correct me if I'm wrong about anything.
I can tell you the graphical installation of the dvd halt my Panasonic CF-51 (Centrino 1.7 / 2GiB / ati9600) which runs the normal ubuntu flawlessly.

valent:
I have two years old ION Nettop that uses only 30W of power [1] and can play full hd blu-ray video via VDPAU.

There are some newer ION nettops that use around 20W of power [2] [3] so why not go with them? Prices are more than reasonable and they provide more than enough processing power for what you need them to do. Biggest benefit it that you can install stock LinuxMCE on them.

Running Asrock ION 24/7 with average power consumption around 25W costs me 20$ per year in Croatia and probably same for other European countries.

Hope this helps.


[1] http://wiki.linuxmce.org/index.php/AsRock_330_ION_HT
[2] http://en.wikipedia.org/wiki/Nettop
[3] http://wiki.linuxmce.org/index.php/Acer_Aspire_Revo_1600

tkteun:
Thanks for your reply Valent, although I don't really need anything ;)

I already mentioned the Intel Atom platform in my previous post, and indeed, they perform well.
Those nVidia (ion) nettops you have can easily be used as nice media directors too.

What I'm trying to establish here is the difference between the standalone dce and LinuxMCE core.

While dcerouter doesn't have to be more than one application, the functionality supplied by LinuxMCE has to be supplied by a suite of applications and needs domination over your home network.

Standalone DCE would be quite useless if distributed as a distribution independent application (rpm or deb something). LinuxMCE core functionality is difficult to implement without complete control over the system, therefore it's logical to make a distribution of it.

A platform like DD-WRT already supplies a lot of the functionality needed by MCE (except DCE then).
Most people already have DD-WRT capable hardware in control over their home network, if it were to add standalone DCE functionality (without any hassle), it would open up LinuxMCE to a whole new group of people.

I think dcerouter and dhcp server would be mandatory, PXE server can be local.

Would the only bottleneck be the media database? If so, there should be some effort making it distributed.

[edit] @Techstyle: Yes, like I said to totallymaxed: I was hoping to get a response from Hari as he's listed as the moderator here. Maybe I should ask him to respond in a PM?

Techstyle:
I would talk to Hari about this as suggested by Totallymaxed earlier

Navigation

[0] Message Index

[*] Previous page

Sitemap 
Go to full version