Reply
Thread Tools
Posts: 992 | Thanked: 995 times | Joined on Dec 2009 @ California
#261
Originally Posted by titan View Post
> I can confirm that disabling power-saving reduces latency from 50ms -> 5ms
> but it increases the battery drain drastically.

I just tried this with the stock kernel and I get the same results.
With max. wifi powersaving 50ms, with medium or no powersaving ca. 5ms.
So this appears that it is not related to the kernel version.
Could you please try to confirm this with the stock kernel?
I work with stock kernel and WiFi configuration -

Wi-Fi transmission power: 100mW
Power saving: On (maximum)

and my ping times are in range from 3 to 5ms to WiFi router and around 22ms to my home server.

EDIT: it depends from other traffic in network and router proximity. I discovered that in calm state I have 30ms.

Last edited by egoshin; 2010-04-22 at 19:03.
 

The Following User Says Thank You to egoshin For This Useful Post:
christexaport's Avatar
Posts: 1,589 | Thanked: 720 times | Joined on Aug 2009 @ Arlington (DFW), Texas
#262
I have to admit, I'm totally confused by the two methods and groups of kernels from different guys. I believe I've installed a different kernel, but I have no way of really telling for sure.

I have installed Enhanced Linux kernel for power users 2.6.28-maemo25, kernel-flasher-maemo 2.6.28-maemo23, and kernel-power-settings. Are all of these packages necessary?

According to Conky, something is working, since I am seeing bursts at 850 MHz at times, but I can't tell if that is the maximum frequency or not. I wanted to install the kernel from the repos that will allow me to set the CPU and DSP speeds myself, and once I got that figured out, use the BeeCon widget to monitor and select speeds. Can anyone help me move forward, and maybe create a better guide for JUST the user controllable kernel and how to set it up? I've read the various threads, but they aren't as easy to understand for a neophyte like myself.

I know you guys are experts and I'm a Windows guy, but I also got the N900 to tinker and play, so save all of the warnings. I prefer to try risky stuff like this with my mobile.
__________________
Maemo-Freak.com
"...and the Freaks shall inherit the Earth."
 

The Following User Says Thank You to christexaport For This Useful Post:
Tiboric's Avatar
Posts: 433 | Thanked: 312 times | Joined on Nov 2009 @ U.K
#263
Hi 'Freak' glad to to see all is going well.

the two kernels seem complex but their not,
in Titan's kernel the cpu speed is set by a config file,
in the other kernels they are hard coded into the kernel.

i have been using Titans kernel for the last two weeks, and before that Lehto's.

using Titan's (which you seem to be) you have to have a config file @
/etc/default/
called 'kernel-power' (no extention) this is just a plain txt file with:

#UP_THRESHOLD=75
#SAMPLING_RATE=150000
VDD1_OPPS_VSEL="30 30 38 48 54 48 60 60 60 60 60 60 60 72 72"
DSP_OPPS_RATE="90 90 180 360 400 430 430 430 430 500 500 500 500 520 520"
MIN_FREQ=250000
MAX_FREQ=599000
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=0
inside.

(when you installed the 'kernel-power-settings' from the repo this just installed a load of preconfigured config files @
/usr/share/kernel-power-settings/
which you can copy over to
/etc/default/
or just make up your own.

you seem to have everything working just put a config file in
/etc/default/
and you should be just fine.

p.s you can also change frequency on the fly with cpufreqUI very simple but doesn't last a reboot.

John

edit: i also think that some simpler tutorials are needed on some subjects. (why not just say copy this here or move that there instead cp /*/*/blah and ls /*/*/blah lol) the user can then use whatever method they like.

Last edited by Tiboric; 2010-04-25 at 06:36.
 

The Following 2 Users Say Thank You to Tiboric For This Useful Post:
christexaport's Avatar
Posts: 1,589 | Thanked: 720 times | Joined on Aug 2009 @ Arlington (DFW), Texas
#264
Thanks. I figured it out after reading far too much. We need more guides written with less techno jargon. Whatever happened to having someone to do just that?

with no help files, we have to give better directions.
__________________
Maemo-Freak.com
"...and the Freaks shall inherit the Earth."
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#265
FYI, kernel-power and kernel-power-settings have finally made it to extras (stable).
The new wiki page for the kernel is http://wiki.maemo.org/Kernel_Power
(at the moment just a copy&paste from the Overclocking page).
I'd appreciate if you could add more info, for example about iptables, ext4, USB/IP, evdev, PPTP, cryptoloop and kexec support.

There were some requests from people who would like to use the additional features of the kernel but don't want to risk losing their warranty by installing a kernel that is overclockable.
I consider uploading another package that does not have the OC patch.
If possible it would be only the kernel package and share the modules and flasher package.
But it may lead to too much confusion with all the different kernel version.
What do you think? Any ideas for a good name?
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#266
Originally Posted by titan View Post
FYI, kernel-power and kernel-power-settings have finally made it to extras (stable).
The new wiki page for the kernel is http://wiki.maemo.org/Kernel_Power
(at the moment just a copy&paste from the Overclocking page).
I'd appreciate if you could add more info, for example about iptables, ext4, USB/IP, evdev, PPTP, cryptoloop and kexec support.

There were some requests from people who would like to use the additional features of the kernel but don't want to risk losing their warranty by installing a kernel that is overclockable.
I consider uploading another package that does not have the OC patch.
If possible it would be only the kernel package and share the modules and flasher package.
But it may lead to too much confusion with all the different kernel version.
What do you think? Any ideas for a good name?
Kernel-extras maybe?
 
automagic68's Avatar
Posts: 415 | Thanked: 161 times | Joined on Apr 2010 @ San Francisco, CA
#267
Originally Posted by nightfire View Post
Yeah, I just noticed this too.

Actually, it's related to the DSP. When the DSP is busy (ie. during splash screen, playing videos, and MP3s (I guess)), it either starves the CPU, or shares vdd1 with it, and undervolts. If you're able to check the dmesg buffer, you can see DSP sync errors when it happens.

Here are my new values that appear to be stable while playing video:

Code:
20 20 25 30 35 38 43 45 48 51 54 56 60 65 72
Interestingly enough, the CPU enters sleep state during video playback, so the first voltage is critical. While it's otherwise stable with 15 as the first value, it locks almost immediately while playing video. It makes sense, I guess.

The main problem was voltage too low at 250 and 500mhz.

I don't think we can do better than this for ultra ultra low voltage.
Hey do I also have to edit this line's values in the kernel text file?

DSP_OPPS_RATE="90 90 180 360 400 430 430 430 430 500 500 500 500 520 520"

If so what do I put for the values? Or could you show the entire text of your kernel file?
 
Posts: 310 | Thanked: 383 times | Joined on Jan 2010
#268
Originally Posted by automagic68 View Post
Hey do I also have to edit this line's values in the kernel text file?

DSP_OPPS_RATE="90 90 180 360 400 430 430 430 430 500 500 500 500 520 520"

If so what do I put for the values? Or could you show the entire text of your kernel file?
Well, the VDD1 voltage rail appears to be shared with the DSP, so if you change the DSP frequencies it may affect the voltage requirement.

I went back to titan's XLV settings; mine were doing strange things from time to time (particularly reboot during bootup).

This is what I'm using now:

Code:
VDD1_OPPS_VSEL="0 20 28 33 38 38 45 45 48 48 54 54 60 72 72"
DSP_OPPS_RATE="90 90 180 360 400 430 430 430 430 500 500 500 500 520 520"
 
Posts: 15 | Thanked: 2 times | Joined on Apr 2010 @ Tanzania
#269
I'm using titans kernel running at 125Mhz-750Mhz with ulv settings.

It runs extremely stable, and much better than the default kernel which comes with the phone. I witness about a 1% drain per hour in standby.

However, after installing Joikuspot, everytime my N900 boots, its on the default cpu frequency settings (max at 600mhz). I manually have to execute /usr/sbin/kernel-load in the terminal to get it working at my preferred frequencies.

Joikuspot seems to run fine with 750mhz so that is not an issue.

Basicly, how can I have it on the custom frequencies every time I boot?

I have followed all the instructions to to permanently install a default configuration from the wiki page, it worked fine prior to installing Joikuspot. I need a post Joikuspot solution

thank you very much to anyone who can help
 
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#270
@titan;

Do you plan on releasing a kernel with fbcon enabled?
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:24.