Related
I had a friend who had this problem.I wonder who can help?With my O2 wizard i used to be running short of rom space ie storage memory as it had only 32mb left at factory default settings. My friend is running short of Program memory.ie ram space.
She is using eten m600+ that had 180mb storage for user and only 30mb program memory for user left at time of factory default settings.(when Bought from the shop)
original specs state 256mb rom and 64 mb ram.
after installing many programs the ppc still had about 125mb(excessive and redundant for running programs) left in storage and only 10 mb left in program memory.
Problem is certain programs like mapking, imap, agenda fusion(3000 contacts) consumes about 10 mb of program memory to run. then there is insufficient program memory to run a 2nd program at the same time.
If only we can shift like in my case 10 to 20mb from storage memory to program memory the the etenm600+ ppc would be wonderful.
IS IT POSSIBLE TO DO THIS?
She has also a miotech A700 with about almost the same programs installed.The miotech factory default program memory is also left with 30mb when purchased. HOWEVER with almost the same programs installed the program memory left is about 25mb.THERFORE on miotech there is no problems to run multiple programs concurrently.
Question:
1.What cause the difference in usage of the program memory?
2.What to do to ensure that the program memory is not used up during installation of programs?
3.Are we able to see the Program memory to identify which of our programs are occupying the space?
4.Can we do anything eg to shift the programs that occupy the space in program memory to storage memory or storage card( like the way we are able to shift certain programs from storage memory to storage card by shifting the programs from the Program files in Main Memory to Program files in storage card therby freeing the storage memory)
Any insight into this would be much appreciated. At this point manufacturers had yet to increase ram ie program memory from 64mb up to 128 or 256mb as had been done for storage memory ie rom in the case of eten600+ had been increased to 256mb from 128mb(Eten m600/o2 or dopod products)
With my O2 wizard i used to be running short of rom space ie storage memory as it had only 32mb at factory default settings
Ok, here is the memory explanation:
As you may or may not (I am not quite certain from your post) know on WM5 devices like the Wizard storage memory is ROM, or more precisely flash (NAND if you want to get technical).
Program memory is RAM (I think it's SRAM not sure).
Since these are two physically different types of memory there is no way what so ever to use one in place of the other. So no borrowing storage memory to run programs.
Even if it was somehow possible (which it's not) to use flash to run programs it would bring your device to a halt as its read / write speeds are much to slow.
On WM5 systems RAM (program memory) is used just like on PC exclusively for running programs. It can not be used for storage so there is no danger of it being wasted during installation.
I don't have an explanation regarding the ETEN vs MIO issue, but keep the following in mind:
1) 64MB is in reality reported as about 55MB (binary count difference), 10 - 15 of that is reserved by the system and as much as 5 more may be taken up by resident apps / services depending on the device and the provider.
2) Same program may use up different amounts of RAM under different circumstances and may have memory leaks which means the memory it uses grows over time even if you do not input more data.
Also check out this neat app. Its a really great tool if you want to see whats going on on your device.
Can anyone direct me to a guide somewhere?
I'd like to make an ext partition? Or would I? Is Swapper 2 just as fast? Tradoffs? Anyone run into their sd card wearing out yet?
bueler?
The message you have entered is too short. Please lengthen your message to at least 10 characters.
The consensus seem to be "do not use" except as 'last resort', and only needed on phones with 256MB or less of mem.
I wrote this, and I am waiting for a technical review from some experts in this field.
http://forum.xda-developers.com/showthread.php?t=897823
kschang said:
The consensus seem to be "do not use" except as 'last resort', and only needed on phones with 256MB or less of mem.
I wrote this, and I am waiting for a technical review from some experts in this field.
http://forum.xda-developers.com/showthread.php?t=897823
Click to expand...
Click to collapse
I have 256MB ram
At the moment, Compcache is good enough, but I can't help but wonder how much better it could be with swap instead of Compcache.
edit: "For example, If you have a 256MB system (shows as 262MB due to 1024 vs. 1000 KB size difference) and have 130MB of apps and data/cache loaded, then that leaves about 130MB for the system to actually RUN programs. That sounds like a lot, but in reality that is not enough, since the system itself takes 50-80MB, and services will take up another 30-50MB, leaving almost nothing. "
quick review, you don't appear to be differentiating between RAM and Flash? Having more apps installed shouldn't increase RAM usage at all. Unless I gravely misunderstand the Android OS, if I install a new program, it resides in the system flash, not the RAM, until I run it, at which point it gets loaded to RAM. When the system needs memory and no swap or Compcache is in use, it writes the state of the application to the flash and removes it from RAM.
What the swap does is similar to what compcache does-- compresses apps that are currently in RAM, and moves them to the swap space. In the case of Compcache, this is in the RAM. But since you're compressing it, background apps don't take nearly as much RAM, and you get an app switching speedboost because the processor can uncompress the compcache'd program, "move" it to RAM, compress the currently running program in RAM, and "move" it to the compcache. Forgive me if you already said this, I can't read the entire thing at the moment.
As for swap, I'm not sure if the processor compresses before going to the hard swap file, I don't think that it does-- when android starts getting low on RAM, it moves what was in RAM, to the swap on the SD-card. Since it does this when the system is low on RAM, and not when the system runs out of RAM, you never notice it. Reading the app back from the SD card happens almost instantaneously, because the sd cards can be read from at a speed of at least 20MB/s, maybe more. When you're restoring an app to RAM, 20MB/s is plenty.
edit2: I'm sorry but this guide is too vague to be anything more than moderately informative. Comments like:
-"CompCache, or "compressed cache", is handled by the Linux kernel. It takes a portion of your memory, and use it as a cache space, but compressed. By using on-the-fly compression it is able to make your memory appear to be a bit larger than it actually is. However, the result is slower performance.
This is usually NOT tweakble without mod ROM such as Cyanogen Mod. The kernel also must support this feature, and not all do. This also slows your phone. "
-"...swap space by either creating a swap file or a swap partition. This adds a lot of read/write action to your SD card and may substantially decrease its usable life."
-"This really slows your phone."
People wouldn't be doing these things for no reason. Compcache does not "make your memory appear a bit larger", when it at least doubles the amount of usable RAM-- when you allocate 60MB, if you average 75% compression (I usually see between 65% and 80%), do you know how much RAM this effectively nets you? Over at least 60MB extra, usually about 80! So my phone goes from having 256MB ram to having 340 effectively. Having your processor overclocked minimizes any slowdown from the compression/decompression; I haven't noticed any slowdown, and having the "extra" RAM definitely has made my phone more able to multitask.
You basically discourage users from doing ANYTHING like swapping, compcaching, etc to their phone, saying it "slows it down" and "can substantially decrease your SD Card's life". My experience has been otherwise regarding slowing it down, and regarding the SD card, the only part that would actually go bad is the swap partition. If you put that at the end of the drive, when it goes bad, you'll know, and you can just move the partition back 300MB and put your 300MB swap there. We haven't heard of any users' cards going bad from this yet. Also, if you have a class 6+ SD Card, they implement wear leveling on the card, so you don't need to worry about wearing out any individual bits.
Sorry, I'm just not digging it.
rancur3p1c said:
I have 256MB ram
Click to expand...
Click to collapse
Me too, me too...
At the moment, Compcache is good enough, but I can't help but wonder how much better it could be with swap instead of Compcache.
Click to expand...
Click to collapse
So try it. With CM612, I have CompCache AND Swap (through Swapper2 / 128 MB) turned on. It slows down every once in a while but my programs don't crash any more.
edit: "For example, If you have a 256MB system (shows as 262MB due to 1024 vs. 1000 KB size difference) and have 130MB of apps and data/cache loaded, then that leaves about 130MB for the system to actually RUN programs. That sounds like a lot, but in reality that is not enough, since the system itself takes 50-80MB, and services will take up another 30-50MB, leaving almost nothing. "
quick review, you don't appear to be differentiating between RAM and Flash? Having more apps installed shouldn't increase RAM usage at all. Unless I gravely misunderstand the Android OS, if I install a new program, it resides in the system flash, not the RAM, until I run it, at which point it gets loaded to RAM. When the system needs memory and no swap or Compcache is in use, it writes the state of the application to the flash and removes it from RAM.
Click to expand...
Click to collapse
At first I thought the same way you did, until I started looking in "diskusage".
According to diskusage, there is no separate RAM. 256MB is 256MB. App storage is where everything goes, and what's left is used to load services and such. The numbers I added up matches. I have 256 MB phone. 100 is for apps, which leaves about 150-160. System itself takes 50-80 (acore, gapps, phone, system...) then add a few services and you're down to 30-40 MB free to actually run the programs. The numbers seem to match up to what's shown at the bottom of "Manage Services".
I know it's weird, but perusal of Android developers kit doesn't contradict this understanding.
What the swap does is similar to what compcache does-- compresses apps that are currently in RAM, and moves them to the swap space. In the case of Compcache, this is in the RAM. But since you're compressing it, background apps don't take nearly as much RAM, and you get an app switching speedboost because the processor can uncompress the compcache'd program, "move" it to RAM, compress the currently running program in RAM, and "move" it to the compcache. Forgive me if you already said this, I can't read the entire thing at the moment.
As for swap, I'm not sure if the processor compresses before going to the hard swap file, I don't think that it does-- when android starts getting low on RAM, it moves what was in RAM, to the swap on the SD-card. Since it does this when the system is low on RAM, and not when the system runs out of RAM, you never notice it. Reading the app back from the SD card happens almost instantaneously, because the sd cards can be read from at a speed of at least 20MB/s, maybe more. When you're restoring an app to RAM, 20MB/s is plenty.
edit2: I'm sorry but this guide is too vague to be anything more than moderately informative. Comments like:
-"CompCache, or "compressed cache", is handled by the Linux kernel. It takes a portion of your memory, and use it as a cache space, but compressed. By using on-the-fly compression it is able to make your memory appear to be a bit larger than it actually is. However, the result is slower performance.
This is usually NOT tweakble without mod ROM such as Cyanogen Mod. The kernel also must support this feature, and not all do. This also slows your phone. "
-"...swap space by either creating a swap file or a swap partition. This adds a lot of read/write action to your SD card and may substantially decrease its usable life."
-"This really slows your phone."
People wouldn't be doing these things for no reason. Compcache does not "make your memory appear a bit larger", when it at least doubles the amount of usable RAM-- when you allocate 60MB, if you average 75% compression (I usually see between 65% and 80%), do you know how much RAM this effectively nets you? Over at least 60MB extra, usually about 80! So my phone goes from having 256MB ram to having 340 effectively. Having your processor overclocked minimizes any slowdown from the compression/decompression; I haven't noticed any slowdown, and having the "extra" RAM definitely has made my phone more able to multitask.
Click to expand...
Click to collapse
It also seriously depends on your SD card. I've read reports on Phandroid that said class 6 or 8 microSD cards would provide almost lag-free swaps, but that's on a G1 (which is already a slow phone).
You basically discourage users from doing ANYTHING like swapping, compcaching, etc to their phone, saying it "slows it down" and "can substantially decrease your SD Card's life". My experience has been otherwise regarding slowing it down, and regarding the SD card, the only part that would actually go bad is the swap partition. If you put that at the end of the drive, when it goes bad, you'll know, and you can just move the partition back 300MB and put your 300MB swap there. We haven't heard of any users' cards going bad from this yet. Also, if you have a class 6+ SD Card, they implement wear leveling on the card, so you don't need to worry about wearing out any individual bits.
Sorry, I'm just not digging it.
Click to expand...
Click to collapse
Constantly reading and writing the file will cause that area to get much heavier use and eventually cause it to fail the bootup "checking SD card". The only question is how much life is taken away.
I am running my Droid on 24% CompCache AND 128MB Swap right now. Occasional lag but otherwise runs quite well. It's also overclocked to 1.2 GHz with P3Droid's kernel. So I do practice somewhat of what I preach...
so if I have 512MB of ROM, and 256MB of RAM, and I fill up my ROM with programs, how much RAM do I have?
I don't follow how what you said can be.
SD Card writes-- SanDisk guarantees theirs for 100K writes to any given sector...that's good enough for the swap to not be a problem in the near future IMHO.
let's put it this way...
Here's the specs of Moto Droid from Motorola itself (http://developer.motorola.com/products/droid/)
RAM 256 MB
FLASH ROM 512 MB
USER STORAGE AVAILABLE (MAX) 256 MB
So the REST of the ROM clearly is to hold the Android OS itself. The actual programs you can load for running? 256MB. That's app storage.
I've always wondered if there's a way to read the actual ROM contents and enumerate that... But that's for another topic.
Found this useful post: boot process of Android OS
http://www.androidenea.com/2009/06/android-boot-process-from-power-on.html
Furthermore, I noticed that the "built-in" apps (i.e. bloatware) are actually just stuff left in the "system" dir which can only be accessed with root permission. So they are NOT store in "ROM" per se, but more like "part of boot rom".
I have to find explanation on how an app is loaded, but that helps...
Aha, so that's the term they used... Application Lifecycle.
http://www.youtube.com/watch?v=ITfRuRkf2TM
Okay, I take back what I said. Apps are loaded into RAM, but HOW things are allocated wasn't that clear.
From what I understand, apps, when they are killed by system, some exit gracefully by writing their instance "state" (data and cache) to app storage. Some just exits.
Browser will write the URL, for example. When the browser is "resumed", the process is loaded, then the instance loads back the URL and it's as if nothing happened.
I'll have to revise the paper, AND I haven't figured out what to say about swap and compcache yet.
Made some corrections.
On 256MB machine, 30MB is used by deep system buffers (not part of OS), another 32 for OS cache, so about 190 or so is available the OS itself to load apps and services, and just the default gapps, system, phone, and so on is about 60MB. So a fresh clean phone should ahve no more than 120-130 MB free. If you load a couple apps with autostart services, it'll quickly drop below 50MB.
http://stackoverflow.com/questions/2298208/how-to-discover-memory-usage-of-my-application-in-android
Another piece of the puzzle... The numbers at the bottom of "Manage Services" is as explained below:
(quoting from http://android-developers.blogspot.com/2010/02/service-api-changes-starting-with.html )
"Finally, along the bottom of the screen are some obscure numbers. If you know how to interpret them, this gives you a lot of information on the memory status of your device:
* Avail: 38MB+114MB in 25 says that the device has 38MB of completely free (or likely used for unrequired caches) memory, and has another 114MB of available memory in 25 background processes it can kill at any time.
* Other: 32MB in 3 says that the device has 32MB of unavailable memory in 3 unkillable processes (that is, processes that are currently considered to be foreground and must be kept running)"
The order is reversed in Android OS 2.2. Mine says
Other: 75MB in 5 Avail: 18MB + 20 MB in 3
Which should mean 75MB in 5 unterminable tasks, 18 MB free (or can be freed easily), plus another 20 MB used by 3 processes that can be killed to free up.
ProCrank says...
39911K System_server
15756K acore
12982K swiftkey
10136K DIY Screensaver (lock screen)
9392K Phone (system)
9093K ATKfroyo
6834K Terminal
3984K JuiceDefender
3785K Screebl
3482K system MMS
3329 SeePU
3244K Bluetooth
3199K SetCPU
1979K Zygote (which is Dalvik init)
1425K Mediaserver
and the rest is native system code well under 1MB in size.
If you add System_server, Phone, Zygote, Acore, and foreground app (terminal and procrank) you get about 75MB. It would be nice if that screen TELLS you which program it considers to be unterminable, but, oh well...
Does the 768 RAM on the MyTouch 4G allow installing more apps or is the memory reserved for apps/data the same as for a 512 device?
Thanks.
I think you are confusing the memory used for storage (1gb available internally) with the memory used for running apps (768mb).
You have 768mb of system memory (for running apps). 1gb of internal memory for apps/storage along with 8gb on the removable SD card.
What are you talking about man?
RAM = random access memory.
ROM = Read only memory.
Ram is what used to allocate the programs/app that is already installed on ROM, so it can run on the phone. In simple ROM is where you install it and to run the program when you load it then its allocated in RAM, I hope it make sense to you.
I've currently got an Acer Liquid E which has 512 MB RAM but I need an AWS phone now.
The phone has 512 MB RAM but only part of that is allocated for storing apps and their data. I believe after a clean wipe only around 70 MB is available for apps (I could be wrong about that number). I believe the rest of the RAM is reserved for the OS and various caches. Even though many apps can be moved to the SD card, there always remains part of the app taking up memory in RAM so if you install too many apps you'll eventually run out of space and things get ugly.
So my question is whether the larger amount of RAM (an extra 256MB) is (at least partially) available for a larger amount of app space, or whether the amount of space available for apps is the same as on a 512MB device, with the additional 256MB being used only by the OS...
I'm sure I've got some of the details wrong, but still the basic question: can the MyTouch 4G have more apps installed before going wonky than say a Samsung Vibrant?
Thanks!
No wonder you got confused I just looked up the spec for Acer Liquid E. It has 512MB ram and rom. Now you are saying that you installed alot of apps and its becoming sluggish? In that case disable some of the service and close some apps you don't use. Normally you won't have 512MB or the actual ram in any device as OS itself and other things use some memory some even used for accelerated graphic depending on the phone.
What you should look for is first remove all the boltware and run the phone barebone without running many things then you can see how much actual memory is available to you to run other service/apps. Also you can save the app as in installing in SD but that has nothing to do with the RAM which is just saving in SD and not in NAND. But when you run the app it will still have to be allocated on RAM thus enabling you to use it.
On my system the RAM appears to be partitioned into /system, /data, and /cache. It seems the /data partition is what's available for use by apps. When this gets low (around 20 MB or so) performance is seriously affected and some apps don't even work right. On my system there is 200MB available for data. I assume it's similar on other devices with 512 MB RAM.
One way to check is install the free app "App 2 SD Free" and on the "On phone" tab at the bottom it will give you total and available memory. (I'm sure there are lots of other ways to check, but it's one app I've got installed that has this info. Here's a link: whoop's it won't let me post a link...)
Anyway, what I'm trying to find out is if there's more available memory on the MyTouch 4G. If someone with this phone could run this app let me know what the "total" memory "On Phone" is I'd appreciate it!
Thanks!
tmagritte said:
On my system the RAM appears to be partitioned into /system, /data, and /cache. It seems the /data partition is what's available for use by apps. When this gets low (around 20 MB or so) performance is seriously affected and some apps don't even work right. On my system there is 200MB available for data. I assume it's similar on other devices with 512 MB RAM.
One way to check is install the free app "App 2 SD Free" and on the "On phone" tab at the bottom it will give you total and available memory. (I'm sure there are lots of other ways to check, but it's one app I've got installed that has this info. Here's a link: whoop's it won't let me post a link...)
Anyway, what I'm trying to find out is if there's more available memory on the MyTouch 4G. If someone with this phone could run this app let me know what the "total" memory "On Phone" is I'd appreciate it!
Thanks!
Click to expand...
Click to collapse
You have your definitions messed up:
You are talking about ROM (read only memory) which is like hard drive in your computer. MT4G has 2gb of memory with about 1gb available to end user. SD card can be used to supplement ROM, if app developers enable it (most do) so you have the potential to have up to 17gb of storage space for apps.
RAM (random access memory) is what used to actually run those apps (i.e ability to multitask) and so far this phone has more RAM then any other phone on the market (768MB).
In short: you have roughly 5 times more available memory for apps then on old phone and that does not even include SD card.
Does that help?
Ignore this post: read the one below.
OK, I think I've been confused because the Acer has 512 MB RAM and ROM. So as I understand it now, there's some amount of ROM on the phone that is available to install apps and separate from this is the RAM used to run the apps. I'm guessing the amount of RAM taken up by apps depends on the apps and services currently running, not on the total installed in the ROM?
So having more ROM will let you install more apps but having more RAM will be better for multitasking and speed since more apps can reside in RAM before being swapped out?
From what I've picked up on this thread and Google:
MyTouch 4G: 758 MB RAM, 1 GB user ROM
Vibrant: 512 MB RAM, 2 GB user ROM
Liquid E: 512 MB RAM, 200 MB user ROM
The Vibrant can have more apps installed but the MyTouch should be better at multitasking (and 1 GB space for apps seems like plenty). Either phone should be far better than the Liquid which is seriously constrained by the small ROM.
Is this generally correct? If so, I'm definitely leaning towards the MyTouch 4G.
thanks!
Yes thats some what correct. In this case you might want to go with MT4G due to superior hardware capabilities. Vibrant has issues and you will need lagfix before you can work it fully but on MT4G is good to go out of the box if you are android normal user.
If you look at quadrant benchmarks for Vibrant against MT4G. The MSM8255 (2nd gen snapdragon) CPU and Adreno 205 GPU blows away the Hummingbird CPU and SGX 540 GPU. ATM MT4G and DHD is the fastest android device in market. With MT4G you have elegant balance in ROM/RAM for nice performance. BTW MT4G has 4GB ROM but 1GB user accessible.
Thanks. I'm going to try and get the MT4G.
This may be a general question for all android devices or not but I was curious about adding swap space to this device. It has 1 gig of ram and many may consider that to be enough, and it might be. I have cyanogenmod 10.2 installed and tried to enable zram, 10% seems to be the best setting as anthing higher caused a game to pop up a notice saying something about low memory and defaulting to lower values. When I checked to see if zram was used however it turns out it was, about 25mb - 34mb after booting. The issue with zram is when multitasking with lecturenotes and moonreader, The tablet would reboot and my notebook that was open in lecturenotes would be missing notes I took or the settings would be greatly messed up, or both. This was with 10%.
I am thinking since it was used, it might be helpful to have an sd card for this reason, to aid in multitasking. This is important to me because I run several apps at once (I wish cyanogenmod had multi windows, and google wouldn't threaten over it). So the question is will there be a benifit to buying an sd card on ebay (class 10 of course) and using it as swap space. It seems this tablet might be on the cusp of the memory being enough. Also I am thinking this might help to future proof it a bit when updating to newer releases of gyanogenmod. The sd card I was thinking of is 4 gigs and may plan on having 1gb swap space (this tablet is for school and other work). The tablet has 32gb storage and that is more than enough for me (I am only using 3gb of space) so I wont need to add anymore storage.
I should also add that when multitasking without zram enabled, the tablet reboots less but still has done it, and so far nothing has been lost in my notebooks. I am thinking that the memory of 1gb is starting to reach its limit, with no apps running I am consuming about 600mbs of it.
vanquishedangel said:
This may be a general question for all android devices or not but I was curious about adding swap space to this device. It has 1 gig of ram and many may consider that to be enough, and it might be. I have cyanogenmod 10.2 installed and tried to enable zram, 10% seems to be the best setting as anthing higher caused a game to pop up a notice saying something about low memory and defaulting to lower values. When I checked to see if zram was used however it turns out it was, about 25mb - 34mb after booting. The issue with zram is when multitasking with lecturenotes and moonreader, The tablet would reboot and my notebook that was open in lecturenotes would be missing notes I took or the settings would be greatly messed up, or both. This was with 10%.
I am thinking since it was used, it might be helpful to have an sd card for this reason, to aid in multitasking. This is important to me because I run several apps at once (I wish cyanogenmod had multi windows, and google wouldn't threaten over it). So the question is will there be a benifit to buying an sd card on ebay (class 10 of course) and using it as swap space. It seems this tablet might be on the cusp of the memory being enough. Also I am thinking this might help to future proof it a bit when updating to newer releases of gyanogenmod. The sd card I was thinking of is 4 gigs and may plan on having 1gb swap space (this tablet is for school and other work). The tablet has 32gb storage and that is more than enough for me (I am only using 3gb of space) so I wont need to add anymore storage.
I should also add that when multitasking without zram enabled, the tablet reboots less but still has done it, and so far nothing has been lost in my notebooks. I am thinking that the memory of 1gb is starting to reach its limit, with no apps running I am consuming about 600mbs of it.
Click to expand...
Click to collapse
Well in my own personal testing i could not see any benefit while extracting 700mb archives under android with 4gb swap space on a 40mbs microsd card, while under full linux desktop with a same workload, swap differently helps keep the system smooth under heavy io load. The conclusion i drew was the android platform deals to memory management differently than the typical desktop os, due to slower emmc chips used as a boot disk for the majority of android devices using this slow, already bottlenecked memory as swap space doesn't make sense (not to mention the use of 2gb swap space on a limited 16gb storage etc), so android runs almost completely in ram, with stricter memory management and allocation allows android to run fine without swap space, although because of this, androids memory management makes little uses of available swap space
JoinTheRealms said:
Well in my own personal testing i could not see any benefit while extracting 700mb archives under android with 4gb swap space on a 40mbs microsd card, while under full linux desktop with a same workload, swap differently helps keep the system smooth under heavy io load.
Click to expand...
Click to collapse
I've been running my desktop without swap for the last 10 years, and as long as you have enough RAM for all your running programs, there will be no problem at all.
Extracting an archive is a mostly sequential operation (single read stream, single write stream), so it also doesn't benefit from caching, which could use the memory that is freed by swapping.
_that said:
I've been running my desktop without swap for the last 10 years, and as long as you have enough RAM for all your running programs, there will be no problem at all.
Extracting an archive is a mostly sequential operation (single read stream, single write stream), so it also doesn't benefit from caching, which could use the memory that is freed by swapping.
Click to expand...
Click to collapse
Ahh that makes sense. I wasnt sure if swap had an effect directly on the extraction, but seem keeped the rest system more stable/ smooth duing the process in the case of GNU/Linux, with swap off similar operations such as installing packages would more oftern lock the tablet up. Might be a placebo though
I also dont set swap on my Linux desktop, as it has plenty of ram but the benitfit of swap space is somewhat more noticable due to the lack of ram on the tf700.
JoinTheRealms said:
I also dont set swap on my Linux desktop, as it has plenty of ram but the benitfit of swap space is somewhat more noticable due to the lack of ram on the tf700.
Click to expand...
Click to collapse
I just want to share my user experiences on the swap space... It does seem to improve the tf700 with swap space due to the lack of RAM (1GB)..
Thanks for all the useful posts
Thanks for all the posts, I have my sd card on the way. I will post my experience when I get my sd card but I am sure it is safe to say there will be a benefit. I use linux to at home and have 8 gigs of ram on that computer, I lessen the swap after install to about 512mb because 8 gigs is more then enough. I leave some however just incase of any issues like ram going bad. On another computer in the house that has limited ram (1.5 gigs) I have enabled zram (384 mb) and added two old flash cards (1 gig each) to a pci raid card and those were converted to swap. I then altered the fstab to reflect the order of priority I wanted them used in. The reason is that when the swap is used from the hard drive, and the hard drive is being written to, can cause a slow down. So with the 2 flash cards at 1 gig each (the swap seen as 2 gigs) it seemed to speed it up. I just posted that because of the nix users and it seemed like a good plan to run it that way.
Ok, got the sd card
So I recieved the sd card today and applied the swap space to it using root swapper (max setting is 256mb, I figured i can find a way to increase it later if I need to). The defaut location in many of the swap applications will not work on this device however, the sd card mounts at /storage/sdcard1 in my case. So it has to be entered manually (might just be cyanogenmod). Also the device was picky when insalling the card, it would only say blank sd card or cannot read filesystem. I had to install the card in the dock, format it from cwm recovery, (vfat if I remember correct, ext2 and ntfs had issues, avoided ext3 and ext4 cause journaling will cause more wear and tear).
The sd card is a scandisk ultra sdhc uhs-1 8 gigs. From my research that is the fastest this tab can handle. I also use optimising programs like greenify (epic save everything app), pimp my rom (almost every tweak applied), and some pretty efficient tweaks in the settings as well. I also have HALO))) installed and working (epic multiwindow app that works with native programs and almost any rom).
The resuts:
I tested it many ways, I rebooted to see use (none was used because swap starts after boot), I opened apps normally (browsers and things), and it showed 9kb's was used. I then put it to the tests, I open four windows in halo, these were youtube, moonreader pro with a pdf ebook, lecturenotes (awsome note and handwriting app with tons of functions), and Supernote pro (not the best note app). Constantly switched between the apps and messed with settings with them open. The max of swap used was around 10mb(keeping in mind that when I switch windows the app(s) I leave get paused making it hard to tell actual usage because I had to swith the terminal and type "free". I then ran antutu bechmark and gpubench (my tab stills score pretty well) and got a little higher swap usage but not much.
As for the feel of it, it seemed to help when opening many windows in halo, this is the primary reason for my doing this. As for other more normal uses I really didnt see too much of a difference, I did test games however and they did seem a little better (could be placebo) but I am not really sure why they would except android cached other apps to free memory. Reopening apps seemed faster. Also because of apps like greenify my memory usage is decreased so I am sure typically swap would have seen more use.
The conclusion is that at this point I really didn't notice much of a boost for any normal use, but I will definately keep the swap space on due to the boost when using halo and not to mention that I will be updating to android 4.4 soon and it might need more memory. Swap at this point seems more like a pre emptive strike, but it does help with multitasking.
about swap
://androidforums.com/boost-mobile-warp-all-things-root/610449-ram-swapping-without-swapper2.html I actually followed a guide on android central and redid the swap file to 1 gig to swap instead of using a program, this worked better. (add http in front), when i disabled swap it was noticeable that there was a boost. then reenabled it this method.
I just came across a new anonymous phone with apparently advanced specs. it seems to cost under $100 and has an octa-core proc with lots of memory and space on it But I am trying to figure out how to fix and mod it to work properly
It is identified by XP as an HTC MK65xx, which got me interested from my Wizard, BA & Wing days and I downloaded drivers which seem to work from the ChinaMobile site. It installs as an MK6571. Whatever that is. It shows up in FMs as a 16 gig media device but with no space on the drive to install anything??
I have tried to get into the file system to see what is taking up all the space but cant see anything besides the photo-gallery which shows as being completely full, no space left, zero bytes used!
The machine is constantly trying to update flipboard, which fails with the usual out of space message.
Application Manager shows 16 gig used on the internal memory which it seems to call an SD card. (THERE IS NO SD CARD SLOT OF COURSE!!)Trying to take a picture results in the same out of space error message INSERT SD CARD as I get if I try to install any app from the app store!
Application Manager does helpfully offer to wipe all data off what it calls the sd card, which sounds adequately dangerous.
Can someone have designed a Chinese phone working on Android which has its operating system taking up all that space and loaded into RAM? Is this likely?
Download mode shows all in chinese and my chinese is a bit rusty (actually non-existent)
seems to be a goophone s6
anyone got any specs or rom for this please