maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Has anyone overclocked their CPU to death yet? (https://talk.maemo.org/showthread.php?t=51811)

deprecated 2010-07-11 09:09

Re: Has anyone overclocked their CPU to death yet?
 
Quote:

Originally Posted by mangal_sk8erboy (Post 747891)
aha!i see youve made a partition on your micro sd for a little more ram huh?(btw if i chose to make those commands..wont i lose all my memory in the micro sd?)
btw, can you explain what rcS and swappiness is for ??
and could you give us a detailed step by step procedure on YOUR current config?INCLUDING the voltages and everything!(i would like to try 1 ghz now :P..
since 850 seems stable for 10 hours..then it seems as if its back to 600 mhz at stock kernel!!

You won't necessarily lose all the data on your sd card if you partition it appropriately; I only have a 384MB swap partition on my 4GB class 6, with the rest as a fat32 partition. All depends how you partition it. There are a few guides floating around (http://wiki.maemo.org/Swap_on_microSD).

/etc/init.d/rcS is essentially the file that calls all of the actions that happen when you boot the device up - things like starting the hildon-desktop, activating partitions, setting environment variables, etc.

Swappiness is a variable that indicates how much the system will prefer physical RAM over using virtual RAM (swap space). The default setting in Maemo5 (up to and including PR 1.2) is 100, which means it nearly always preemptively swaps - even when not needed. Setting it to 50 (or even 30, when using the internal swap partition), will nudge that balance a bit - make the system use up physical RAM (which is significantly faster than swap space) before deciding to use swap... in a nutshell.

As for my config, I can upload and post it, and will write up a tutorial to help the process a bit... bear with me, I will reply to this thread when complete.

mangal_sk8erboy 2010-07-11 09:25

Re: Has anyone overclocked their CPU to death yet?
 
Quote:

Originally Posted by jakiman (Post 747899)
I currently use ulv profile for voltage and max limit set to 1000.

kernel-config load ulv
kernel-config limits - 1000
kernel-config save ulv_1000

thats's it. I used to run at 1100 but now 1000 as I don't need it for now.
I also use ulv instead of ideal in hope to be more stable all day long.

Not doing anything extra fancy.

oh. I use d-livil's Blac Plastic theme 2.x which has an awesome custom transition that makes everything feel much snappier as well.

oh cool!so whats with the "-" ?
what does that mean in terms of frequency?
oh and have you found a work around for the incredibly laggy scrolling?

deprecated 2010-07-11 09:43

Re: Has anyone overclocked their CPU to death yet?
 
Alright, grab my kernel config first:

http://junkiez.org/maemo/kernelOC

after installing the power user kernel from the repository (reboot if you haven't done so), follow these steps:

copy kernelOC to your N900 (/home/user/MyDocs) over USB
open xterminal and do:

sudo gainroot
mkdir /home/user/.kernel
cp /home/user/MyDocs/kernelOC /home/user/.kernel

open kernelOC in nano to edit to your needs:

nano /home/user/.kernel/kernelOC

read the # comments in that file, should give you a good idea of what you're after.

after you're done editing, save with ctrl+x (then y, enter)

then, if you're sure your settings are kosher:

kernel-config load kernelOC

if it doesn't hang up or reboot immediately, test out a couple of videos in media player/browse the web a little bit. If it doesn't lock up:

kernel-config default kernelOC



Now, your N900 will have essentially my same settings, for a bit of other tweaking:

nano /etc/init.d/rcS

scroll down to almost the end of the file where you'll find comments stating the following:

# adjust other kernel parameters to minimize memory consumption
# and optimize IO pressure

change the values /proc/sys/vm/swappiness and /proc/sys/vm/page-cluster to read:

echo 50 > /proc/sys/vm/swappiness
echo 0 > /proc/sys/vm/page-cluster

save and exit nano.

if you'd like to swap from your sd card, please partition it with a swap partition and use a script titled 'swapmod' in /etc/event.d like so:

nano /etc/event.d/swapmod

enter the following:

start on started hildon-desktop
stop on starting shutdown
console none
service

script

swapoff /dev/mmcblk0p3
swapon /dev/mmcblk1p2

end script



Please note, the above partitions - /dev/mmcblk0p3 is Maemo5's default internal swap location, and /dev/mmcblk1p2 is the second partition on the sd card, assuming you have created a swap partition on your sdcard and want to use it and it alone.

http://wiki.maemo.org/Swap_on_microSD for more details.

Let me know if you need any help.

deprecated 2010-07-11 09:49

Re: Has anyone overclocked their CPU to death yet?
 
Quote:

Originally Posted by mangal_sk8erboy (Post 747935)
oh cool!so whats with the "-" ?
what does that mean in terms of frequency?
oh and have you found a work around for the incredibly laggy scrolling?

The scrolling appears laggy, but is actually screen tearing because of the lack of vertical sync (it will never be fixed in Maemo, unless the community figures out how to get PowerVR to release driver source). Overclocking helps alleviate this a bit.

jakiman 2010-07-11 12:26

Re: Has anyone overclocked their CPU to death yet?
 
Quote:

Originally Posted by mangal_sk8erboy (Post 747935)
oh cool!so whats with the "-" ?
what does that mean in terms of frequency?
oh and have you found a work around for the incredibly laggy scrolling?

"-" means it leaves the value alone. So no change to min frequency in my example.
and no, there's no real fix yet for increasing the frames nor enabling vsync unfortunately.

mangal_sk8erboy 2010-07-11 14:39

Re: Has anyone overclocked their CPU to death yet?
 
hmmm..any ideas on how to get vsync in the scene?is it due to lack of hardware or is it just the software thats missing?
n alright guys i know im a lil off topic but i have a problem that does not seem to be solved. see, the phone feels great once i over clock it.but after a day, it gets depressingly laggy and freezes randomly when there are sudden processes running. but after a reboot, it runs fine again. do you guys reboot your phones every two days??and secondly, overclocking seems to work for a day, but then gets back to its laggy self later..u noe SUDDEN LAG spikes and freezes..btw, on conky, my "Mem:" is at a constant red.(its right below cpu usage on the right)
does that have to do with anything?i really wish i didnt have to reboot my phone once in a while cuz it is quite battery consuming.
help!

deprecated 2010-07-11 20:17

Re: Has anyone overclocked their CPU to death yet?
 
Quote:

Originally Posted by mangal_sk8erboy (Post 748205)
hmmm..any ideas on how to get vsync in the scene?is it due to lack of hardware or is it just the software thats missing?
n alright guys i know im a lil off topic but i have a problem that does not seem to be solved. see, the phone feels great once i over clock it.but after a day, it gets depressingly laggy and freezes randomly when there are sudden processes running. but after a reboot, it runs fine again. do you guys reboot your phones every two days??and secondly, overclocking seems to work for a day, but then gets back to its laggy self later..u noe SUDDEN LAG spikes and freezes..btw, on conky, my "Mem:" is at a constant red.(its right below cpu usage on the right)
does that have to do with anything?i really wish i didnt have to reboot my phone once in a while cuz it is quite battery consuming.
help!


mine has been up for a week at the same clock with no stability issues, or no variation in 'snappiness'. When running conky, look for any offending processes - processes using large amounts of cpu cycles/memory. If you haven't adjusted your cache/io pressure, I'd suggest you do that, as it makes a huge difference with longevity.

On another note, the lack of vsync lies only in software - the drivers for our PowerVR chipset. The iPhone 3GS has virtually the same chipset, but has vsync functionality. So, it isn't a limitation of hardware, just an oversight on the agreements with PowerVR. It may come eventually, but it'll be fixed in MeeGo, which we will undoubtedly get - whether or not is supported officially (who cares!) :)

mangal_sk8erboy 2010-07-12 12:08

Re: Has anyone overclocked their CPU to death yet?
 
Quote:

Originally Posted by deprecated (Post 748430)
mine has been up for a week at the same clock with no stability issues, or no variation in 'snappiness'. When running conky, look for any offending processes - processes using large amounts of cpu cycles/memory. If you haven't adjusted your cache/io pressure, I'd suggest you do that, as it makes a huge difference with longevity.

On another note, the lack of vsync lies only in software - the drivers for our PowerVR chipset. The iPhone 3GS has virtually the same chipset, but has vsync functionality. So, it isn't a limitation of hardware, just an oversight on the agreements with PowerVR. It may come eventually, but it'll be fixed in MeeGo, which we will undoubtedly get - whether or not is supported officially (who cares!) :)


wow, thats great news!last thing, how do i adjust my cache/io pressure :$?(small tutorial <3)
n r u sure the mem below the cpu usage being completely red is not a bad sign?
i think thats my problem!
my cellphones been on for 2 days and it quite horrible..gonna restart right now :D!
thanks alot man, youve been a great help!

GameboyRMH 2010-07-12 12:20

Re: Has anyone overclocked their CPU to death yet?
 
A guy on Slashdot had his OC'd to 1.1Ghz :eek:

deprecated 2010-07-12 12:20

Re: Has anyone overclocked their CPU to death yet?
 
Quote:

Originally Posted by GameboyRMH (Post 749127)
A guy on Slashdot had his OC'd to 1.1Ghz :eek:

I do, too.


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

vBulletin® Version 3.8.8