Partition Size Recommendation - 8GB SD Card - G1 General

I have searched, googled, etc, but I can not found a recommendation on partition size, for a 8GB SD, on swap, ext2.
Does a "recommended" exists?
Today I have 128 SWAP, and 896 Ext2.

What class sdcard? For a class 4/6 that seems pretty good it really depends on how many apps you have and how much multitasking you want to get done.

I basically want my phone to respond as fast as possible, to whatever i'm trying to do. So i do not mind using more, if needed.
Is not like I would be loading it with 7GB of music or videos.
It should be class 4, do not think it is 6.

Also depends on what rom you running. With Cyanogens 2.1 build its better that you don't use swap. So there's several factors to think about.

I'm currently using 4.x.

128mb swap is too big, fool! Drop it like it's hot.

You mean like it is going to do harm? or like it is a waste? you mean to totally drop it, or to drop it to 96, or 64 or 32?

Who let the dogs out?
Too big of swap size slows the phone. Many apps will be kept running in the background due to this. That's a bad thing. Go with 32 or 64 swap. And for an ext size, 528mb is sufficient. Unless, you have more than 200+ apps, which I doubt.
IMO, I avoid swap and use compcache instead. Swap slows down after a week. Only use swap if you like running a ton of Widgets and background apps.

Related

Anyway to make the Swap file in the internal memory?

People saying the internal memory is faster and that swapper can lessen the life of your SD card. Is it possible to create the swap file on the internal memory?
I'd be willing to try it out if someone can tell me what path to use.
See, nice thing about wearing out your sdcard is that when its worn out, you simply pop it out and replace it with a new one. If you wear out the internal memory, then you take the whole phone and chuck it in the trash can. I personally would rather to wear out the sdcard than the internal memory.
What would be real nice is an sdcard with a chunk of RAM on it that can be mapped as a swap. Its kind of surprising that nobody makes such a device yet, I'm sure that a 16G flash + 512M RAM would be a real hot seller. It would revolutionize mobile devices.
Ummmm correct me if I am wrong but the swap file is to extend the memory of the phone. If you are using part of the phones memory as a swap file it is kind of redundant.
Actually the life of normal sdcard is quite long (1000000 read/write cycles? more?) and internal flash memory even longer, so why are you scarying him that it'll destroy his phone?
The 1 million cycle number that you suggested is really not that long, especially when you're talking about swap/memory usage.
Its not that high though... more like 10 thousand for a cheap chip, 100 thousand for a good one.
Using internal memory for swap WILL destroy it... QUICKLY. This isn't a matter of trying to scare someone, its a matter of fact -- this is simply something that you REALLY do NOT want to be doing.
@jady: You should hit wikipedia and do some reading about the differences between RAM and EEPROM, and also look up the purpose of SWAP.

Chances of a Hero build (No swap)

Hi....
I just wanted to check what are the chances that someone makes a Hero rom that doesnt require the swapping crap which kills SD Cards eventually and doesnt actually make the rom still run as smooth as normal builds like JF 1.51 etc..
So What are the chances that someone can make a normal Hero rom that you just install and start using right away. Without any swap crap
No one is forcing you to use swap. You can load a hero rom without using swap.
^^ Like he said you don't have to use swap. It will be hella slow though and that is NEVER going to change because your G1 has 192mb RAM and the Hero has 288mb, and the Rosie/Hero stuff was designed to run on that amount of RAM. That is all there is to it and it will always be like that.
"eventually"
Your card should have at least a years warranty anyway by which time prices, sizes and performance will have moved on.
I just unearthed an old 64MB memory stick duo from a few years back, 4 times the size and 1/128 the capacity of my 8GB microSD which was 99p cheaper.
crpercodani said:
^^ Like he said you don't have to use swap. It will be hella slow though and that is NEVER going to change because your G1 has 192mb RAM and the Hero has 288mb, and the Rosie/Hero stuff was designed to run on that amount of RAM. That is all there is to it and it will always be like that.
Click to expand...
Click to collapse
Thanks man, that was pretty much the answer I was looking for !! I didnt understand why Hero required the use of swapper. But it makes sense now.
But thats not good news for me !! Coz I really liked the Hero build , its a joy to use!. But with the use of swapping I dont find it very enjoyable, its still lags when you start running various applications.
Anyway thanks for the replies guys........appreciate it !.
What size swap did you try? You can really go as high as you would like, although much over 96mb is overkill I imagine. Also it makes a huuuuuuge difference when you change the swappiness to 80 or 100.
I'm pretty sure your SD card is going to last more than 2 years despite having a swap partition. You make it seem like a swap partition will kill your SD card in months.
With a swap, your card will still last for a couple years. Cards at $10, so who the hell really cares anyways? Even if it lasted 6 months, big deal.
I'm not sure what settings you are running with, but you need to turn compcache and backing swap off, and ONLY use linux swap, 96mb with 80 swappiness. The rom is extremely fast, for me, just like the 1.5's. I was pretty much crazy shocked by just how fast hero is with a good swap running.
I use it daily wth exchange for work, with several widgets, i use the weather, the galleries, contacts with all the facebook integration, never a slowdown.
I have a 104Mb Swap partition, 1.6Gb ext3 partition.
I had set my swappiness to 80. But for example just trying to turn wifi tethering ON, completely killed my phone , it got soo slow that ended up freezing.
and Yes, i am running only Linux swap no comcache.
From your replies, I can see something is possibly wrong with setup.
Could it be due to the fact that my SD is a class 2 ?
Weees said:
I have a 104Mb Swap partition, 1.6Gb ext3 partition.
I had set my swappiness to 80. But for example just trying to turn wifi tethering ON, completely killed my phone , it got soo slow that ended up freezing.
and Yes, i am running only Linux swap no comcache.
From your replies, I can see something is possibly wrong with setup.
Could it be due to the fact that my SD is a class 2 ?
Click to expand...
Click to collapse
Your swap size and ext3 is to big, thats prolly why you were having issues.
well, what do you recommend then ?
Swap size should be at 32 or 64. Some have gone higher but not recommended. And ext partitions shouldn't be more than about a gig.

need advice on partitioning my sd card.

i bought a new 8gb sd card and im going to run pancake rom. ive done a bit of searching and i see alot of different answers when it comes to how much ext2 & swap space to use. what do you guys think is the best for ultimate performance on the hero?
i want to split the card for:
swap
ext2
fat32
the defaults in recovery should be fine, I believe it is 64 swap 256 ext then the rest fat. there isn't a reason to change the defaults really as far as I know it shouldn't change the performance for the better. but for the worse.
well i set 64mb for swap and 1gb for ext2 and the rest for fat. seems to be working well.
1 gig for apps seems like a lot of apps....
thedudejdog said:
1 gig for apps seems like a lot of apps....
Click to expand...
Click to collapse
yeah i know but i may end up with alot of them, you never know.
Swap: 64mb
EXT2: 1024MB
The Rest is FAT32
This is with a Class 6 8GB SDHC.
No idea why but when I have a 1gig ext2 the phone seems to go much faster than say a 256mb or even 512mb partition. You can symlink alot of stuff to the ext2. I only use it for cache and apps though.

Is 2gb sd card enough for a A2SD?

I was just wondering would the sd card that the hero comes with (2gb) be worth it to parition it for A2SD?
thats what im using have about 40 something apps on it
Absolutely worth it. I was getting low space warnings without a2sd, but I'm running just fine now.
If you're one who loads a lot of music and video on your phone, you'll probably want to upgrade to a larger card anyway, but if you don't fill it up with that sort of thing, then you can install a2sd and still have plenty of space left for other things.
question: doesent a2sd fry your sd card overtime?
It's not so much the size you should be worried about, it's the speed. You want a class 4 or better, preferably class 6, 8 or 10.

A2SD on G2/DZ - your opinion

this is one of those topics that I am genuinely curious about, because on the surface, I can't wrap my head around how A2SD could be useful on a phone with 2gb of [usable] rom. what's more of a hoot to me is that people usually set up a 1gb ext partition for storage... which is less than the phone has internally... so what did that accomplish?
additionally, with the decent amount of ram we have, swap doesn't seem like it would do much good... maybe on sense? I don't know.
it's just interesting to me that, on paper, the vision has no use for a2sd, and yet it is even built in to several custom roms that were developed specifically for the vision. HMmmmmMMmMmM.
discuss!~
i never got that either... the idea of swap always worried me ... so whats the deal with A2SD really?
I take out you guys haven't seen the size of some of the newer apps on the market?
I see it as, why not? It's a feature we should be able to use.
Sent from my T-mobile G2
Ummm...Maybe it's because I'm not a frantic app downloader, but I have not had a problem that I would need A2SD. I have the apps I need Stock, weather, social networking, Google Earth, some games on the side and etc. and I still have 0.96 GB free, so really A2SD is not greatly needed unless your Android device is your gaming device, and even then it would be hard to fill up.
I did a little looking on the market, and I found about the top game in space would be 29m which I assume is mb. This is one of the best developed games graphics wise that I see on Android, and I would need this app downloaded a lot of times to fill up my space which is not going to happen because I don't need a lot of of those types of those games on my phone at the same time, and on top of my other games.
If the developer feels like maintaining it for the G2/DZ then go ahead not my place to stop it, but really not needed anymore
I actually use my EXT partition. I have quite a number of games on my phone and the 2GB A2SD partition helps (out of 2.01 Titanium reads, I've got 1.12 free and my internal storage has 1.16 free).
Plants vs zombies is over 70mb.
You have a massive sd card, why not have the freedom to put what you want on there. It was added to froyo for a reason, why remove functionality?
When that 1gb app that makes pancakes for you comes out, you'll be wishing you could move it to your sd.
Sent from my T-mobile G2
Froyo is general could be for lower end phones which do not have as much internal space and we are talking about the Vision, and if a phone starts making decent pancakes the tech that we would have would not need A2SD, and it would not be a phone...it would be my cook.
And even still you would need multiple games like that to fill up my internal space.
Like I said, not needed, but if the developer feels like maintaining it, it's not my job to get in the way.
Nospin said:
Plants vs zombies is over 70mb.
You have a massive sd card, why not have the freedom to put what you want on there. It was added to froyo for a reason, why remove functionality?
When that 1gb app that makes pancakes for you comes out, you'll be wishing you could move it to your sd.
Sent from my T-mobile G2
Click to expand...
Click to collapse
Actually, I CAN (and do) use the Froyo/GB A2FAT option. PyroMod doesn't restrict its users to just using the EXT partition.
And speaking of massive SD cards, Kingmax boasted last month that they created a 64GB card. How much do you think THAT would cost?
Some games take hundred of megabytes
briantech said:
Some games take hundred of megabytes
Click to expand...
Click to collapse
Dont most of them games go automatically to the sd card anyways?
In general, would the system load an app faster off the internal storage or off an sd card? I'm assuming the internal memory. Like others have attested, i have 58 apps and still got about 1 gig of memory free. A2SD can be useful for some, but for the masses, it's not necessary on our phone. And any apps that are HUGE go to the sd card automatically anyways(as in they create their own folder and put the bulk of the files on there).
Lets not forget there is two different A2SD methods. The old school method of going to an EXT partition, and the built in one with froyo and on that goes on the regular fat partition. And then in a way there is a third, which is what i just explained, where no matter where you set your install location, it puts the bulk of it's file in a folder on the sd card(it's own folder, not .androidsecure).

Categories

Resources