Active Topics

 


Reply
Thread Tools
Posts: 244 | Thanked: 354 times | Joined on Jul 2010 @ Scotland
#171
Originally Posted by vi_ View Post
I await your results with baited breath fellow scotch man. Also there is a script just appeared in dev-repos called 'swap-set'. It is for detecting where your swap is, unounting, mounting ramzswap, mounting old swap.
Spotters Badge for vi_ ; that'll save me the hassle of trying to thrash one together myself.

Mair chat here on (mr_jrt's) efforts:

http://talk.maemo.org/showthread.php?t=80431
 

The Following 3 Users Say Thank You to gregoranderson For This Useful Post:
Posts: 249 | Thanked: 277 times | Joined on May 2010 @ Brighton, UK
#172
...and I just thought I'd pop in to let folks know it existed....can't have any secrets around here it seems

...not sure what the best way to approach the tunable settings is though. Perhaps a config file, perhaps gconf, perhaps just having people edit the script. I'm somewhat undecided....

Anyways, it lives here.

..oh, an in the interests of full disclosure, I did actually start with gregoranderson's initial script and missed the rest of the conversation from that point on

Last edited by mr_jrt; 2011-11-28 at 20:11.
 

The Following 3 Users Say Thank You to mr_jrt For This Useful Post:
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#173
have anyone got luck using SwapSet?
http://maemo.org/packages/view/swapset/
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
 

The Following User Says Thank You to Alfred For This Useful Post:
Posts: 43 | Thanked: 18 times | Joined on Jul 2010
#174
Originally Posted by Alfred View Post
have anyone got luck using SwapSet?
http://maemo.org/packages/view/swapset/
I am using it, so far so good.
 

The Following User Says Thank You to ivanrajkovic For This Useful Post:
Posts: 249 | Thanked: 277 times | Joined on May 2010 @ Brighton, UK
#175
Originally Posted by Alfred View Post
have anyone got luck using SwapSet?
http://maemo.org/packages/view/swapset/
...I've not made it particularly clear, but once you install it you will need to reboot for the startup event to trigger. You can mount and unmount the SD swap at any time though. Might add a compache option...but I was wary of messing up the installation databases as people were reporting that insmod'ing the module was causing reboots.

...speaking of which, I guess I could add some reboot/failure tracking to prevent boot loops easily enough....might do that next actually.
 

The Following 7 Users Say Thank You to mr_jrt For This Useful Post:
Posts: 182 | Thanked: 69 times | Joined on Nov 2009 @ Netherlands
#176
Originally Posted by gregoranderson View Post
I had a crash (running KP49) with the following approach:

Code:
insmod /lib/modules/current/ramzswap.ko disksize_kb=65536
swapon /dev/ramzswap0
swapoff /dev/mmcblk1p2; swapon /dev/mmcblk1p2
(I use my sdcard for swap)

So, after a short period of contemplation I went with:

Code:
swapoff /dev/mmcblk1p2
insmod /lib/modules/current/ramzswap.ko disksize_kb=65536
swapon /dev/ramzswap0
swapon /dev/mmcblk1p2
And everything is groovy again. The old N900 is snappier than a crocodile who's found himself at a penguin parade.
I tried compcache using this method, and it seems to work. But it made the device significantly slower as far as I could see.
Do any of you have better experiences?

I am on cssu &kp49, swap on microsd, no speed/battery patches.
 

The Following User Says Thank You to maartenmk For This Useful Post:
Posts: 1,141 | Thanked: 781 times | Joined on Dec 2009 @ Magical Unicorn Land
#177
Originally Posted by maacruz View Post
It never crashes for me, are you using power of 2 sizes for disksize_kb?
Thanks, that seems to have been it.
 

The Following User Says Thank You to stlpaul For This Useful Post:
Posts: 249 | Thanked: 277 times | Joined on May 2010 @ Brighton, UK
#178
Originally Posted by maartenmk View Post
I tried compcache using this method, and it seems to work. But it made the device significantly slower as far as I could see.
Do any of you have better experiences?

I am on cssu &kp49, swap on microsd, no speed/battery patches.
On my test N900 with a SD card, it was very, very quick with both compcache and SD.

On my live phone without a SD, it seems very sluggish when first turned on with compcache, but settles down after 5-10 minutes.
 

The Following 2 Users Say Thank You to mr_jrt For This Useful Post:
Posts: 112 | Thanked: 92 times | Joined on Nov 2010
#179
Comp-cache, 65mb file size causes me sudden unexpected reboots, its out of my my tolerable range (which is approx 1 unexpected reboot a month :d ), now using SD swap only ,, same result with SwapSet.
 
Posts: 244 | Thanked: 354 times | Joined on Jul 2010 @ Scotland
#180
Originally Posted by mr_jrt View Post
...and I just thought I'd pop in to let folks know it existed....can't have any secrets around here it seems
Installed and works very nicely indeed. Cheers for putting in the effort.

(KP49 / CSSU Testing / swap on SD for the curious)
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:46.