Reply
Thread Tools
Posts: 473 | Thanked: 141 times | Joined on Jan 2009 @ Virginia, USA
#1
When PR1.3 came out, I had to completely reflash the N900. In the months since then, it seems like the device has become more sluggish. I have had things like MediaBox and FBreader, at random times, stop responding, apps seem to take longer to open...However, when I take a look at htop or conky, the CPU is at idle and it is not using that much memory (currently CPU is at 5%, RAM usage 179MiB of 249MiB. swap is at 112MiB of 2GiB).

I was skimming the forums and found a thread (that I can't seem to locate again) that stated that the root fileystem may be the culprit...

So I was wondering, coming from a desktop Linux environment, how much do I need to slim down the root filesystem and will that gain my performance back? Currently, root is sitting at 67%:

Code:
Filesystem   1k-blocks              Used          Available   Use%         Mounted on
rootfs           233344               15297              76264     67%          /
I can symlink /var/lib/ (specifically /var/lib/dpkg) into /home, which would save me about 30MB. Would there be a (noticeable) performance benefit to moving 30mb of dpkg into /home and dropping the root filesystem from 67% to 50%?

Thanks,
--vr
 
Posts: 724 | Thanked: 1,255 times | Joined on Nov 2007 @ Cambridge, UK
#2
Originally Posted by VulcanRidr View Post
When PR1.3 came out, I had to completely reflash the N900. In the months since then, it seems like the device has become more sluggish. I have had things like MediaBox and FBreader, at random times, stop responding, apps seem to take longer to open...However, when I take a look at htop or conky, the CPU is at idle and it is not using that much memory (currently CPU is at 5%, RAM usage 179MiB of 249MiB. swap is at 112MiB of 2GiB).

I was skimming the forums and found a thread (that I can't seem to locate again) that stated that the root fileystem may be the culprit...

So I was wondering, coming from a desktop Linux environment, how much do I need to slim down the root filesystem and will that gain my performance back? Currently, root is sitting at 67%:

Code:
Filesystem   1k-blocks              Used          Available   Use%         Mounted on
rootfs           233344               15297              76264     67%          /
I can symlink /var/lib/ (specifically /var/lib/dpkg) into /home, which would save me about 30MB. Would there be a (noticeable) performance benefit to moving 30mb of dpkg into /home and dropping the root filesystem from 67% to 50%?

Thanks,
--vr
Yes, it'll probably make the application manager and installing packages a bit slower.
 
Posts: 473 | Thanked: 141 times | Joined on Jan 2009 @ Virginia, USA
#3
Originally Posted by tswindell View Post
Yes, it'll probably make the application manager and installing packages a bit slower.
But no performance gains for normal day-to-day use?
 
Posts: 701 | Thanked: 585 times | Joined on Sep 2010 @ London, England
#4
Originally Posted by VulcanRidr View Post
When PR1.3 came out, I had to completely reflash the N900. In the months since then, it seems like the device has become more sluggish. I have had things like MediaBox and FBreader, at random times, stop responding, apps seem to take longer to open...However, when I take a look at htop or conky, the CPU is at idle and it is not using that much memory (currently CPU is at 5%, RAM usage 179MiB of 249MiB. swap is at 112MiB of 2GiB).

I was skimming the forums and found a thread (that I can't seem to locate again) that stated that the root fileystem may be the culprit...

So I was wondering, coming from a desktop Linux environment, how much do I need to slim down the root filesystem and will that gain my performance back? Currently, root is sitting at 67%:

Code:
Filesystem   1k-blocks              Used          Available   Use%         Mounted on
rootfs           233344               15297              76264     67%          /
I can symlink /var/lib/ (specifically /var/lib/dpkg) into /home, which would save me about 30MB. Would there be a (noticeable) performance benefit to moving 30mb of dpkg into /home and dropping the root filesystem from 67% to 50%?

Thanks,
--vr
The rootfs is compressed and /var/lib/dpkg is mostly text files so compresses very well, when I moved it to /home I only gained about 10MB. When doing it I didn't notice any slowdown with the app manager, but I didn't think to benchmark, so there could've been some I didn't notice, but why would moving files from a compressed to an uncompressed filesystem cause a slowdown?

And why exactly do you have 2GB swap? If your apps need that much the constant swapping would make the device unusable, even the default 768MB is excessive.

It would be interesting to read that thread where you originally read this to see if there were any conclusions as to why, if it isn't close to being full the only thing I can think is fragmentation. With your rootfs at only 67% I shouldn't think any slowdown is being caused by lack of space.
 
Posts: 473 | Thanked: 141 times | Joined on Jan 2009 @ Virginia, USA
#5
Originally Posted by retsaw View Post
The rootfs is compressed and /var/lib/dpkg is mostly text files so compresses very well, when I moved it to /home I only gained about 10MB. When doing it I didn't notice any slowdown with the app manager, but I didn't think to benchmark, so there could've been some I didn't notice, but why would moving files from a compressed to an uncompressed filesystem cause a slowdown?
It shouldn't, in my experience, unless you are nearly out of space on your root filesystem...But as I said, I saw a discussion on the forums. I'll try to find the thread...

And why exactly do you have 2GB swap? If your apps need that much the constant swapping would make the device unusable, even the default 768MB is excessive.
Yeah, I misread conky. I only have 768MB of swap rather than 2GB. I have 2GB in /home. Read the wrong row when composing the message...

It would be interesting to read that thread where you originally read this to see if there were any conclusions as to why, if it isn't close to being full the only thing I can think is fragmentation. With your rootfs at only 67% I shouldn't think any slowdown is being caused by lack of space.
Okay, thats what I was looking for. I'm working through, trying to figure out why my performance seems to have gone down (or whether it is just subjective). Right now, I'm just doing the standard kernel from PR1.3 etc, and have not overclocked. This, of course, remains a possibility to improve performance.

--vr
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:05.