The Following 25 Users Say Thank You to Cirne For This Useful Post: | ||
|
2011-01-10
, 07:45
|
Posts: 18 |
Thanked: 72 times |
Joined on Sep 2008
|
#3
|
Overclocking makes the device pretty responsive to me....no need to fiddling w/ RAM.
The Following 5 Users Say Thank You to Cirne For This Useful Post: | ||
|
2011-01-10
, 11:31
|
Posts: 155 |
Thanked: 61 times |
Joined on Nov 2009
|
#4
|
|
2011-01-10
, 11:57
|
Posts: 1,427 |
Thanked: 2,077 times |
Joined on Aug 2009
@ Sydney
|
#5
|
There is another point, too-- overclocking will damage your system. It's not a matter of if, it's a matter of how much. By pushing your system's limits, you decrease the life expectancy of the hardware-- and it isn't as easy to replace a burnt-out CPU in a phone as it is in a desktop machine.
The Following User Says Thank You to jakiman For This Useful Post: | ||
|
2011-01-10
, 12:25
|
Posts: 244 |
Thanked: 354 times |
Joined on Jul 2010
@ Scotland
|
#6
|
You could:
mv /usr/bin/rtcom-call-ui /usr/bin/rtcom-call-ui.real
cat <<EOF > /usr/bin/rtcom-call-ui
#!/bin/sh
LD_PRELOAD=/usr/lib/mlocker.so
exec \${0}.real "$@"
EOF
chmod +x /usr/bin/rtcom-call-ui
That should work... hmm might try it
The Following 2 Users Say Thank You to gregoranderson For This Useful Post: | ||
|
2011-01-10
, 12:32
|
Posts: 18 |
Thanked: 72 times |
Joined on Sep 2008
|
#7
|
You could:
mv /usr/bin/rtcom-call-ui /usr/bin/rtcom-call-ui.real
cat <<EOF > /usr/bin/rtcom-call-ui
#!/bin/sh
LD_PRELOAD=/usr/lib/mlocker.so
exec \${0}.real "$@"
EOF
chmod +x /usr/bin/rtcom-call-ui
That should work... hmm might try it
The Following 3 Users Say Thank You to Cirne For This Useful Post: | ||
|
2011-01-10
, 12:37
|
Posts: 18 |
Thanked: 72 times |
Joined on Sep 2008
|
#8
|
The Following 2 Users Say Thank You to Cirne For This Useful Post: | ||
|
2011-01-10
, 12:42
|
Posts: 18 |
Thanked: 72 times |
Joined on Sep 2008
|
#9
|
The Following 4 Users Say Thank You to Cirne For This Useful Post: | ||
|
2011-01-10
, 13:07
|
|
Posts: 820 |
Thanked: 436 times |
Joined on May 2010
@ Portsmouth, UK.
|
#10
|
saying that overclocking will damage the N900 with such certainty is a bit overboard.
I'm not sure if anyone has tried this before, but I searched and didn't find anything, so I figured I'd post it here.
I've always been a little disappointed in how the N900 handles when all its RAM is used up and it starts going to swap. It doesn't happen that often, but sometimes I have four or five browser windows open plus the email client and maybe an xterm... Typically the device pretty much stops responding, and even pressing control-backspace, the power button, or even the lock slider takes ages to work. And if I get a phone call? Sometimes I don't even get the phone window to show up before the phone stops ringing.
Taking a look using htop, it seems like the browser process and X itself are fighting over RAM-- the browser is using what appears to be around 500 or so megs of memory (most of it swapped out, obviously) and both it and X are in disk-wait as both of them page fault to work together on handling the same request. So, I've altered my N900 to make the Xorg process lock all its memory into RAM. Which means that RAM space can't ever be used by other processes, but in my experience, X swapping out is never a good thing on a workstation, and that's probably triply true on a handheld device.
The above technically-heavy description is to drive away people not savvy enough to understand what's going on here, because trying what I've done can very, very easily brick your phone. If you do try this, have some sort of way to fix your phone, like the rescue ramdisk over at the Meego site. Though I suppose just reflashing would work, too, if you don't mind having to restore from a backup.
I haven't done any serious tests on this, but it SEEMS more responsive now. How much is true and how much placebo, I couldn't say.
If you want to try this, you'll need root access. Download the attached file, untar it, and move mlocker.so into /usr/lib. Edit /etc/event.d/xomap and add LD_PRELOAD=/usr/lib/mlocker.so to the beginning of the exec line, so it should look like this:
Like I said, it seems to help. It won't make your N900 any faster per se and it won't make ANY difference if you're not using up all your RAM, but if you are, things should get a little more responsive. I find that actually pressing control-backspace works better at getting me to the task switcher than half-pressing the camera button with camkeyd, but I can pretty reliably get to the switcher and close apps.
Phone app is a bit more responsive when I get a call, though not quite as much as I'd like. I'd really like to do the same thing for hildon-desktop (the window manager) and rtcom-call-ui (the phone app), and maybe systemui (the power key menu), but those are all run by maemo-launcher, so I can't do quite the same trick there. I wish there were a way to force memory page locking from outside a process in Linux, but if there is I don't know about it.
Anyway, if you've gotten this far and decide to try this, let me know if and how well it works!
Last edited by Cirne; 2011-01-10 at 04:29.