maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Announce] kernel-power stable v49 in Extras-Testing (https://talk.maemo.org/showthread.php?t=71879)

fahadj2003 2011-11-14 15:37

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by disappear (Post 1123426)
First:learn where is Bulgaria
Second:then comment
and finally:nothing personal but very stupid opinion

why were u speaking russian? :(
my lawyer is calling me.

Alfred 2011-11-14 15:55

Re: [Announce] kernel-power unstable v49
 
Dude, relax.
First of all it wasn't russian, trust me on that one.
Second, as already been told by freemangordon, drop this subject, it's offtopic

freemangordon 2011-11-14 15:55

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by moepda (Post 1123431)
sorry to bump my post up but @freemangordan could you explain which bridgedriver ?

If videos still work don't touch it.

Alfred 2011-11-14 16:01

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by Alfred (Post 1123085)
Here running at 125:10,90
will report tomorrow, leave it this way for a night with a charger plugged in.

so i woke up about 5 hours later, and found my phone being turned off... Sad... But the side lock switch test was passed through without any reboots.
Will try smth else later.

EDIT
btw i actually left it WITHOUT charger

freemangordon 2011-11-14 16:01

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by Estel (Post 1123365)
Hey, let's remain on the sane side of the Force. If voltages below 20 result in problems while unlocking, I just imagine what may happen during more demanding (instant big differences in current) situations.

I'm also not 100% sure about risk of filesystem corruption because of "sneaky" undervoltage (one that doesn't result in reboots, but may result in CPU calculating with errors), but I do believe, that I encountered it once, long time ago. Despite being careful with things I install, many things started to act bizarrely, or just get plain broken, and it was getting worse over time. I was using so-called "ideal" undervolting profiles - without random reboots - and it was one and only time, when I had to reflash - after that, installing the same packages etc, but using custom profile with much higher voltages, I *never* encountered such problems again.

So, as I've said - I can't be 100% sure, but it seems to me that it isn't urban legend. Saving battery life is cool, but lets don't get over-excited with it, and remain in sane, 150% stable values, +1 value up, just in case ;)

/Estel

Agree, will revert minimum voltage back to 20 in patch to pali. And maybe will give a little voltage boost(12.5 mV) for 250MHz

EDIT:
Seems most of the devices cannot handle voltage bellow 20(850mv). So it does not make sense to enable SR to go bellow that. If someone wants he can always make a custom profile with whatever voltages he want :)

fahadj2003 2011-11-14 16:05

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by Alfred (Post 1123439)
Dude, relax.
First of all it wasn't russian, trust me on that one.
Second, as already been told by freemangordon, drop this subject, it's offtopic

alright alright. i respect russia.
im stupid coz im indian.

moepda 2011-11-14 16:47

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by freemangordon (Post 1123440)
If videos still work don't touch it.

cheers for replying :) , decided to test so copied the bridgedriver over replacing old version and video's still work so will try that for a few days to test.

SirSocke 2011-11-15 07:58

Re: [Announce] kernel-power unstable v49
 
I can confirm that voltages lower than 20 will cause reboots sometimes.

knobby 2011-11-15 11:12

Re: [Announce] kernel-power unstable v49
 
hello freemangordon...

i had a reboot at 900MHz during a video playback and also under some normal usage but not very frequently...
so i have set freq limit to 850 & dsp to 560..

can please suggest some changes..?
thanks

pali 2011-11-16 07:00

Re: [Announce] kernel-power unstable v49
 
Hello, I uploaded new KP build. If it is stable it will go to extras-devel!

freemangordon 2011-11-16 07:09

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by knobby (Post 1123860)
hello freemangordon...

i had a reboot at 900MHz during a video playback and also under some normal usage but not very frequently...
so i have set freq limit to 850 & dsp to 560..

can please suggest some changes..?
thanks

Latest build from Pali has some voltage boost for 900, you can try it

EDIT:

@all - this is the changelog for latest build compared to previous

1.VDD1 efuse calibration values support up to 900MHz

2. Fixed bug (introduced by me) causing incorrect efuse calibration value to be used for VDD1 SR (i.e. instead calibration value for OPP(n), calibration value for OPP(n-1) was used)

3. efuse calibration values for all VDD1 OPPs recalculated as stock ones(for 125MHz and 250MHz) were keeping too high voltages

4. added several entries under /sys/power
sr_vdd1_voltage
sr_vdd2_voltage
efuse_vdd2

sr_vdd1_voltage, sr_vdd2_voltage reflect current voltages for VDD1 and VDD2 respectively when SmartReflex is active

5. /sys/power/Efuse renamed to efuse_vdd1

6. When SmartReflex is active, current calculated voltage is stored as default for current frequency when frequency switch occurs. That way next time this frequency becomes active, AVS starts from last voltage(+1 to be on a safe side) instead from profile value(no overvoltage happens on frequency switch).

7. In case DSP is overclocked for a particular frequency a little voltage boost is added to SR calibration for that frequency(12.5 mV if 430<freq<=520 and 25mV if freq>520).

8. SmartReflex AVS step reduced to 1(12.5mV) from 4(50mV) to prevent undervoltage

Estel 2011-11-16 18:46

Re: [Announce] kernel-power unstable v49
 
Sorry for most likely dumb question, but where latest devel-candidate version was uploaded? I don't want to accidentally test older version. Of course tried searching for a while, but again, I'm lost when it comes to non-repos testing places (no accusation here, it's probably just me).

Also, for testing purposes, should we use only vdd1, or vdd2 too? I remember, that you thought about possible need for recalculating vdd2 to, so common sense tells me "use vdd1 only". Confirm/Deny?

/Estel

handaxe 2011-11-16 18:58

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by Estel (Post 1124558)
Sorry for most likely dumb question, but where latest devel-candidate version was uploaded? I don't want to accidentally test older version.

See link in first post of this thread

Estel 2011-11-16 19:07

Re: [Announce] kernel-power unstable v49
 
Thanks, I thought about that, but wasn't sure if it is "latest-latest", or "one-before-latest" ;)


/Estel

strange1712 2011-11-16 23:00

Re: [Announce] kernel-power unstable v49
 
Ok, I've been trying this latest kernel (nov.16), and I have had no reboots, took a 720p vid, saw it, I had been checking photos and movies, listening to music, used both Osso-mediaplayer and Open Media Player, browsing the net, applied speedpatch (I've had it removed previously) and still rock-solid.
I Think I'm fine with this, OC@900Mhz, Smartreflex on :D

EDIT: Seems like I spoke too quick... just had a reboot while launching 'qreddit', and then I reboot again to ensure things would go fine, and then Desktop was unresponsive and laggy, checked dmesg and it was full of
Code:

HWRecoveryResetSGX: SGX Hardware Recovery triggered
Every interaction triggered one more line...
One more reboot fixed it...
I don't know what was that, it had never happened to my N900 before...

Estel 2011-11-17 02:22

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by strange1712 (Post 1124700)
applied speedpatch (I've had it removed previously)

I'm damn sure this report would be much more meaningful, without that crap installed. I may be biased, but IMO, it may cause any random thing happening :(

/Estel

knobby 2011-11-17 02:42

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by Estel (Post 1124800)
I'm damn sure this report would be much more meaningful, without that crap installed. I may be biased, but IMO, it may cause any random thing happening :(

/Estel

hi estel..
i haven't installed any sort of speedpatch, swappolube or something like that but still got a reboot at 900MHz...i am really very confused..but one thing for sure smart reflex do works :P my battery backup has increased to several hours...
@freemangordon...thanks a lot pal ! and can u please check the 900 freq or provide some more voltage boost to it...i always see sr_vdd1 voltage stuck at 55 only at 900..

thanku..

firstknight 2011-11-17 02:57

Re: [Announce] kernel-power unstable v49
 
seems like there is alot of testers on the variation of settings... i really hope all stable tweaks can be shared somehow... now i hv to go back the threads and find where was the thread i have looked at that i want to try.... anyway.... great job to alll...

am using the kp49 from the link provided... on dsp profile provided... no tweak yet...

i see new driver for bq27x00 driver... how do i use it? modprob or ther is a new short command for it?

freemangordon 2011-11-17 07:20

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by knobby (Post 1124803)
hi estel..
i haven't installed any sort of speedpatch, swappolube or something like that but still got a reboot at 900MHz...i am really very confused..but one thing for sure smart reflex do works :P my battery backup has increased to several hours...
@freemangordon...thanks a lot pal ! and can u please check the 900 freq or provide some more voltage boost to it...i always see sr_vdd1 voltage stuck at 55 only at 900..

thanku..

Latest build (i.e. the one from pali) has a little voltage boost for 900, but if SR calculates 55 for 900 (and it is still unstable) then this frequency is not for you phone, 55 is damn high. I would recommend you to either disable SR, or to limit max frequency to 850 (or even better 805). Or do not use DSP frequencies above 540, SR tolerates DSP overclock, but it seems your device is too "weak" to work properly with SR when overclocked too much.

EDIT:
@strange1712 - this message appears sometimes if device is rebooted instead of powered down. It happens on stock kernel too, not related to KP. On the other hand AFAIK speedpatch has its own frequency profiles, which are not compatible with latest KP because of the frequencies change. Please remove it before continue testing.

fahadj2003 2011-11-17 08:46

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by freemangordon (Post 1124861)
Latest build (i.e. the one from pali) has a little voltage boost for 900, but if SR calculates 55 for 900 (and it is still unstable) then this frequency is not for you phone, 55 is damn high. I would recommend you to either disable SR, or to limit max frequency to 850 (or even better 805). Or do not use DSP frequencies above 540, SR tolerates DSP overclock, but it seems your device is too "weak" to work properly with SR when overclocked too much.

EDIT:
@strange1712 - this message appears sometimes if device is rebooted instead of powered down. It happens on stock kernel too, not related to KP. On the other hand AFAIK speedpatch has its own frequency profiles, which are not compatible with latest KP because of the frequencies change. Please remove it before continue testing.

batterypatch does, speedpatch doesnt..

ammyt 2011-11-17 08:52

Re: [Announce] kernel-power unstable v49
 
I got the latest (Nov 16) KP 49 from the first post, but I kinda have a problem. My profile is:
Code:

# kernel configuration file generated by /usr/sbin/kernel-config
MINFREQ=500
MAXFREQ=900
FREQS="0:25,90 500:49,500 550:51,600 600:51,600 700:51,600 750:51,600 805:51,600 850:51,600 900:53,600 950:54,500 1000:60,500 1100:72,520 1150:72,520 "
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=0
GOVERNOR=ondemand
IGNORE_NICE_LOAD=0
UP_THRESHOLD=85
SAMPLING_RATE=150000
POWERSAVE_BIAS=0

When I enable SR VDD1 and VDD2, HD recording no longer works. When I start cameraui2 (freemangordon's one of course) and just hit the camera button to record, the screen flickers three times, and then all of what I can see is a black screen. The weird thing is that even if I disable SR, and reboot, the problem persists. The only way to get around it is by a reflash. Another weird thing is that my device is perfectly stable, HD playback is excellent, but recording isn't.

Some light?

freemangordon 2011-11-17 08:55

Re: [Announce] kernel-power unstable v49
 
@fahadj2003 - Ok, if you say so. I've tried that crap once, and removed it in a blink of an eye as it caused my device to be laggy as hell, and to freeze h-d leading to reboot.

Anyway, it could be a coincidence that restart happend after installing "speedpatch", but it could be not.

Radicalz38 2011-11-17 08:59

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by strange1712 (Post 1124700)
Ok, I've been trying this latest kernel (nov.16), and I have had no reboots, took a 720p vid, saw it, I had been checking photos and movies, listening to music, used both Osso-mediaplayer and Open Media Player, browsing the net, applied speedpatch (I've had it removed previously) and still rock-solid.
I Think I'm fine with this, OC@900Mhz, Smartreflex on :D

EDIT: Seems like I spoke too quick... just had a reboot while launching 'qreddit', and then I reboot again to ensure things would go fine, and then Desktop was unresponsive and laggy, checked dmesg and it was full of
Code:

HWRecoveryResetSGX: SGX Hardware Recovery triggered
Every interaction triggered one more line...
One more reboot fixed it...
I don't know what was that, it had never happened to my N900 before...

Somehow I seldom experience this on stock kernel and from kernel power 42 till present

freemangordon 2011-11-17 09:14

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by ammyt (Post 1124894)
I got the latest (Nov 16) KP 49 from the first post, but I kinda have a problem. My profile is:
Code:

# kernel configuration file generated by /usr/sbin/kernel-config
MINFREQ=500
MAXFREQ=900
FREQS="0:25,90 500:49,500 550:51,600 600:51,600 700:51,600 750:51,600 805:51,600 850:51,600 900:53,600 950:54,500 1000:60,500 1100:72,520 1150:72,520 "
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=0
GOVERNOR=ondemand
IGNORE_NICE_LOAD=0
UP_THRESHOLD=85
SAMPLING_RATE=150000
POWERSAVE_BIAS=0

When I enable SR VDD1 and VDD2, HD recording no longer works. When I start cameraui2 (freemangordon's one of course) and just hit the camera button to record, the screen flickers three times, and then all of what I can see is a black screen. The weird thing is that even if I disable SR, and reboot, the problem persists. The only way to get around it is by a reflash. Another weird thing is that my device is perfectly stable, HD playback is excellent, but recording isn't.

Some light?

Man, I am impressed that your device works at all with the above profile. DSP@600 and MPU@550 ?!? WTF? What are you trying to achieve with that? Of course it won't work with SR enabled. And 700 and 750 are deprecated, you should use 720 instead.

Or best throw that profile away and use dsp with modified MAX frequency.

EDIT:
Just wondering what is your battery life with this profile. 6 hours?

fahadj2003 2011-11-17 09:51

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by freemangordon (Post 1124896)
@fahadj2003 - Ok, if you say so. I've tried that crap once, and removed it in a blink of an eye as it caused my device to be laggy as hell, and to freeze h-d leading to reboot.

Anyway, it could be a coincidence that restart happend after installing "speedpatch", but it could be not.

sure it wasn't battery patch? tis with the profiles.. and smartreflex enabled till 805.. which wasn't supported at the time being..

Quote:

Originally Posted by ammyt (Post 1124894)
I got the latest (Nov 16) KP 49 from the first post, but I kinda have a problem. My profile is:
Code:

# kernel configuration file generated by /usr/sbin/kernel-config
MINFREQ=500
MAXFREQ=900
FREQS="0:25,90 500:49,500 550:51,600 600:51,600 700:51,600 750:51,600 805:51,600 850:51,600 900:53,600 950:54,500 1000:60,500 1100:72,520 1150:72,520 "
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=0
GOVERNOR=ondemand
IGNORE_NICE_LOAD=0
UP_THRESHOLD=85
SAMPLING_RATE=150000
POWERSAVE_BIAS=0

When I enable SR VDD1 and VDD2, HD recording no longer works. When I start cameraui2 (freemangordon's one of course) and just hit the camera button to record, the screen flickers three times, and then all of what I can see is a black screen. The weird thing is that even if I disable SR, and reboot, the problem persists. The only way to get around it is by a reflash. Another weird thing is that my device is perfectly stable, HD playback is excellent, but recording isn't.

Some light?

link me with hd recording.. i'll be happy to test..
jus recorded it at 848x400.. at 600 dsp.. froze at first *dunno why*.. but worked fine later..

# DO NOT EDIT THIS FILE - CREATE A COPY OF IT FOR CUSTOMIZATION
# minimum frequency to use
MINFREQ=900
# maximum frequency to use
MAXFREQ=1100
# list of frequency configurations: each "frequency:volt,dsprate"
FREQS="0:25,90 125:25,90 250:33,180 500:43,360 550:49,400 600:55,430 720:55,520 805:55,600 850:55,600 900:55,600 950:55,600 1000:61,600 1100:72,600 1150:72,600"
SMARTREFLEX_VDD1=0
SMARTREFLEX_VDD2=0
GOVERNOR=ondemand
UP_THRESHOLD=95
SAMPLING_RATE=100000
IGNORE_NICE_LOAD=1
POWERSAVE_BIAS=56

knobby 2011-11-17 10:24

Re: [Announce] kernel-power unstable v49
 
@freemangordon...
oops ! thanks a lot ... u saved my beloved n900 cpu from frying :p
okay, now i am using these settings and everything seems to be good till now..

# DO NOT EDIT THIS FILE - CREATE A COPY OF IT FOR CUSTOMIZATION
# minimum frequency to use
MINFREQ=125
# maximum frequency to use
MAXFREQ=850
# list of frequency configurations: each "frequency:volt,dsprate"
FREQS="0:30,90 125:30,90 250:38,180 500:48,360 550:54,400 600:60,430 720:60,480 805:60,540 850:60,600 900:60,600 950:60,600 1000:60,600 1100:72,600 1150:72,600"
SMARTREFLEX_VDD1=1
SMARTREFLEX_VDD2=1
GOVERNOR=ondemand
UP_THRESHOLD=95
SAMPLING_RATE=300000
IGNORE_NICE_LOAD=0
POWERSAVE_BIAS=0

and sr_vdd1 shows this
720:45
805:49
850:52

are these values good or i still need to reduce frequency and dsp..(p.s - no reboots till now with these settings)
thanks...

maacruz 2011-11-17 10:51

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by freemangordon (Post 1124896)
@fahadj2003 - Ok, if you say so. I've tried that crap once, and removed it in a blink of an eye as it caused my device to be laggy as hell, and to freeze h-d leading to reboot.

Anyway, it could be a coincidence that restart happend after installing "speedpatch", but it could be not.

So called "speedpatch" just enables cgroups, but doen't assign processes to any cgroup so all processes remain under the main cgroup, so, in other words, it actually does absolutely nothing.
Nothing at all :D

ammyt 2011-11-17 10:52

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by freemangordon (Post 1124903)
Man, I am impressed that your device works at all with the above profile. DSP@600 and MPU@550 ?!? WTF? What are you trying to achieve with that? Of course it won't work with SR enabled. And 700 and 750 are deprecated, you should use 720 instead.

Or best throw that profile away and use dsp with modified MAX frequency.

EDIT:
Just wondering what is your battery life with this profile. 6 hours?

Yeah well, I don't much care about battery life, I care about blazing fast through the device.
The dsp profile, hmmm. When I load it, and then start to capture anything in HD, the preview of camerui2 is laggy, not the video... I mean, as you are recording, you see what is being recorded. <-- This part is laggy. But the video recorded is great.

But with that profile, everything is fast, but now I guess that it is frying my N900 right?

EDIT: I have changed the 700 and 750 steps to 720. That post was a typo.

freemangordon 2011-11-17 11:24

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by ammyt (Post 1124941)
Yeah well, I don't much care about battery life, I care about blazing fast through the device.
The dsp profile, hmmm. When I load it, and then start to capture anything in HD, the preview of camerui2 is laggy, not the video... I mean, as you are recording, you see what is being recorded. <-- This part is laggy. But the video recorded is great.

The previewer is laggy because the video is great, got it :p.

Quote:

But with that profile, everything is fast, but now I guess that it is frying my N900 right?

EDIT: I have changed the 700 and 750 steps to 720. That post was a typo.
If by "that profile" you mean your custom profile, yes, you are stressing your device with no gain at all.

Just use dsp with limits 250(or 125)-900, remove all "magical" patches and you will fine with both performance and battery life.

don_falcone 2011-11-17 13:05

Re: [Announce] kernel-power unstable v49
 
Using pali's 20111116 build is generally stable. I had just one exception with the previous 20111112 build: moving all the new KP build packages over from my Windows box via WiFi & CIFS resulted in a reboot. (stock kernel-power-settings-13 'dsp' profile).

Push it to testing already, but i dunno what the _current_ issue with the repository is.

karam 2011-11-17 13:38

Re: kernel-power patches/updates
 
well well i have been off for a long while
now just to make somethings clear :

for who are using batterypatch and using KP latest build : edit overclock profile and remove 700 and change 750 to 720
and you will be fine

for who are using speedpatch (and doesn't having problems wih it)
then continue using it, there are no conflicts betwean it and KP

and the only problem than speedpatch may cause is the terminal message
still i can't solve that

and speedpatch doesn't cause unexpected reboots

@maacruz
actually it does assign processes to cgroup
you can check your self
the 1st version of speedpatch didn't do that

@freemangordon

Quote:

Originally Posted by freemangordon (Post 999852)
I really appreciate your efforts and hard work of being maintainer of KP and part of CSSU team, please, respect my work too.

please respect my work too

and i don't know why it caused you troubles
anyway after installing speedpatch you and some others may think that moving from A to B as everything in /sysparts is moved to /dev/cgroup doesn't improve anything

but that is wrong
it actually improves multiple things as linus torvalds said

on N900 the most imroved thing are multitask and some other programms EX: transmission, nokia panorama ...etc

hope i made everything clear :)

patlak 2011-11-17 15:43

Re: [Announce] kernel-power unstable v49
 
Ever since I updated to 16/11 kp49, xorg doesn't seem to wanna settle down. Idle CPU mode is at 250mhz 30% load minimum, xorg is 15% minimum.

fahadj2003 2011-11-17 15:59

Re: kernel-power patches/updates
 
Quote:

Originally Posted by karam (Post 1125004)
well well i have been off for a long while
now just to make somethings clear :

for who are using batterypatch and using KP latest build : edit overclock profile and remove 700 and change 750 to 720
and you will be fine

for who are using speedpatch (and doesn't having problems wih it)
then continue using it, there are no conflicts betwean it and KP

and the only problem than speedpatch may cause is the terminal message
still i can't solve that

and speedpatch doesn't cause unexpected reboots

@maacruz
actually it does assign processes to cgroup
you can check your self
the 1st version of speedpatch didn't do that

@freemangordon



please respect my work too

and i don't know why it caused you troubles
anyway after installing speedpatch you and some others may think that moving from A to B as everything in /sysparts is moved to /dev/cgroup doesn't improve anything

but that is wrong
it actually improves multiple things as linus torvalds said

on N900 the most imroved thing are multitask and some other programms EX: transmission, nokia panorama ...etc

hope i made everything clear :)

quite frankly, i love speedpatch, surprisingly it did improve things.. or maybe hw acceleration thingy did.. dunno.. dun matter.. i love cssu but haven't installed it yet, waiting for next update, coz last time i did, nokia suit thought im on pr1.3.1 and i needed a "maps update".. and most of all kp..

freemangordon 2011-11-17 16:01

Re: [Announce] kernel-power unstable v49
 
Quote:

Originally Posted by patlak (Post 1125043)
Ever since I updated to 16/11 kp49, xorg doesn't seem to wanna settle down. Idle CPU mode is at 250mhz 30% load minimum, xorg is 15% minimum.

Just power-cycle your device, most probably your dmesg log is full with "sgx-recovery" messages

patlak 2011-11-17 16:11

Re: [Announce] kernel-power unstable v49
 
No "sgx-recovery" message in dmesg. And I rebooted the device 3 times already, still the same.

EDIT: Cleared dmesg log and did a power-cycle. Back to normal.

vi_ 2011-11-17 16:22

Re: [Announce] kernel-power unstable v49
 
Take the battery out for 30 seconds. Then have a look.

I have been away for a while am well horny about the inclusion of compcache&hd recording. Is there a wiki entry that details the instructions required to get all this cool **** up to date?

OR

Should I just wait for KP49 to hit the repos and take it form there?

eL.ectron1k 2011-11-17 16:46

Re: [Announce] kernel-power unstable v49
 
guys
what is default file which is loading after every reboot?

Estel 2011-11-17 16:50

Re: [Announce] kernel-power unstable v49
 
Unfortunately, due to Nokians being slow on releasing code of some LGPL'ed binary, + DSP binary part, that we aren't going to have source code for, manual part of installation will be still required. I don't think, that we're going to re-distribute closed source DSP binary - as freemangordon said, it's probably not even belonging to Nokia. People need to extraxt those thing from harmattan rootfs (fixme?).

/Estel

maacruz 2011-11-17 17:32

Re: kernel-power patches/updates
 
Quote:

Originally Posted by karam (Post 1125004)
@maacruz
actually it does assign processes to cgroup
you can check your self
the 1st version of speedpatch didn't do that

mmm (me scratches head), let's see
Pali, freemangordon and the rest of the respectable members of this forum, I ask for your forgiveness for going off-topic, this will be the only and last time.
Code:

/tmp $ apt-cache showpkg speedpatch
Package: speedpatch
Versions:
1.9-5 (/var/lib/apt/lists/repository.maemo.org_extras-devel_dists_fremantle-1.3_free_binary-armel_Packages)

Yes, I suppose this is the last version.
(me apt-get -d install speedpatch)
(me dpkg -x speedpatch /tmp/speedpatch)
Code:

/tmp/speedpatch $ find -type f
./home/user/.bashrc.speedpatch
./home/user/.profile.speedpatch
./usr/local/sbin/cgroup_clean
./etc/event.d/speedpatch
./etc/rc.local

That must be it. Let's look at it.
rc.local -> this just creates the cgroup user directory and sets the cgroup_clean script as release agent
evet.d/speedpatch -> just the same
cgroup_clean -> this just removes an empty cgroup directory
.profile.speedpatch -> this just calls .bashrc as is customary
.bashrc.speedpatch -> mmmm how funny.
Code:

/tmp/speedpatch $ cat home/user/.bashrc.speedpatch
if [ "$PS1" ] ; then
mkdir -p -m 0700 /dev/cgroup/cpu/user/$$ > /dev/null 2>&1
echo $$ > /dev/cgroup/cpu/user/$$/tasks
echo "1" > /dev/cgroup/cpu/user/$$/notify_on_release
fi

This just creates a cgroup for each interactive bash shell opened, and the cgroup directory will be the PID of the shell.
Just like I do in my desktop... to launch cpu hungry processes like kernel builds from the xterm
Of course this does nothing for processes not launched from a xterm.

Let's see what's said in the "speedpatch" thread.
Quote:

Originally Posted by karam (Post 1012180)
This patch addresses the problem by taking note of what the user is doing right now, and using that information to accelerate the current task, and decelerate other tasks on the system.
The user won't notice the background stuff going slower, they will just see their app working fast. The patch does this by creating multiple classes of task
-------------------------------------------
/dev/cgroup/cpu/tasks
/dev/cgroup/cpu/desktop/tasks
/dev/cgroup/cpu/applications/tasks
/dev/cgroup/cpu/applications/standby/tasks
/dev/cgroup/cpu/applications/launcher/tasks
-------------------------------------------

LOL. This "speedpatch" does nothing of what it's said in the first post! :D :D

It doesn't create any of those cgroups, and of course, it doesn't monitor anything nor moves any process to any cgroup.
It just creates a cgroup for each interactive shell, but how many processes are launched from a shell in the N900?
None. Processes are lauched by dbus from GUI actions.

So, as I said before, all processes remain under the main cgroup, and this "speedpatch" does nothing.
Unless you want to compile the kernel in your N900 or something like that :D

Ahhh Karam, what a naugty joker you are!

ammyt 2011-11-17 17:37

Re: [Announce] kernel-power unstable v49
 
Lol you did that maacruz didn'tchu
I actually investigated it since the beginning and have known that but didn't want to post my findings anywhere not to let down the spirits.

At least you get a placebo!
Where is epitaph BTW? He invented that crap in the first place...
[/END-OFFTOPIC]


All times are GMT. The time now is 10:06.

vBulletin® Version 3.8.8