maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   overclocking kernel modules + UI for PR1.3 [ko v1.5.4] [ui v1.2.7] (https://talk.maemo.org/showthread.php?t=83357)

Dragoss91 2012-04-06 22:32

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by Arie (Post 1189034)
Do you happen to know what you were doing before the reboot?

You mean in what circumstances rebooted ? It was a completely random reboot , I just unlocked the phone and slided the menu down when suddenly the phone freezed and after 10 seconds rebooted .

Arie 2012-04-06 22:33

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by Dragoss91 (Post 1189036)
You mean in what circumstances rebooted ? It was a completely random reboot , I just unlocked the phone and slided the menu down when suddenly the phone freezed and after 10 seconds rebooted .

Nothing else was running?

Dragoss91 2012-04-06 22:41

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by Arie (Post 1189037)
Nothing else was running?

Nope . This situation reminded me of N900 when I was tweaking voltages , sometimes it was rebooting with no reason , not even under load . And I remember I got this fixed by increasing voltage very little .

rcolistete 2012-04-07 05:53

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by Dragoss91 (Post 1189011)
... running at 1.3ghz ... it seems to be pointless because there's no improvements in the smoothness of the UI .

I confirm that the overclocking is very real and worth using (in some cases). Here I run a C calculation (for mu0 of type Ia supernovae in cosmology) with 100 thousand numerical integrals using double precision :

Nokia-N9% mu0_dp.o
1000 MHz : 28.438446 s
1100 MHz : 25.801086 s (1,1022 x)
1200 MHz : 23.743835 s (1,1977 x)
1300 MHz : 21.913544 s (1,2978 x)
1400 MHz : - (reboot)
As we can see above, the speed up is approx. the expected value.

So, with N9 @ 1,2 GHz (for example) we really get it 20% faster for running CPU intensive tasks.

Comparing with my N900 with and without OC (OverClocking) :
600 MHz : 54.061523 s
850 MHz : 39.386322 s
900 MHz : 35.555176 s
950 MHz : 33.086578 s
1000 MHz : 31.480408 s
1100 MHz : 28.668640 s
1150 MHz : - (reboot)

And my Nokia N810 : 400 MHz : 450.490479 s. Maybe gcc is not well optimized @ Maemo 4.

A Intel Core i7 930, 4 cores @ 1,60-2,80 GHz, 8MB cache, running Linux 64 bits : 1.847429 s (single core calculation).

Conclusions :
- N9 @ 1.0 GHz is 90% faster than N900 @ 600 MHz, greater than 66.67% expected by clock only;
- N9 @ 1.0 GHz is 11% faster than N900 @ 1.0 GHz OC;
- N9 @ 1.0 GHz has the same speed of N900 @ 1.1 GHz OC;
- N9's TI OMAP 3630 is better than N900's TI OMAP 3430 besides the clock setting;
- N9 @ 1.3 GHz OC is 31% faster than N900 @ 1.1 GHz OC, both at maximum OC for my N9 & N900;
- N9 @ 1.0 GHz is 14.8x faster than N810;
- N900 @ 600 MHz is 7.3x faster than N810;
- Core i7 930 is 14.4x faster than N9 @ 1.0 GHz, 28.3x faster than N900 @ 600 MHz, 243x faster than N810.

PS : I've compiled mu0_dp.c with "gcc -O3 -funroll-loops -mtune=native -lm -o mu0_dp.o mu0_dp.c" directly on my devices.

aQUICK1 2012-04-07 07:54

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by rcolistete (Post 1189124)
I confirm that the overclocking is very real and worth using (in some cases). Here I run a C calculation (for mu0 of type Ia supernovae in cosmology) with 100 thousand numerical integrals using double precision :

Nokia-N9% mu0_dp.o
1000 MHz : 28.438446 s
1100 MHz : 25.801086 s (1,1022 x)
1200 MHz : 23.743835 s (1,1977 x)
1300 MHz : 21.913544 s (1,2978 x)
1400 MHz : - (reboot)
As we can see above, the speed up is approx. the expected value.

So, with N9 @ 1,2 GHz (for example) we really get it 20% faster for running CPU intensive tasks.

Comparing with my N900 with and without OC (OverClocking) :
600 MHz : 54.061523 s
850 MHz : 39.386322 s
900 MHz : 35.555176 s
950 MHz : 33.086578 s
1000 MHz : 31.480408 s
1100 MHz : 28.668640 s
1150 MHz : - (reboot)

And my Nokia N810 : 400 MHz : 450.490479 s. Maybe gcc is well optimized @ Maemo 4.

A Intel Core i7 930, 4 cores @ 1,60-2,80 GHz, 8MB cache, running Linux 64 bits : 1.847429 s (single core calculation).

Conclusions :
- N9 @ 1.0 GHz is 90% faster than N900 @ 600 MHz, greater than 66.67% expected by clock only;
- N9 @ 1.0 GHz is 11% faster than N900 @ 1.0 GHz OC;
- N9 @ 1.0 GHz has the same speed of N900 @ 1.1 GHz OC;
- N9 @ 1.3 GHz OC is 31% faster than N900 @ 1.1 GHz OC, both at maximum OC for my N9 & N900;
- N9 @ 1.0 GHz is 14.8x faster than N810;
- N900 @ 600 MHz is 7.3x faster than N810;
- Core i7 930 is 14.4x faster than N9 @ 1.0 GHz, 28.3x faster than N900 @ 600 MHz, 243x faster than N810.

very helpfull info thnx;)

amandalam 2012-04-07 08:13

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by pipould (Post 1188587)
Despite I carefully followed your instructions nothing seems so happens when i click on the icons...

From icons: overclock not reflected in conky But if I overclock from bash, then I can overclock (1.1>1.2) from the icons.

From Bash, launching the scripts(/opt/overclock/*) : overclock OK

Edit:
Creamy goodness confirmed (see below) that downclock is impossible with the last version.

I have modified the scripts a bit. You may try again with the same link and let us know if it works? Thanks.

Dragoss91 2012-04-07 09:44

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by rcolistete (Post 1189124)
I confirm that the overclocking is very real and worth using (in some cases). Here I run a C calculation (for mu0 of type Ia supernovae in cosmology) with 100 thousand numerical integrals using double precision :

I didn't say OC is useless at all , I was talking about UI only . Can you give us this benchmark please ? Is pretty usefull . :)

rcolistete 2012-04-07 15:17

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by Dragoss91 (Post 1189196)
I didn't say OC is useless at all , I was talking about UI only . Can you give us this benchmark please ? Is pretty usefull . :)

Yeah, I know. N9 has a lot more RAM (1GB x 256 MB) than N900, the Qt Quick UI is smoother, so our overclocking perception is not as visible as on N900.

I've updated my previous post with links for the C source code (with comments in Portuguese because I am Brazilian and the code was not originally meant to be public).

pipould 2012-04-07 19:33

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by amandalam (Post 1189176)
I have modified the scripts a bit. You may try again with the same link and let us know if it works? Thanks.

Working like a charm now :)

qole 2012-04-08 22:52

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by nieldk (Post 1188704)
tried it on open mode kernel, works, did not use aegisctl or opensh, just devel-su

I confirm that I can get 1.1GHz on open mode too.
I'm using coderus' sudo so everything feels like "old times" again... None of this silly devel-su stuff..

Dragoss91 2012-04-09 22:08

Re: overclocking kernel modules for PR1.2
 
1 Attachment(s)
I've took files of amandalam and modified them a bit , also removed 1.1ghz oc profile .

Installing procedure is same , copy usr and opt in the root of N9 then execute this command :

chmod +x /opt/overclock/*

Description of files :

1GHz default profile , smartreflex enabled
1.2GHz + smartreflex disabled
1.3GHz + smartreflex disabled (Better don't try this , it's pretty unstable)

rcolistete 2012-04-09 22:30

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by Dragoss91 (Post 1190226)
1.3GHz + smartreflex disabled (Better don't try this , it's pretty unstable)

I think it depends on each Nokia N9, how each TI OMAP 3630 inside supports higher frequencies. Like overclocking the N900, some lucky users got 1,15 GHz, others only 950 MHz without problems.

Dragoss91 2012-04-09 22:31

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by rcolistete (Post 1190234)
I think it depends on each Nokia N9, how each TI OMAP 3630 inside supports higher frequencies. Like overclocking the N900, some lucky users got 1,15 GHz, others only 950 MHz without problems.

Yes , I've made that 1.3 file for people who want to try it . But I doubt there are phones that could run at 1.3 with no voltage increment .

By the way , has anyone tried other tweaks like governor , up treshold , etc ?

So far I've set up_treshold to 75 and , oc to 1200 and set min freq to 600mhz and of course disabled SR 1 and 2 . We can also tweak ignore_nice_loads , power_bias . :)

F2thaK 2012-04-09 23:28

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by F2thaK (Post 1186420)
I get stuck on this cmd
Code:

/usr/sbin/aegisctl -k
Error: operation not permitted (do you have the right credentials?)

Anyone able to help me with this, Im keen to try! Thanks!


I have aegisctl_pr1.2, opensh_1.00 & inception 0.1 installed.

HanzBlix 2012-04-10 01:02

Re: overclocking kernel modules for PR1.2
 
hmm... did you incept aegisctl when you installed it?

Edit: and did you incept opensh when that was installed too?
you also have to be using opensh instead of devel-su by typing "opensh" in the terminal at the start, yeah I know that's basic, just trying to cover all bases here.

There's also accli -i to check your credentials, and of course you have to be using opensh to get full privileges, installing them alone isn’t enough. I'm not fully sure of the intricate details of inception stuff mind you.

If the above get's you nowhere, I imagine it would be hard to remember if those packages were incepted so you should probably uninstall opensh and aegisctl then reinstall them making sure you follow the install instructions on the inception website to the letter, I believe the main thing is to incept those packages when they're being installed though.

Also itsnotabigtruck mentioned some inception related irc channels he tends to be on a few posts back, if anyone can figure out what's going wrong for ya it'll be him.

rcolistete 2012-04-10 02:23

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by F2thaK (Post 1190243)
Anyone able to help me with this, Im keen to try! Thanks!

I have aegisctl_pr1.2, opensh_1.00 & inception 0.1 installed.

As HansBliz said, the following steps should be followed strictly :

- to install Inception, opensh and aegisctl, see the Inception web page and copy the 3 .deb files to some directory and type :
$ devel-su
and type the password (rootme is the default one), go to same directory;
# dpkg -i inception_0.1_armel.deb
# pasiv
confirming with yes;
# incept opensh_1.00_armel.deb
and type the password (rootme is the default one);
# incept aegisctl_1.2_armel.deb
and type the password (rootme is the default one).

F2thaK 2012-04-10 04:23

Re: overclocking kernel modules for PR1.2
 
I didnt "incept" opensh and aegisctl. I just did what 1st post says. DIdnt really read the INCEPTION website. Thanks guys, Ill have a play after work.

F2thaK 2012-04-10 23:36

Re: overclocking kernel modules for PR1.2
 
got it working!! THANKS

F2thaK 2012-04-11 10:13

Re: overclocking kernel modules for PR1.2
 
If I CBF Id write a clear How-To...

E: Going to try pushing my phones OC limit instead

Dragoss91 2012-04-11 19:26

Re: overclocking kernel modules for PR1.2
 
48 hours after i've set 1.2 frequency and no smart reflex , no reboot/glitch/freeze so far and battery life seems to be almost the same .

Any news about voltage control ?

Creamy Goodness 2012-04-11 19:31

Re: overclocking kernel modules for PR1.2
 
Yeah, I didn't work on it for 4 days thanks to the long weekend... I was out of town and pretty much intoxicated the whole time :P
So, how many people are going to up the voltage? You realize you can't blame anyone if you burn out the chip...

Dragoss91 2012-04-11 20:02

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by Creamy Goodness (Post 1190891)
Yeah, I didn't work on it for 4 days thanks to the long weekend... I was out of town and pretty much intoxicated the whole time :P
So, how many people are going to up the voltage? You realize you can't blame anyone if you burn out the chip...

Changing voltage on N900 requires a bit of experience so not anyone is able to do this without reading a bit about overclocking the n900 and so far I've never heard someone who has burnt a chip .

clovis86 2012-04-11 20:06

Re: overclocking kernel modules for PR1.2
 
current target regarding voltage 1.2 is to put the lowest one to keep full stability of the OS right ?
Same as xlv on N900 ( thinking@ kernel V 50 :D )

Dragoss91 2012-04-11 20:17

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by clovis86 (Post 1190904)
current target regarding voltage 1.2 is to put the lowest one to keep full stability of the OS right ?
Same as xlv on N900 ( thinking@ kernel V 50 :D )

Stability , lowest power consumption and longer battery life , pushing limits in overclock , etc. There are a lot of reasons why we need voltage control .

baboo 2012-04-11 22:38

Re: overclocking kernel modules for PR1.2
 
can someone put step by step guide to get 1.2 , its hard to follow up from the 1st post till getting 1.2 stable

Prestige 2012-04-12 00:03

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by baboo (Post 1190960)
can someone put step by step guide to get 1.2 , its hard to follow up from the 1st post till getting 1.2 stable

That would be really useful!!!!
At 1.2 have you experienced any noticeable performance boost on the browser or anywhere else..?
Does it worth it??

Creamy Goodness 2012-04-12 00:05

Re: overclocking kernel modules for PR1.2
 
wtf is wrong with you guys, do you want me to put numbers beside the steps for you or something?
I mean honestly, do you not know how to download the files or open the zip file or save to your mydocs or click a link or open the terminal or WTF


Quote:

Originally Posted by baboo (Post 1190960)
can someone put step by step guide to get 1.2 , its hard to follow up from the 1st post till getting 1.2 stable

echo 1100000000 > /proc/opptimizer
(that was EIGHT zeroes, don't mess that up)
That will give you 1.1Ghz. I don't guarantee it's safe, just given as example.

So, um, echo 1200000000 > /proc/opptimizer ???? MAYBE???
I dunno what you have to "follow", if you can read I already said that it boosts the voltage to the max if you ask for more than 1.1ghz, if it's not stable, too bad!

Arie 2012-04-12 03:52

Re: overclocking kernel modules for PR1.2
 
This isn't good enough Creamy Goodness, can you do my laundry too while you're at it?

Creamy Goodness 2012-04-12 03:53

Re: overclocking kernel modules for PR1.2
 
lol. sure. what's the ip address of your laundry machine?
I guess I could work on this. I don't wanna though!! Someone play xbox for me at least...

Arie 2012-04-12 03:57

Re: overclocking kernel modules for PR1.2
 
No deal, I want you to do my laundry without my laundry machine's ip address, i also expect my N9 to overclock to 2500 mhz NOW! While you're at it, make a new Nokia Meego Phone too. Lol

Creamy Goodness 2012-04-12 04:04

Re: overclocking kernel modules for PR1.2
 
WHAT? I can't do all those things tonight. Well, maybe if I overclock your laundry machine too... and if I install meego on it, does that count as a 'new phone' then? Yes! Multitasking.

kebbana 2012-04-12 06:05

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by baboo (Post 1190960)
can someone put step by step guide to get 1.2 , its hard to follow up from the 1st post till getting 1.2 stable

Its 7 lines -.- . if thats too hard to follow maybe u should leave it as it is.

but remember to do this too:
first install inception, and everything on that site including opensh and aegisctl

Creamy Goodness 2012-04-12 07:06

Re: overclocking kernel modules for PR1.2
 
Be careful with the voltage control, I let you specify it in uv but it's converted to something else and there are only so many steps, so you won't necessarily get the exact amount you ask for. There are no steps between 1375000 and 1387500 so if I don't limit the max to 1387500 I don't know what it's going to jump to... Therefore I set the max to 1387500 for now.

Dragoss91 2012-04-12 07:49

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by Creamy Goodness (Post 1191066)
Be careful with the voltage control, I let you specify it in uv but it's converted to something else and there are only so many steps, so you won't necessarily get the exact amount you ask for. There are no steps between 1375000 and 1387500 so if I don't limit the max to 1387500 I don't know what it's going to jump to... Therefore I set the max to 1387500 for now.

could you please tell us how to increase voltage ? I wanna try 1.3ghz with 1,38 voltage , i guess it will be stable since my device works pretty well with default voltage .

Sniper_swe 2012-04-12 08:38

Re: overclocking kernel modules for PR1.2
 
Has someone tried this with nitdroid open mode kernel or still only for stock and incept users?
Installed opensh yesterday and it works good.

rainisto 2012-04-12 09:36

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by Sniper_swe (Post 1191091)
Has someone tried this with nitdroid open mode kernel or still only for stock and incept users?
Installed opensh yesterday and it works good.

if you have nitdroid kernel sources, then you can compile modules for nitdroid yourself. Don't expect anyone else to compile them for you.

Sniper_swe 2012-04-12 09:39

Re: overclocking kernel modules for PR1.2
 
don't need them for nitdroid. Want to try in harmattan as everyone else:) I only wanna know if someone tried it for harmattan with nitdroid open mode kernel.

rainisto 2012-04-12 09:43

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by Sniper_swe (Post 1191110)
don't need them for nitdroid. Want to try in harmattan as everyone else:) I only wanna know if someone tried it for harmattan with nitdroid open mode kernel.

let me rephrase then:

if you have nitdroid kernel sources, then you can compile modules for harmattan yourself. Don't expect anyone else to compile them for you.

PS. or ask someone in Nitdroid forums to do it for you. This is wrong forum for such a requests.

Sniper_swe 2012-04-12 11:18

Re: overclocking kernel modules for PR1.2
 
I only wanted to know if someone with nitdroid open mode tried this modules the same way you use them and if it works and if we have to use stock and inception to use them. I'm not trying to get any one to compile it to me. Sorry.

nieldk 2012-04-12 11:24

Re: overclocking kernel modules for PR1.2
 
Quote:

Originally Posted by Sniper_swe (Post 1191141)
I only wanted to know if someone with nitdroid open mode tried this modules the same way you use them and if it works and if we have to use stock and inception to use them. I'm not trying to get any one to compile it to me. Sorry.

Already answered in this thread.
Yes. It works!


All times are GMT. The time now is 13:04.

vBulletin® Version 3.8.8