Kubuntu will recognize the system as haveing a multicore and will use a smp kernel

Now lmce doesnt take advantage of multicore based system meaning theading to one processor then the next etc....

just because an application runs on a multicore or the os is a multicore system, the application in question must know how to use and take full advantage of that feature...

Hence lmce will not know the difference if on a multi or single processor based system but the OS willEx.. MySQL can balance load among processors and you can choose within the application how many to use

What about distributing of IRQs between cores? Is it working properly or it's recommended to install irqbalance to take advantage of having multicore environment?

BTW - IMO multicore can be beneficial while we have a few simultaneous users watching different content. There is a lot of processes to be split between cores. Now I'm completing HW for my new house, and decided to go into dedicated core + 2-3 MDs. Core would be athlon II x2 (45-65W), and MDs based on IONs. I hope it will work smoothly.

Now lmce doesnt take advantage of multicore based system meaning theading to one processor then the next etc....

just because an application runs on a multicore or the os is a multicore system, the application in question must know how to use and take full advantage of that feature...

Mandingo - could you explain in more detail what you mean by this?

I can confirm for certain that many of LMCE's key subsystems are multi-threaded (MySQL, Myth, DCERouter, Asterisk, AppServer, HAL, Disk_Drive, OrbiterGL, Xine, MPlayer, etc), and all do get different thread instances within the same process assigned to different cores. And processor affinity is low, so there is nothing stopping a thread from moving from one processor core to another over its lifetime.

So whilst its true, LMCE doesn't necessarily know that it is on a multi core system, that isn't really relevant - the OS assigns the processes and threads between the cores, so by definition LMCE does take advantage of multicore systems!

Try running:

ps -eLF

And look at the number of threads each process has, and which core each is executing on....

By HA I assume you mean High Availability rather than Home Automation?

Currently, the software does not support that. However, the entire architecture is based on the DCE messaging "bus", where all components ("DCE devices") communicate with each other using TCP sockets irrespective of whether they are on the same box or not. So theoretically you could extend the system to spread the functions over as many boxes as you want.

Blockages as I see them: the code would need to be updated not to assume that all the core services are at 127.0.0.1/localhost/192.168.80.1; the "plugins" by definition are part of the DCERouter code space and so cannot be separated; this would really only provide load sharing rather than true HA/redundancy, extending to have multiple instances of the same "device" with failover would be a big undertaking; not every feature of LMCE is implemented inside a DCE device (eg the SQL server) and so other approaches would be needed for that; clustering of some kind would be needed to prevent the core being a single point of failure for routing between the internal and external networks.

But realistically, I'm thinking that this work has not already been considered because need for such HA in typical implementations is very low compared with the effort involved....