On Wed, Jan 7, 2009 at 7:28 PM, Viktor Kojouharov <vkojouha...@gmail.com> wrote: > On Wed, 2009-01-07 at 19:10 -0200, Rafael Antognolli wrote: >> 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. > > > Well, at least now I know why the ondemand governor didn't seem to do > it's job. I'll see about making this a proper config.
now it's either ubuntu packagers to patch E to remove that line or them not setting such governor parameter. The fits-all solution would be to make this a settings (easy) and expose it in some dialog (not so simple, but easy as well). I really dislike such governor option for the same reason Matthew Garrett: the faster you finish the task, the less power you use, less time with hot cpu... even less time hd spinning (for io+cpu bound tasks, like compile). -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ 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