Notices


Reply
Thread Tools
Il_Principe's Avatar
Posts: 34 | Thanked: 26 times | Joined on May 2011
#71
At the moment I've solved copying relocateswap in /etc/event.d.
Now if I uncheck the "Start at boot" box, it's checked again at the next restart of flopswap.
It seems that checking the option doesn't affect anything.
 

The Following 2 Users Say Thank You to Il_Principe For This Useful Post:
Posts: 131 | Thanked: 184 times | Joined on Dec 2011
#72
Flopswap 0.0.5 no longer shows used swap space on a uSD-less N900. Reverting to 0.0.4.
 

The Following User Says Thank You to _David_ For This Useful Post:
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#73
I would like to work out why you have had an issue. It does seem you are having permission issues writing the file but NFC why it's not happened before.
Let me get back to you when I have the code in front of me and some spare time.

As for checking Swap Used on eMMC is was removed for two reasons, one it didn't calculate it correctly so the values are actually incorrect and finally it messed up calculating the uSD swap correctly.
FlopSwap only supports swapping to uSD (in the set locations in the wiki) so is pointless if you only have swap on internal.
The whole idea is internal swap is only used as a backup for memory card removal.


Edit:-

@Il_Principe
Can you check to see if /etc/sudoers.d/flopswap.sudoers has been created? If it is can you PM me the contents.
Do you use bb-power or bash?
Also could you check/send me a copy of the permissions table for the files in question.
__________________

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


Before posting or starting a thread please try this.

Last edited by sixwheeledbeast; 2013-03-27 at 19:07.
 

The Following 4 Users Say Thank You to sixwheeledbeast For This Useful Post:
Posts: 131 | Thanked: 184 times | Joined on Dec 2011
#74
Originally Posted by sixwheeledbeast View Post
As for checking Swap Used on eMMC is was removed for two reasons, one it didn't calculate it correctly so the values are actually incorrect and finally it messed up calculating the uSD swap correctly.
FlopSwap only supports swapping to uSD (in the set locations in the wiki) so is pointless if you only have swap on internal.
The whole idea is internal swap is only used as a backup for memory card removal.
Ah it seemed to correspond quite well and is useful both a) as a reassuring indication that the N900 isn't so much slow as memory bound and swap-fragmented and b) as a guide to when to reboot because swap fragmentation is causing slowdown.

There is no need for you to reinstate the function. 0.0.4, even if inaccurate, seems adequate for these needs.

As soon as I figure out how to get hold of the fastest uSD card for swapping, I'll be buying one.

Perhaps you know if Swappolube's Page-Cluster has relevance here? I've found that 6 works better than 5 and optimal could be as high as 9 since swapping could be 200% faster with the right uSD card.

So whilst 5 swaps 128kb at a time, 9 swaps 2MB at a time, so I should be looking for the fastest 1-2MB writes?
 

The Following User Says Thank You to _David_ For This Useful Post:
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#75
New version of Flopswap uploaded. Version 0.0.6
Fixes issues that Il_Principe was having.
No GUI changes but a fair bit of backend has been changed.
Only tested short term, but shouldn't have any issues.
__________________

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 2 Users Say Thank You to sixwheeledbeast For This Useful Post:
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#76
For anybody interested I now have enough memory cards to have all three devices running FlopSwap.
One has FAT32 first partition, one a ext2 and the last ext3.
All are working fine as I thought they would.

Last call for any bugs before promotion...Please let me know.
__________________

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:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#77
Code:
Nokia-N900:~# cat /proc/swaps 
Filename				Type		Size	Used	Priority
/dev/mmcblk1p2                          partition	774136	34168	-1
/dev/mmcblk1p3                          partition	774136	0	-2
The above is what I find on my device, after reflashing and installing kernel-power, CSSU-thumb but not using device very intensively so I never noticed much. Flopswap is installed but won't fresh swap obviously, with this set-up. If I
Code:
swapoff /dev/mmcblk1p3
everythings peachy with flopswap.

Why is the dual swap set-up happening? Does flopswap need enhanced BB shell (a.k.a. bb-power)?
 

The Following 3 Users Say Thank You to handaxe For This Useful Post:
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#78
Originally Posted by handaxe View Post
[CODE]
Why is the dual swap set-up happening? Does flopswap need enhanced BB shell (a.k.a. bb-power)?
I need a bit more information on how to reproduce. Or steps on how it occured.
Is this happening on boot?
Did you create swaps as per the wiki?

Flopswap may not swap if swap has become stripped between two swaps. I am not certain how you have does this (without manually stripping in a terminal).

Flopswap doesn't require bb-power, it currently doesn't depend on any other package.
__________________

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:
pichlo's Avatar
Posts: 6,453 | Thanked: 20,983 times | Joined on Sep 2012 @ UK
#79
I guess handaxe used 'swapon -a' at some point. In my experience, it turns on all swaps but with unoptimized priorities which is why I prefer 'swap -p' on each swap in turn. That however requires BBP as the 'swap' command in the standard BB does not recognize the '-p' option.
 

The Following User Says Thank You to pichlo For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#80
Originally Posted by sixwheeledbeast View Post
Flopswap may not swap if swap has become stripped between two swaps. I am not certain how you have does this (without manually stripping in a terminal).
That's the point - nor do I :-) so how this came about is a mystery.

Yes, it happens from boot. In fact, the 1st I saw of it it had all 3 swaps con-current. "Swapoff yada yada" and disabling and then re-enabling "swap to sd on boot" got me going again, so I thought, until the next boot showed the 2 sd cards concurrent.


I had flopswap working perfectly before the reflash and simply re-used those 2 swap partitions on the sd card. Using swapoff etc gets flopswap happily doing its job, so nothing fundamental is wrong with the partitions.

@pichlo: maybe I did but remember not. Anyhow, would that be persistet across boots to the point of crippling flopswap?
 
Reply


 
Forum Jump


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