Hello everyone,
I have a question about how using swap file (or partition) affects my sdcard life.
I came across this thread
http://forum.xda-developers.com/showthread.php?t=1659231
and there was a quote
WARNING: This mod may degrade SD card life.
Click to expand...
Click to collapse
Why is that?why using swap affects negatively on sdcard life?
I have an 8GB class 10 card,should I use swap with my x10 mini?
Does anybody know and answer me?
harris_greece said:
Hello everyone,
I have a question about how using swap file (or partition) affects my sdcard life.
I came across this thread
http://forum.xda-developers.com/showthread.php?t=1659231
and there was a quote
Why is that?why using swap affects negatively on sdcard life?
I have an 8GB class 10 card,should I use swap with my x10 mini?
Does anybody know and answer me?
Click to expand...
Click to collapse
Swap basically uses an ext-partition on your sdcard as extra RAM. Sdcards are made for occasionally(more or less) writing new data to them, whereas RAM basically gets rewritten all the time (like, deleting and recopying a file several hundred times a day). This means that the partition you use to swap will be put under much more strain than any other part of your sdcard, will "pack up" more quickly and therefor also decreases the total life of your sdcard.
Kilroy. said:
Swap basically uses an ext-partition on your sdcard as extra RAM. Sdcards are made for occasionally(more or less) writing new data to them, whereas RAM basically gets rewritten all the time (like, deleting and recopying a file several hundred times a day). This means that the partition you use to swap will be put under much more strain than any other part of your sdcard, will "pack up" more quickly and therefor also decreases the total life of your sdcard.
Click to expand...
Click to collapse
Got it.That is exactly what I though anyway.I use swap to file but I guess the idea is the same.Thanks for the answer.
Do we have an estimate about how much is the card life affected?Like greately decreased?
harris_greece said:
Do we have an estimate about how much is the card life affected?Like greately decreased?
Click to expand...
Click to collapse
no, it depends on each card specific wear resistance (i killed 2 cards in 3 years )
Related
I'm way out on a limb right now checking out a few different things for v0.30. A lot has been learned with v0.20 and will be applied.
So my question is:
If I can find a way to eliminate Extended Rom and turn it into either Storage Memory or Program Memory (or both) which is preferred?
BTW, I've already been able to increase Storage Memory to over 60MB (See attached Image)...
kyphur said:
I'm way out on a limb right now checking out a few different things for v0.30. A lot has been learned with v0.20 and will be applied.
So my question is:
If I can find a way to eliminate Extended Rom and turn it into either Storage Memory or Program Memory (or both) which is preferred?
Click to expand...
Click to collapse
Program memory is sufficient; go for Storage
Olipro said:
Program memory is sufficient; go for Storage
Click to expand...
Click to collapse
I agree, I always run short on Storage and have enough program
Storage is the first to run low.. same as the above.
-mix
I don't agree with all of you Storage can be buyed but program memory is limited. Who knows the memory requirements in future WM6 programas.
My vote for program memory!
I'm with Viva. Low on storage? Move programs over to the card. Low on RAM? You're screwed. I say move it over to Program memory. That seems to be the most logical.
TaurusBullba said:
I'm with Viva. Low on storage? Move programs over to the card. Low on RAM? You're screwed. I say move it over to Program memory. That seems to be the most logical.
Click to expand...
Click to collapse
Many are having problems running programs from Storage Card too, some think this is the root of some sleep lockups too. How many people ever runout of Program Memory? Maybe we should do that poll. I have a hard time keeping more tan 7MB free in storage., but I have at least 15-19MB free in Program.
Hi kyphur,
i think an additional 10mb of storage memory wont be sinifcant as the 60mb you have achieved in wm6 is suffice. if we need additional storage memory we have the sd cards to take care of it.
10mb of PROGRAM MEMORY is significant as we only have under 30mb free on a fresh hard reset and after a day of use this drops to about 24mb or less. the extra 10mb will allow us to run, well in my case, many apps with ample program memory and not worry about bogging down the system.
Therefore my vote goes to program memory.
But I have one concern with using ROM storage as program memory. RAM and ROM differ signifcantly in terms of technology and the ROM has much slower access rates than RAM. Would this have a signicant impact on performance?
Nonetheless, id still prefer it to be program memory.
Alot of programs run better from internal storage than from a storage card.
As already mentioned I havent run out of progam memory yet. But there again I have never run out of storage space either.
So my vote is for two thirds storage one third programs as apposed to half and half just to be different.
By the way keep up the good work kyphur, it is much appreciated.
kyphur said:
BTW, I've already been able to increase Storage Memory to over 60MB (See attached Image)...
Click to expand...
Click to collapse
I suggest you max out that storage to see if it actually is valid or not.
Olipro said:
I suggest you max out that storage to see if it actually is valid or not.
Click to expand...
Click to collapse
That is true too, if there are any doubts as to reliabilty, stability then go with storage as well.
50 - 50 Split for everyone.
I have an Ultra 1 Gb SD Memory card Fitted (Faster than std SD) and I have Not loaded any programs on the Phone. (Everything is on the SD) but I am starting to see that my Program memory is getting Low. So I would benefit from more program memory.
I don't know if the Ultra Card makes a difference but I have very few if any Lock ups / Freezes.
I do agree with most on max the storage to see how stable it is...., but I would like both. An option to do either on the fly would be even better.
kyphur, lots of thanks for the great Roms you're cooking and developing! one question though, if Extended Rom gets eliminated in the next version, then will there be some way left to make programs like theft alert survive hard resets?
no no... I mean fill the storage up completely and then soft-reset the PDA to see if it's actually *real* space.
Program seems to make the most sense to me
Program is a good idea so is storage so that is why i vote 50/50. I am running out of both of them anyway.
I know I can use an SD card but it is not the same. SD installed apps causes the device to lock up at times.
Thank's a lot kyphur.
I'm democratic so 50 & 50 but, how wrote Olipro, before real test.
Well,split it even might be logical as few apps need to be installed in phone memory for better performance...........
My vote will be to :: release 2 ROMs ,one with more program memory and one with more storage memory and the users will decide which one to vote ...(will it be too much work releasing 2 ROMs??,if yes then Program memory wins!!)
Kyphur,
if you build two different ROMS, one with maxxed out program memory and one with maxxed out storage id like to run SPB benchmark and post the results for a better polling result....
edit... i would like more storage but dont want to lessen the performance...
The title is self-explanatory, just wondering whether larger memory cards will significantly affect the battery life of the device...
Anyone's input is much appreciated.
leo-chan said:
The title is self-explanatory, just wondering whether larger memory cards will significantly affect the battery life of the device...
Anyone's input is much appreciated.
Click to expand...
Click to collapse
I am a little new to the PPC world. But technically that depends on hardware. If the memory requires a static charge to keep the information in memory then technically it would possibly drain the battery more. But from what I know MicroSD cards that I use do not require static charge to maintain memory conditions.!! -New Guy
i belive you are correct
Nope, no difference as SD cards are flash cards, only reading/writing will use the juice....
Mind you if you get a 4Gb or greater card and shove MP3s and videos on it, you WILL use it more, so the answer is yes..... YMMMV...
tedbacc said:
Nope, no difference as SD cards are flash cards, only reading/writing will use the juice....
Mind you if you get a 4Gb or greater card and shove MP3s and videos on it, you WILL use it more, so the answer is yes..... YMMMV...
Click to expand...
Click to collapse
So in response the conditions that will drain the battery more would be if he/she was reading/writing. or Using the card allot. Size in the SD card world shouldn't matter
It would be the amount of reading and writing and the size of the content being written and read from the card.
I know a lot of people are still running SD builds and have not jumped on the NAND wagon<since it 's still not 100% stable.
Since the OS is running off the SD card, the card transfer has to be constant right?
So, is the life span of the card drastically reduced? If so, by how much?
samson_420 said:
I know a lot of people are still running SD builds and have not jumped on the NAND wagon<since it 's still not 100% stable.
Since the OS is running off the SD card, the card transfer has to be constant right?
So, is the life span of the card drastically reduced? If so, by how much?
Click to expand...
Click to collapse
OOOOHHHH thats a hard one.
Check this thread and decipher what you can.
http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv016.cgi?read=92882
http://blogs.msdn.com/b/tomarcher/archive/2006/06/02/615199.aspx
thumbdrive (same technology - solid state memory) use for readyboost (constantly read/write as in RAM) will wear out after 10 years. that is, if you not using some "china" (not made in china -- "china") brand.
that is why they give lifetime warranty. by the time it worn out, nobody will want it if you put it on ebay.
this depends on many factors. mlc nand flash as used in all usb drives or memory cards has a limited number of erase/write cycles per cell.
typically this is about 100k now but can be as low as 10k writes
all flash has wear levelling and spare blocks the media can use to help stop cards going bad
read has no effect on wear
as phones dont spend their life writing data to the card they should last many years, but as with all tech, make sure you have a backup!
cheap unbranded cards from the far east should be avoided as they are built cheaper, will have less spare blocks and less sophisticated wear levelling
This is an interesting thread.
I use alot of apps, so even though I use NAND I have had to put data on the SD card.
After lots of corruptions and reformatting I resigned myself to getting a new SD card. Then used the Panasonic formatter to refresh the card.
However, yesterday my phone completely crashed and wouldnt make calls or run anything from the SD giving force closes etc.
Last night I flashed to MDJ Gingerbread on NAND without SD data so that my phone would work ( I guess this is the disadvantage of removing WinMo!)
So I think there is definately something in the lifespan of the SD card.
GG
Hey i installed a custom rom, ewjet 008ex to be exact, it has an app called swapper configuration, at the moment its not active, ive never used it bfore but it seems to work very similarly to readyboost feature u find on windows. ive also heard that this can reduce the life of the SD card because the amount of read and write requests. has anybody used this feature and has it helped in anyway such as performance and memory usage, ny help would be greatful. thanks in advance
i've used it on CM roms on my G1 and it worked great.
i tried it on ewV008ex rom and i had some problems. i have an 8gb class 4 card, so that may have contributed to it, however, with 256mb swap, i would have a song skip every now and then, i had a few random reboots and bluetooth connectivity problems (not sure how that had anything to do with swap, but it started when i started swap and stopped after i removed it). and after about a day, i ended up with a damaged sd card (which ended up being a corrupt file somewhere on the SD card, a format fixed it). there was little improvement noticed, again, with a class 4 card. i really didn't test any other swap size because of how short of a time i used it. but i would assume with a class 6+ card, 128mb swap size on an ext partition on the sd card, and it would be a lot more benficial. too big will actually slow swap down, too small and it may not be adequate enough for your application.
there is no universal magical number that you can use with swap, the settings will depend on your sd card class, apps you are using, etc. typical swap settings are 64mb, 128mb, 192mb and 256mb, or atleast they were on the G1's a few years back. try a few different settings and see how it works for you.
Thanks for the reply mate, hmm in 2 minds buh i might give it a go, i have a class 10 16gb microsd card, so id have to create an ext partition i take it?
you don't have to, swapper can write the swap file to FAT
So has anyone tried swap on this device?
I was thinking that we might be able to increase ram operation if there was a swap partition.
I'm not exactly sure if it will work....
If anyone see's this thread and has a class 10 micro sd card and they want to try it please let me know how it affects the benchmarking results.
(I'd do it, but I have a crappy class 4)
Darin_Ram said:
So has anyone tried swap on this device?
I was thinking that we might be able to increase ram operation if there was a swap partition.
I'm not exactly sure if it will work....
If anyone see's this thread and has a class 10 micro sd card and they want to try it please let me know how it affects the benchmarking results.
(I'd do it, but I have a crappy class 4)
Click to expand...
Click to collapse
I tried using swap for awhile on my old HD2 which only had .5gb, but not here. The question I have to ask is why? In most of the current ROMs developers have already added scripts that kill dormant processes to free up real memory. Even when I've got a dozen apps open I've got plenty of RAM available. What kind of out of memory issues are you experiencing where you think swap would help?
Odysseus1962 said:
I tried using swap for awhile on my old HD2 which only had .5gb, but not here. The question I have to ask is why? In most of the current ROMs developers have already added scripts that kill dormant processes to free up real memory. Even when I've got a dozen apps open I've got plenty of RAM available. What kind of out of memory issues are you experiencing where you think swap would help?
Click to expand...
Click to collapse
Well it's not exactly a out of memory problem. I just wanted to see if the performance would be affected if a linux swap partition for ram would increase or decrease the ram operation.
I know we don't have the most high end device out there, but the specs are supposed to be better than an S2, yet it surpasses ours. It has a slower processor and less 3d graphics than the amaze and still it beats it.
Ram operation on the S2 according to Antutu: 705
Ram operation on the Amaze according to Antutu: 356
That's about half!!!!!
And I'm pretty sure if we found a way to increase the ram operation it'd help with all the other results.
I don't know why this is the case, but probably has more to do with the software running on the devices than the components. Sense is a lot of things most of which are good, but one thing for sure is it's s resource hog.
Odysseus1962 said:
I don't know why this is the case, but probably has more to do with the software running on the devices than the components. Sense is a lot of things most of which are good, but one thing for sure is it's s resource hog.
Click to expand...
Click to collapse
I believe my rom is senseless, cause I'm on the Xperia Z Ultra by shubham211995