![]() |
2011-01-18
, 23:01
|
Posts: 1,042 |
Thanked: 430 times |
Joined on May 2010
|
#22
|
![]() |
2011-01-19
, 00:06
|
Posts: 1,463 |
Thanked: 1,916 times |
Joined on Feb 2008
@ Edmonton, AB
|
#23
|
The Following User Says Thank You to Creamy Goodness For This Useful Post: | ||
![]() |
2011-01-19
, 01:20
|
Posts: 343 |
Thanked: 165 times |
Joined on Sep 2010
|
#24
|
overclocking will damage your system.
![]() |
2011-01-19
, 01:40
|
Posts: 4,556 |
Thanked: 1,624 times |
Joined on Dec 2007
|
#25
|
![]() |
2011-01-19
, 02:03
|
Banned |
Posts: 358 |
Thanked: 160 times |
Joined on Dec 2010
|
#26
|
![]() |
2011-01-19
, 03:02
|
Posts: 18 |
Thanked: 72 times |
Joined on Sep 2008
|
#27
|
I wonder what happens when I make my device entirely and fully swapless? Looking at Conky there is always about 25% free memory left! Isn't Linux supposed to eat all free memory for diskcache and so on? Isn't it the same idea?
Btw I removed python from being swapped too and my device seems to be very responsive now!
sudo gainroot swapoff -a
The Following User Says Thank You to Cirne For This Useful Post: | ||
![]() |
2011-01-19
, 08:43
|
Posts: 196 |
Thanked: 224 times |
Joined on Sep 2010
@ Africa
|
#28
|
[SIZE="5"]
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 Following User Says Thank You to buchanmilne For This Useful Post: | ||
![]() |
2011-01-19
, 09:20
|
Posts: 63 |
Thanked: 37 times |
Joined on Jul 2010
|
#29
|
![]() |
2011-01-24
, 07:25
|
|
Posts: 21 |
Thanked: 15 times |
Joined on Jan 2011
|
#30
|
So I had to try and fix things in the rootfs filesystem using the meego rescue initrd, which was complicated because I didn't understand ubifs at all.
For anyone else that falls into that trap (assuming you're using the meego rescue initrd, or any other initrd that gives you a standard shell):
1. Append ubi.mtd=rootfs to the kernel command line.
2. Type at the shell prompt: mount -t ubifs ubi0:rootfs /mnt
Smartreflex is disabled by default, sure, i'm just saying people messing with the overclocking stuff are likely to enable it. And they will get longer cpu life.