The Following User Says Thank You to saponga For This Useful Post: | ||
|
2013-01-26
, 13:50
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#52
|
The easiest way is to post the code.
Can't get lost in translation then.
BTW thanks.
Code:...snip... #Get Swap size from /proc/swaps swapsize=$(awk '{if ($1=="'"/dev/$disk"'") print $3}' /proc/swaps) #Divide by 1024 to get swap size in megabytes swapsizembytes=$(($swapsize/1024)) ...snip...
[B]umbytes=$(($ublocks/2048))
echo $ublocks ublocks #Multiply blocks by 512 to get used bytes #ubytes=$(($ublocks*512)) #Calculate used bytes into Kb, Mb and Gb echo $ubytes ubytes #ukbytes=$(($ubytes/1024)) ##ukbytes=$(($ublocks/2)) ##umbytes=$(($ukbytes/1024)) umbytes=$(($ublocks/2048)) #ugbytes=$(($ubytes/1024/1024/1024)) ugbytes=$(($umbytes/1024))
I use my device heavily during work and only use my 800MB swap space in 4 days. It's possible due to "Swappolube" VM settings too.
When/If someone gets to xyz uptime and it fails then this is a bug. No? I hate bugs however slight
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2013-01-26
, 14:24
|
Posts: 2,290 |
Thanked: 4,134 times |
Joined on Apr 2010
@ UK
|
#53
|
But it is unrealistic to think anyone will ever reach TB swap usage on N900, or? (remember the 2k date time problem? )
The Following 3 Users Say Thank You to sixwheeledbeast For This Useful Post: | ||
|
2013-01-26
, 15:12
|
Posts: 2,290 |
Thanked: 4,134 times |
Joined on Apr 2010
@ UK
|
#54
|
|
2013-01-26
, 15:30
|
Posts: 432 |
Thanked: 917 times |
Joined on Jun 2011
|
#55
|
If you wish to test a beta version I'll package a deb for you now.
Check back I'll add it to this post.
The Following User Says Thank You to saponga For This Useful Post: | ||
|
2013-03-15
, 17:33
|
Posts: 535 |
Thanked: 598 times |
Joined on Apr 2011
@ Republic of the Philippines
|
#56
|
The Following User Says Thank You to vetsin For This Useful Post: | ||
|
2013-03-15
, 17:47
|
Posts: 2,290 |
Thanked: 4,134 times |
Joined on Apr 2010
@ UK
|
#57
|
Hi sixwheeled!
I finally got a microSD card, sadly it's a Class 4 8GB (my wife bought it for her S3, I bought her a Class10 32GB as replacement for this one). Is it good enough?
I already partitioned it according to your instructions, will just install flopswap_0.0.4r1b5_armel.deb.
I'll give feedback once it's complete.
Thanks!
|
2013-03-15
, 18:16
|
Posts: 535 |
Thanked: 598 times |
Joined on Apr 2011
@ Republic of the Philippines
|
#58
|
|
2013-03-15
, 18:51
|
Posts: 2,290 |
Thanked: 4,134 times |
Joined on Apr 2010
@ UK
|
#59
|
Got it running on my N900.
Regarding listening to 8tracks, flopswap did not make any remarkable improvement (or maybe it's because my card is too slow. hehe)
I will continue using Flopswap and I'll provide input when I got one.
The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
|
2013-03-16
, 02:09
|
Posts: 535 |
Thanked: 598 times |
Joined on Apr 2011
@ Republic of the Philippines
|
#60
|
Please note the main reason for Flopswap is to stop slowing down of swap (the system) over time, this isn't "extra RAM" or "make it faster" as such.
The Following User Says Thank You to vetsin For This Useful Post: | ||
Thanks... I really apreciatte your patience and sorry about this terrible english. I'm still learning.