2007-12-17, 18:25
Is it possible to implement tickless (dyntick) operation into XBMC executable?
...and into the DVDPlayer and PAPlayer if possible as well (or enable it when from the XBMC executable when used)?
http://www.lesswatts.org/projects/tickless/
http://www.phoronix.com/scan.php?page=ar...=651&num=1
http://kerneltrap.org/node/6750
http://lwn.net/Articles/223185/
It is implemented into the latest Linux kernel but is it possible to imlement into the XBMC executable/libraries as well?
...and (or at the very least) implement idle priority thread wwith HLT instruct like in the Xbox version?
http://sourceforge.net/tracker/index.php...tid=581840
...and into the DVDPlayer and PAPlayer if possible as well (or enable it when from the XBMC executable when used)?
http://www.lesswatts.org/projects/tickless/
http://www.phoronix.com/scan.php?page=ar...=651&num=1
http://kerneltrap.org/node/6750
http://lwn.net/Articles/223185/
It is implemented into the latest Linux kernel but is it possible to imlement into the XBMC executable/libraries as well?
Quote:"The tickless kernel feature (CONFIG_NO_HZ) enables 'on-demand' timer interrupts: if there is no timer to be expired for say 1.5 seconds when the system goes idle, then the system will stay totally idle for 1.5 seconds. This should bring cooler CPUs and power savings: on our (x86) testboxes we have measured the effective IRQ rate to go from HZ to 1-2 timer interrupts per second.
"This feature is implemented by driving 'low res timer wheel' processing via special per-CPU high-res timers, which timers are reprogrammed to the next-low-res-timer-expires interval. This tickless-kernel design is SMP-safe in a natural way and has been developed on SMP systems from the beginning."
...and (or at the very least) implement idle priority thread wwith HLT instruct like in the Xbox version?
http://sourceforge.net/tracker/index.php...tid=581840
Quote:Every modern CPU supports the HLT instruction (opcode F4) that instruct the CPU to enter a stand-by state.
Sometimes it could be really useful to execute this instruction when the CPU is very busy, for example when you are playing a game.
When Linux is idle, it runs the previously mentioned idle process in a loop (found in kernel/sys.c). Having the idle process periodically execute a hlt (halt) instruction reduces power consumption on some machines, most notably laptops.