![]() |
Re: Massive interactivity improvement under high I/O load!
Quote:
thank u for ur reply but my device feels better with my setting. Maybe it is a bug? |
Re: Massive interactivity improvement under high I/O load!
Your device feels better because it's not "colliding" IO all the time with swapping off eMMC while trying to read and write data.
I've set up a script that does some sanity checks -- plugged in? charging? locked? 3 AM? and will "re" swap out of internal, onto external and back onto the internal in order to clear out. |
Re: Massive interactivity improvement under high I/O load!
Quote:
|
Re: Massive interactivity improvement under high I/O load!
You fail to understand you are NOT using 2 swap spaces currently. NO data is being written to your lower priority swap.
|
Re: Massive interactivity improvement under high I/O load!
Quote:
|
Re: Massive interactivity improvement under high I/O load!
Quote:
/me cannot locate the problem here... |
Re: Massive interactivity improvement under high I/O load!
Then this has NOTHING to do with offloading swap to an external microsd card since you are NOT doing so.
Between this and your other threads, I am hard pressed to decide whether or not you are actually in kindergarten. |
Re: Massive interactivity improvement under high I/O load!
Quote:
|
Re: Massive interactivity improvement under high I/O load!
Quote:
|
Re: Massive interactivity improvement under high I/O load!
Quote:
Internet Browsing in MicroB was getting laggy don't know why, and after applying epitaph's tweaks it lags less but sometimes simply won't load anything... So don't know... What really amaze me is people getting so heavy about this. It's clear there is no bug at all here, and that using SD-only swap seems to be the best try as both epitaph and nightfire has found, even if epitaph won't accept it (but that's not a bug at all). (But my uSD is veery slow so i won't do that) |
Re: Massive interactivity improvement under high I/O load!
Swappolube did not fix my copy large file problems. This did. Thanks.
|
Re: Massive interactivity improvement under high I/O load!
Quote:
|
Re: Massive interactivity improvement under high I/O load!
Just a heads up this also works very well for me. Especially with unpacking of large zipped files etc I tried using the webos game manager this morning my m900 struggled unpacking the ipk files for settlers and eventually it crashed out with a full reboot also the ui was very unresponsive during that period.
I used the settings described here and it worked a treat and a hell of alot faster and no real impact in terms of responsiveness . Glad I remembered about this post :¬) Cheers Nick |
Re: Massive interactivity improvement under high I/O load!
Anyone had any luck getting these settings to apply at boot?
I've tried pretty much everything I can think of but can't get /proc/sys/vm/swappiness to report any value other than "100" after a clean boot. So far I've tried adding a script to /etc/event.d using the "start on startup" event, creating a script in rc2.d and rcS, none of which have any effect. If I run the same script manually after boot, then all works nicely. Anyone got any clues what I'm doing wrong? |
Re: Massive interactivity improvement under high I/O load!
Quote:
I'll be releasing a debian package soon as well. |
Re: Massive interactivity improvement under high I/O load!
Quote:
I have my own scripts which does host of things including this settings. just copy and paste the rcS-late to whichevever you want. keep it in /etc/event.d now here is the main thing to remember. Do not repeat do not make any typos in the script as for me some how when I have given dirty__ instead of dirty_ the script stopped going forward hence all settings were not coming through. I modified this error and rebooted and voila all my settings are taking in to effect. |
Re: Massive interactivity improvement under high I/O load!
Thanks guys, that worked first time :-)
|
Re: Massive interactivity improvement under high I/O load!
hmmm.. tried the scripts in the first post... didn't seem to make much of a difference....
|
Re: Massive interactivity improvement under high I/O load!
Quote:
|
Re: Massive interactivity improvement under high I/O load!
Quote:
|
Re: Massive interactivity improvement under high I/O load!
Is there a quick test i can run to compare the performance with and without these mods?
|
Re: Massive interactivity improvement under high I/O load!
The lines that form in the task-switching area -- they are from the CSSU? How do I get rid of them?
|
Re: Massive interactivity improvement under high I/O load!
Quote:
Code:
dd if=/dev/zero of=/media/mmc1/testfile bs=1024k count=512 |
Re: Massive interactivity improvement under high I/O load!
Guys
I've been playing with settings from the first post and other things these days and so far my conclusions are: Right after reboot the phone is fast and smooth, but in time performance degrades severely up to the point it becomes unresponsive for several seconds. Right now I am using only swappines 30 and nr_requests of 128 and the overall performance is great. Reducing nr_reqauests to 4 reduces io throuput to several K per second so it is not " option for me. To test performance I was extracting ubuntu image on EMMC. While doing that I was changing different settings of io scheduler, including changing scheduler to to noop. With moderate result. My point was - why when one is copying file over USB there is absolutely no lag, but when doing same thing on n900 it freezes. The last thing to do was to play with swap - bingo, at the moment I swapoff EMMC swap, extracting speed raise to about 10 MB/s with no lagging at all. And the strange thing is that performance raise at the moment I did swapoff, even before swap was transferred to sdcard swap partition. Swap priorities do not matter - as long as EMMC swap is turned on, performance degrades severely. And I cannot see relation with behaviour under USB.Will continue to play with that and will report if find something |
Re: Massive interactivity improvement under high I/O load!
Hi,
Great work. Didn't notice this till ivgalvez pointed it to the swappolube thread (http://talk.maemo.org/showpost.php?p...&postcount=339). Just wanted to mention that will add the three missing/new fields in the Swappolube app (as soon as I read a little bit this thread). Hope it is useful for your tests. Cheers. |
Re: Massive interactivity improvement under high I/O load!
What's the difference between swappolube and this?
|
Re: Massive interactivity improvement under high I/O load!
Quote:
|
Re: Massive interactivity improvement under high I/O load!
Quote:
|
Re: Massive interactivity improvement under high I/O load!
Well they should at least not be made part of the recommended settings set.
|
Re: Massive interactivity improvement under high I/O load!
Quote:
Help |
Re: Massive interactivity improvement under high I/O load!
I used these settings for sometime and I donot find that significant difference. Infact my comp (N900) hung up so bad with some application being installed with fam.
I changed the nr_requets to 64 (half of default) and vfs_cache_pressure to 20. Now it is better compared to the settings suggested in 1st post. |
Re: Massive interactivity improvement under high I/O load!
Quote:
Code:
echo 30 > /proc/sys/vm/swappiness/home/user/MyDocs# lzma -d ubuntu-m5-v1.2.img.ext2.lzma swap is on EMMC, my sdcard is only class 2, but even with such slow card phone feels better with swap on it. |
Re: Massive interactivity improvement under high I/O load!
Quote:
I increased the nr_requests to 256 and swapiness to 50 and it is now working much better. even when some app is being installed. i do just normal stuff like browing installing apps and some chat. seems these settings are for those who are doing high io all the time. |
Re: Massive interactivity improvement under high I/O load!
1 Attachment(s)
Hi again,
as promised uploaded a new version of Swappolube editor app in devel (1.1-1) with support for these new options. Note that: - the swappolube proposed values remain the same. - the mmc1 options are disabled if there is no mmc1 installed. |
Re: Massive interactivity improvement under high I/O load!
Quote:
<br /> Code:
$ /opt/swappolube/swappolube.py |
Re: Massive interactivity improvement under high I/O load!
Quote:
|
Re: Massive interactivity improvement under high I/O load!
Quote:
An update will be uploaded in 5 min or so.. PS: if cannot wait the line 169 in swappolube.py needs to be changed to Code:
self.ui = Ui_Swappolube() |
Re: Massive interactivity improvement under high I/O load!
Quote:
BTW if your device is very fast before applying above settings, it is reasonable that you won't see any difference. But just for experiment you can try and open as much applications as you can to see if it feels different ;) |
Re: Massive interactivity improvement under high I/O load!
Quote:
|
Re: Massive interactivity improvement under high I/O load!
Hello everybody! Thanks for another great changable stuff. I'm noob right here, so could You provide me with the number for these new fields, which would make my beast faster? i don't really copy a lot of files, so just for the system and stuff...
Thanks in advance |
| All times are GMT. The time now is 20:05. |
vBulletin® Version 3.8.8