Active Topics

 


Reply
Thread Tools
Posts: 41 | Thanked: 13 times | Joined on Feb 2010 @ Australia
#121
Originally Posted by dr_frost_dk View Post
hmm got some missing libs etc...

but tried the busybox-POWER!!!! hehe and that worked just fine
i tried installing the .deb aswell, but as u said had some missing libs, libblkid1.

then i installed busybox power as u said, but still the same.
any tips?
 
Posts: 182 | Thanked: 40 times | Joined on Apr 2010 @ Seatle, WA
#122
do a force install. even if libblkid1 is missing, it works doing swapon. don't worry about it.
 
Posts: 915 | Thanked: 57 times | Joined on Jun 2011
#123
if i js follow this step:
"For those who need more VM, and wish to use their entire MicroSD card for this purpose:

(WARNING: This will erase the entire MicroSD card, or worse, some or all of your internal memory if you mistype the device name.. If you plan to proceed, I recommend that you have some idea what you are doing)

In x-term:

Code:

sudo gainroot
mkswap /dev/mmcblk1p1
swapon /dev/mmcblk1p1"

i can increase my N900 RAM?? can u tell me weder it is risky or not? wha are the advanatages..i am a noob.plz help
 
Posts: 182 | Thanked: 40 times | Joined on Apr 2010 @ Seatle, WA
#124
Originally Posted by trisha02 View Post
if i js follow this step:
"For those who need more VM, and wish to use their entire MicroSD card for this purpose:

(WARNING: This will erase the entire MicroSD card, or worse, some or all of your internal memory if you mistype the device name.. If you plan to proceed, I recommend that you have some idea what you are doing)

In x-term:

Code:

sudo gainroot
mkswap /dev/mmcblk1p1
swapon /dev/mmcblk1p1"

i can increase my N900 RAM?? can u tell me weder it is risky or not? wha are the advanatages..i am a noob.plz help
it just increases your swap space. there is no way to increase more RAM. the only advantage is it removes swap from emmc hence emmc where your main memory resides is less loaded.
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#125
This is not RAM, but swap: space on your mmc, which is reserved by the system in cases where RAM space is not sufficiant any more.
Most of the times this is not necessary, because there already is a ~750M swap preinstalled on the internal mmc, which is more than enough even for powerusers and on the faster internal card. You probably would know by now, if on your device swap is broken or missing.
 
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#126
You bro's do realise that:

1. Busybox-power has swapon with support for -p flag
2. Busybox-power won't really take up any extra space (like 256k)
3. With Busybox-power You can use a swapfile instead of partition (which seems to f**k some sd cards)
4. There is NO measurable benefit of 'striping' swap across SD and EMMC.

For maximum swap performance, create swapfile on a fast SD card and use that as swap.

Swapfiles are as easy as this.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following 3 Users Say Thank You to vi_ For This Useful Post:
strange1712's Avatar
Posts: 185 | Thanked: 111 times | Joined on Jul 2010 @ Mexico DF, Mexico
#127
Hey, in last kernel-power + busybox-power i get:
swapoff: NO OPT p!
Whenever I use swapoff. What does it mean? Is Busybox-power's fault or Kernel Power V48?
__________________
Linux Registered User # 492214
http://counter.li.org/
------------------------
N900 registered as Linux Machine # 426325
 
strange1712's Avatar
Posts: 185 | Thanked: 111 times | Joined on Jul 2010 @ Mexico DF, Mexico
#128
Ok, I found it's Busybox's fault, "upstream"... (not "busybox-power" really...)
http://talk.maemo.org/showpost.php?p...&postcount=113
https://bugs.busybox.net/show_bug.cgi?id=4087
__________________
Linux Registered User # 492214
http://counter.li.org/
------------------------
N900 registered as Linux Machine # 426325
 
Posts: 268 | Thanked: 1,053 times | Joined on May 2010 @ The Netherlands
#129
Originally Posted by strange1712 View Post
Ok, I found it's Busybox's fault, "upstream"... (not "busybox-power" really...)
http://talk.maemo.org/showpost.php?p...&postcount=113
https://bugs.busybox.net/show_bug.cgi?id=4087
"Fault" might not be the right word since BusyBox marks bigger releases (1.18.0, 1.19.0, ..) as unstable by default. That's also why busybox-power 1.19.0 isn't promoted out of extras-devel yet (I'm assuming here that you know the warning that comes with using that repo).

Anyway, busybox-power's swapoff works again in the latest extras-devel version (1.19.0power3). The version in extras(-testing) has always worked as expected

Last edited by iDont; 2011-08-25 at 12:25.
 

The Following 2 Users Say Thank You to iDont For This Useful Post:
Posts: 561 | Thanked: 75 times | Joined on Jan 2010 @ Spain
#130
Originally Posted by vi_ View Post
You bro's do realise that:

1. Busybox-power has swapon with support for -p flag
2. Busybox-power won't really take up any extra space (like 256k)
3. With Busybox-power You can use a swapfile instead of partition (which seems to f**k some sd cards)
4. There is NO measurable benefit of 'striping' swap across SD and EMMC.

For maximum swap performance, create swapfile on a fast SD card and use that as swap.

Swapfiles are as easy as this.
Does not work on my n900.

If I create a swap file to use it

Code:
sudo gainroot

mkswap /media/mmc1/swapfile1
the file was created using

Code:
dd if=/dev/zero of=/media/mmc1/swapfile1 bs=1024 count=786432
when trying to activate it using

Code:
swapon /media/mmc1/swapfile1
The process stays in state "D" and I can not kill it with the command

Code:
kill -s 9 PID

Last edited by WhiteWolf; 2011-09-04 at 22:52.
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:11.