Active Topics

 



Notices


Reply
Thread Tools
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#11
Originally Posted by lma View Post
2.6.16 in the last official release, sounds promising.
Excellent, then it is completely doable.
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 
Posts: 86 | Thanked: 362 times | Joined on Dec 2007 @ Paris / France
#12
Originally Posted by locusf View Post
I know about the lower priority on the swap, there really is no fix to it, since swapon on Diablo doesn't have the priority switch.
If you just run the following commands after ramzez start, maemo swap file will have a lower priority (but i'm not sure it was an expected behaviour ). It could also be added (with additional checks) to ramzez init script.
Code:
swapoff /media/mmc2/.swap
swapon /media/mmc2/.swap
For a cleaner solution, it should probably be easy to write a small C wrapper around the swapon function.
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#13
One small remark on that, there is no clean way of telling whether the swap is on mmc1 or mmc2 . I know that grep could be a way to go (via /proc/swaps), gotta think about that.
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 
zerojay's Avatar
Posts: 2,669 | Thanked: 2,555 times | Joined on Apr 2007 @ Halifax, Nova Scotia, Canada
#14
Hmm.. wonder if this would be doable on the N900 as well.
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#15
Originally Posted by zerojay View Post
Hmm.. wonder if this would be doable on the N900 as well.
Of course it is doable on N900. The version for N900 will be even better with all the latest features of compcache. The version for Diablo, eg. n8x0, does not have these features:

# Support for file as backing swap. Earlier versions (0.5.x) only allow using a block device as backing swap.
# Support for multiple /dev/ramzswapX devices.
# New rzscontrol utility to manage various ramzswap devices: setting parameters, initializing, resetting, stats collection.
# Support for swap free notify callback. This will give ramzswap a callback as soon as a swap page becomes free -- stale data, no more!

* A separate patch will be included that adds hooks in kernel swap path to enable this feature.
* Rest of ramzswap will remain as separate modules. It will be usable on kernels with or without this patch. Of course, without patch, ramzswap will have this feature disabled.
* Currently, it has been tested on x86 and x64 only.
Of course the swap free notify callback requires a modified kernel
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#16
Here are the 770 modules:
ramzswap.tar

I hate to do this but I couldn't port the GUI in any reasonable way to gregale but I did compile the modules
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 

The Following 3 Users Say Thank You to locusf For This Useful Post:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#17
Thanks. I'll take a look at it. *blowing months of dust off the 770*
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#18
Ok I got 0.0.3 out and it has a separate package for init scripts, this has a 770 version as well
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 

The Following User Says Thank You to locusf For This Useful Post:
bongo's Avatar
Posts: 291 | Thanked: 124 times | Joined on Feb 2006 @ Trier, Germany
#19
which amount of ram would you suggest for a n800? 25%?
__________________
ongo bongo!
 
locusf's Avatar
Posts: 159 | Thanked: 341 times | Joined on Dec 2007 @ Helsinki, Finland
#20
Originally Posted by bongo View Post
which amount of ram would you suggest for a n800? 25%?
I've got 50% on my n810 without any problems.
__________________
Regards,
LoCusF
http://locusf.blogspot.com
 
Reply


 
Forum Jump


All times are GMT. The time now is 04:01.