SD Swapping - First, when I partitioned my SD card it was set to 32mb for a swap partition. I left it at that. DConfig lists an option to enable SD Swapping with a default of "30". Is this the same thing? Do I need to enable the SD swapping in DConfig to actually have a swapfile and are there any benefits to having a swapfile?
Dalvik Heap - 16 / 24 MB. It's set to 16MB. Is 24MB better? What does that feature do?
LowMemKiller - More, Less, Stock - What does this feature do, kill apps at a certain threshold?
Related
I have a couple questions about swap.
I am currently running the swap file from my EXT3 partition on JACHERO. It was all running very very smoothly last night after a fresh format of the sd card and most of my apps reinstalled. This morning I put my music back on the card(6 gigs of music). Right after I did that I noticed the phone ran like a slug again.
So my first question is does the amount of data on a SD card slow the access to the swap space?
My second question is, does the Swap space (EXT3) need to be the first partion or the last? Does it make a difference either way?
Ok I lied, I guess I have a "few"questions.
What benifit if any is there to running the swap on a linux-swap partition as opposed to an EXT3? If there is a benifit, how do I tell Swapper to use the linux-swap partition? IE what is its location?
as far as i know the swap file needs to be last
it should be Fat32/EXT2/3
No, the amount of space doesnt matter as long as you have atleast 100mb free on your ext3 partition.
In the swapper settings make sure the location of the swap file is in /system/sd and not in /sdcard
nephron said:
it should be Fat32/EXT2/3
No, the amount of space doesnt matter as long as you have atleast 100mb free on your ext3 partition.
In the swapper settings make sure the location of the swap file is in /system/sd and not in /sdcard
Click to expand...
Click to collapse
Ok thanks... I have it set to the last partition already. Swapper is set to /system/sd. I have an 8gig class 6 card. I have tested this twice now though. The moment I put my music on my card the system slows down like crazy, the moment I remove said music it speeds back up....
Anyone have any ideas?
Maybe your ext2 (or ext3) or swap partitions are too big. For ext use 500MB - it's enough. For SWAP don't use more than 32MB.
BolecDST said:
Maybe your ext2 (or ext3) or swap partitions are too big. For ext use 500MB - it's enough. For SWAP don't use more than 32MB.
Click to expand...
Click to collapse
Thanks but my ext3 is 512 and the swap size was set to 32...
noob question...
i was wondering if it was possible to exclude an ext2/ext3/ext4 parition and create a fat32 and linux-swap only partitioned sd card and use it without any problems. i am assuming yes and apps would simply be installed to the internal memory.
i've tried searching for an answer, but did not come across anything. any help and/or answer would be appreciated.
I'm pretty sure that would be fine, if there is no ext 2,3,4 then it'll go to the internal storage
Why don't you want an ext partition? I believe the opposite, I thought the default swap config looks on partition 3, so you may have to change some stuff in the config files.
evilkorn said:
Why don't you want an ext partition? I believe the opposite, I thought the default swap config looks on partition 3, so you may have to change some stuff in the config files.
Click to expand...
Click to collapse
if that is the case, then maybe i can manually allocate ext2/ext3/ext4 to have 0 mb.
i wanted to exclude the ext partition as i wanted to see performance difference with apps installed on internal memory and keeping the linux swap.
If you use cyanogen's roms then you will have to comment out the lines that activate apps2sd and you will change your userinit.sh and user.conf to look at /dev/block/mmcblk0p2 instead of mmcblk0p3. If you do that all should work out fine.
Does anyone know if there's an app that can take u into recovery mode instead of holding the end call and home button?
As I'm partioning my SD card for Apps2SD to work, I set swap and ext both to 1024mb what does this mean? I have a total of 1GB storage separate for my apps to download leaving the rest for me what do what I want? The instructions don't get too specific explaining anyones.
http://www.androlib.com/android.application.com-siriusapplications-quickboot-jDpx.aspx
Thank you Troy! Can you help me with my 2nd question?
Crown510 said:
As I'm partioning my SD card for Apps2SD to work, I set swap and ext both to 1024mb what does this mean? I have a total of 1GB storage separate for my apps to download leaving the rest for me what do what I want? The instructions don't get too specific explaining anyones.
Click to expand...
Click to collapse
use the defaults. 1024mb is WAY too much for swap, i don't run that much swap on my desktop. and 1024 for apps2sd would be like 800 apps... just use the defaults.
thedudejdog said:
use the defaults. 1024mb is WAY too much for swap, i don't run that much swap on my desktop. and 1024 for apps2sd would be like 800 apps... just use the defaults.
Click to expand...
Click to collapse
absolutely right. 32mb for swap only.
It seems to me that the memory layout on the Captivate isn't in line with other Android devices.
Looking at the specs of the Captivate on www.google.com/phone I am seeing:
RAM: 512 MB
Internal Storage: 16000 MB
Yet in looking at "SD card and phone storage" in settings I see.
Internal phone storage, Available space: 1.60 GB
Internal SD card: 13.03 GB
It seems to me that the 16000 MB is partitioned so here are my questions.
1) Where is the 512 MB and what is it for?
2) Why is it if I install some app that is supposed to show me external SD usage it always instead shows that 13 GB internal flash volume?
And in a broader sense...
3) What is the general memory model for Android? I see RAM, Internal, External. What are they all for?
I'm not sure, but of that internal 16gb of storage space, is it merely partitioning a section of that away for the OS?
That is my question. I don't understand the memory model.
This might not be accurate since I don't own an android phone but i'm bored
1) Where is the 512 MB and what is it for?
Click to expand...
Click to collapse
System Ram, used by the OS and apps as volatile memory.
2) Why is it if I install some app that is supposed to show me external SD usage it always instead shows that 13 GB internal flash volume?
Click to expand...
Click to collapse
Because the 13gb volume is the "general" volume where you can personally store whatever you want, it functions just like an external Sd card would.
3) What is the general memory model for Android? I see RAM, Internal, External. What are they all for?
Click to expand...
Click to collapse
Ram - It is for the OS and apps, they need that as volatile storage to function, nothing is really stored there in the long term, the OS manages that so don't worry about it.
Internal memory - This used for many things, app install and to store files like music, pictures, etc. Internal memory is usually partitioned so that you only have a set amount (probalby that 1.60 you see ) for apps install and the rest if for whatever you want(the 13gb).
External memory - That is just an SD card you can use to expand your internal memory, right now (Android 2.1) it only works to add more space for files(music, photos, docs,) but with with froyo (android 2.2) you'll be able to move installed apps to this external (and the internal 13gb) drive.
Ok here's how it's laid out.
Yes, we have 512MB of RAM. However we as the end user will only see around 300MB of that, give or take 20MB. That's because some of it used by the OS and the GPU for different tasks.
That 16GB of internal storage you see, is partitioned off. We actually get around 13GB to use for ourselves. That 1.6GB you also see starts off as around 2GB (I would assume), and the rest used by the system for the OS, apps, cache, etc...
It's just like a hard drive on a computer in that respect. Sure you but a 1TB hard drive, but you actually only get to use around 850GB of it due to formatting and whatnot.
My problem is that I cant install apps in the 13gb partition, I dont know why..
I tried with:
adb shell pm setInstallLocation 0 this is Auto mode but.. installs in 1.8 partition
..........................................1 this install on the 1.8 partition
..........................................2 this install on the sd card
..........................................3 doesent exist xD but i tried..
so does exist any way to install apps for default in the 13.3 internal SD card partition, or any way to errase the partition??..
Try using "apps2sd" from market. It should be app2sd or apps2sd.
But I don't understand the need to do this, given that Captivate has one of the best memory amounts allocated for system.
Also note that, the apps on SD won't be available during the times when apps like "media scanner" are running.
Hello everyone
I'd like to have some swap ( I read only 128mb possible) storage. Is it possible with GingerDXv015 and LinuxDXv003? How can I do it?
When I try with Swapper Configuration it is all grey and cannot be filled in unless checking "Active Swap on Boot".
Swap File Position is automatically SD Card FAT Partition but there is not enough free space (0 mb, but there is enough free space).
Ok I have flashed FXP Kernel, entered CWM->advanced->Partition SD Card. Don't know if it's working.