Hi,

I was using E17 with the new Ubuntu 8.10 and realized that the cpu
frequency wasn't scaling. Then I checked that with gnome and even
without a window manager and it worked fine.

Well, it seems that E always starts its children applications with
nice +1, and Ubuntu has the file
/sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load set to
1, so even with 100% cpu load the clock doesn't scale up (if the
application consuming the cpu was started from E, thus with nice +1).

In the file e/src/bin/e_main.c these lines do the nice:
   /* set all execced stuff to pri 1 - nice. make this config later? */
   ecore_exe_run_priority_set(1);

In order to do the frequency scaling work in Ubuntu these lines need
to be removed, or an "echo 0" should be done to that file.

-- 
Rafael Antognolli
ProFUSION embedded systems
http://profusion.mobi

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to