Active Topics

 


Reply
Thread Tools
Posts: 68 | Thanked: 34 times | Joined on May 2012 @ Ukraine
#41
Originally Posted by handaxe View Post
Yes, it really does. It uses well-established 'nix swapon and swapoff that are meant to be used to turn swap on or off. I have not read any negative opinions about these approaches. No esoteric tunings of delicate variables here.

The evidence of improvemet for me was clear.

Here is the best guide:
Can You describe the process simply:
Simplest way that I find:
  • take GParted(use OpenSUSE & know what is it)
  • take microSD(have 64Gb)
  • format SD
  • delete partition
  • create 2 partitions(350-800 mb) & format this in LinuxSWAP fs
  • create partition for personal data from free space
  • use GUI FlopSWAP
It’s a right way?
 
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#42
Originally Posted by badazimer View Post
Can You describe the process simply:
Simplest way that I find:
  • take GParted(use OpenSUSE & know what is it)
  • take microSD(have 64Gb)
  • format SD
  • delete partition
  • create 2 partitions(350-800 mb) & format this in LinuxSWAP fs
  • create partition for personal data from free space
  • use GUI FlopSWAP
It’s a right way?
I can't do better than is in this wiki entry.

NB: Note the FAT first partition: "The easiest way is to use GParted on a desktop. Then make two equally sized "linux-swap" partitions, 800MB is fine. These partitions should be located after the first FAT partition.

The card will then have a FAT part (mmcblk1p1) swap1 (mmcblk1p2) and swap2 (mmcblk1p3)."



There is also this.
 

The Following User Says Thank You to handaxe For This Useful Post:
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#43
Originally Posted by Android_808 View Post
Anyone running custom swappolube settings with swap on SD? Any optimizations here from swappolube recommendations.
Proposed settings here with Swampiness changed to "50".
I would say it's dependant on the uSD card so compiling others exact settings may not help.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following User Says Thank You to sixwheeledbeast For This Useful Post:
misterc's Avatar
Posts: 1,625 | Thanked: 998 times | Joined on Aug 2010
#44
as the saying goes, recently, as far as partitioning of /dev/mmcblk1 goes, the sky is the limit

Code:
Nokia-N900:/# fdisk -l /dev/mmcblk1
       Device Boot      Start         End      Blocks  Id System
/dev/mmcblk1p1              33     1599968    51197952   b Win95 FAT32
Partition 1 does not end on cylinder boundary
/dev/mmcblk1p2         1599969     1726496     4048896  83 Linux
Partition 2 does not end on cylinder boundary
/dev/mmcblk1p3         1726497     1886464     5118976  83 Linux
Partition 3 does not end on cylinder boundary
/dev/mmcblk1p4         1886493     1948992     2000000   5 Extended
/dev/mmcblk1p5         1886493     1917743     1000024  82 Linux swap
/dev/mmcblk1p6         1917744     1948992      999960  82 Linux swap
i'm a command line junkie, so i don't mind
Code:
Nokia-N900:/# swapoff /dev/mmcblk1p5 &
Nokia-N900:/# swapoff /dev/mmcblk0p3 &
after starting up my N900 (which usually doesn't happen often)
and to use following command to clean out caches & all
Code:
Nokia-N900:/# sync
Nokia-N900:/# echo 3 > /proc/sys/vm/drop_caches
usually after doing

Code:
Nokia-N900:/# swapon /dev/mmcblk1p5 &
Nokia-N900:/# swapoff /dev/mmcblk1p6 &
(or vice-versa) every now & then.
call me a control freak if you like

as the most important function of my N900 (for me) is getting (& making) phone calls i have
Code:
Nokia-N900:/# cat /proc/sys/vm/swappiness 
100
but i don't use CSSU...
had that on my test device, but going to have to re-flash it
still can make phone calls, but that's about it
__________________
information is a necessary though no sufficient condition to rationality...
 

The Following User Says Thank You to misterc For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#45
Originally Posted by handaxe View Post
Verily; but we have here a slightly different case (amongst others): "the shutdown that reboots". Most of us had the "reboot that shutsdown" that you mention.
Funny. Yesterday I had a "shutdown that reboots" event, AFAIK for the first time in my life. Will see if I can investigate that.
 
Posts: 27 | Thanked: 24 times | Joined on Apr 2013 @ NL
#46
When I connect the wall charger to the n900 with a flat battery and switched off, the phone boots itself. Not a big problem, except it makes calibrating the battery harder. Maemo7.2+thumb1 KP52 is installed.
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#47
Originally Posted by spaak74 View Post
When I connect the wall charger to the n900 with a flat battery and switched off, the phone boots itself. Not a big problem, except it makes calibrating the battery harder. Maemo7.2+thumb1 KP52 is installed.
AFAIK It is supposed to be that way.

@reinob: Anything suspicious in /dev/mtd2?
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following User Says Thank You to freemangordon For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#48
Originally Posted by freemangordon View Post
AFAIK It is supposed to be that way.
I guess the issue is was it a full boot to desktop or the charger "mini-boot".
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#49
Originally Posted by handaxe View Post
I guess the issue is was it a full boot to desktop or the charger "mini-boot".
Hmm, if the device powers off because of a flat battery, I *think* it is supposed to boot straight to Maemo after a charger is connected
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following User Says Thank You to freemangordon For This Useful Post:
Posts: 68 | Thanked: 34 times | Joined on May 2012 @ Ukraine
#50
Reinstall OS. Problem not disappear, but more rarely(2 reboots)
 
Reply

Tags
kernel-power, kernel-power52, power key, rebooting, shutdown


 
Forum Jump


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