swap how it works not how to set it up - G1 Q&A, Help & Troubleshooting

i have not stayed as up to date with all the advancements on the g1. so im asking about swap and how it works i read how works on like desktop and ect but i did not fully understand it. also tried looking a some threads about again could not really find anything on how it works. i get that its kind of like extra ram but not really. i guess im wondering how its not like ram i understand that its not hardwired and that can create issue is that the only real difference? and why can too much give you strange lags and ect? any reply would be of tremendous help

on that subject please explain swappiness 2. how to check and change swappiness. i understand u can change swappiness with terminal with code: su
then
echo xx > proc/sys/vm/swappiness
but how to check the swappiness?

j0k3rn2o said:
on that subject please explain swappiness 2. how to check and change swappiness. i understand u can change swappiness with terminal with code: su
then
echo xx > proc/sys/vm/swappiness
but how to check the swappiness?
Click to expand...
Click to collapse
I actually pull the file and look at it.
Code:
su
cp /system/bin/user.conf /sdcard/user.conf
Then once you edit or do what you will now we need to move it back.
Code:
cp /sdcard/user.conf /system/bin/user.conf
Then i use "Text Edit" to look at the file and read the swappiness.

jmon777 said:
i have not stayed as up to date with all the advancements on the g1. so im asking about swap and how it works i read how works on like desktop and ect but i did not fully understand it. also tried looking a some threads about again could not really find anything on how it works. i get that its kind of like extra ram but not really. i guess im wondering how its not like ram i understand that its not hardwired and that can create issue is that the only real difference? and why can too much give you strange lags and ect? any reply would be of tremendous help
Click to expand...
Click to collapse
The swap is something like Virtual Ram. It helps the G1 run things like Hero or make cupcake faster. Its something that the G1 lacks but most other android devices will have. You'll need to set up your SD card in the following order. Fat32/Ext2-3-4/Linux-Swap. Most ROM's will use the swap automatically so there's nothing extra you need to do.

nolimit78 said:
The swap is something like Virtual Ram. It helps the G1 run things like Hero or make cupcake faster. Its something that the G1 lacks but most other android devices will have. You'll need to set up your SD card in the following order. Fat32/Ext2-3-4/Linux-Swap. Most ROM's will use the swap automatically so there's nothing extra you need to do.
Click to expand...
Click to collapse
ok i get that. and i dont think that any of the new phones will have this until there is larger internal storage. but i could wrong. but my question that remains is why a swap partition of 128 or so seem to create odd lag problems. and most devs say 32 mb is most stable so a little information on this would be nice.

jmon777 said:
ok i get that. and i dont think that any of the new phones will have this until there is larger internal storage. but i could wrong. but my question that remains is why a swap partition of 128 or so seem to create odd lag problems. and most devs say 32 mb is most stable so a little information on this would be nice.
Click to expand...
Click to collapse
Hmmm I've acutally heard good things about 128. I haven't gone over 100mb for Linux Swap and it's actually pretty smooth... I would stick with that and if you want more speed increase your swappiness And that's the thing when rooting your phone like we're doing. It's a clear example of "Results my Vary" What works for one person may not work for another. I would use a linux-swap that works best for you. Try using 64 or 96mb.. see if that works better for you.

nolimit78 said:
Hmmm I've acutally heard good things about 128. I haven't gone over 100mb for Linux Swap and it's actually pretty smooth... I would stick with that and if you want more speed increase your swappiness And that's the thing when rooting your phone like we're doing. It's a clear example of "Results my Vary" What works for one person may not work for another. I would use a linux-swap that works best for you. Try using 64 or 96mb.. see if that works better for you.
Click to expand...
Click to collapse
i haven't done much experimenting because i have not had a complete understanding of it but i am getting there. and i had to get a replacement g1. im going play with a probably burn out a card or 2. but still i would like to know why too much room in the swap partition can make issues and also i was wondering if the size of the card matters in relation to size of the partitions.

jmon777 said:
i haven't done much experimenting because i have not had a complete understanding of it but i am getting there. and i had to get a replacement g1. im going play with a probably burn out a card or 2. but still i would like to know why too much room in the swap partition can make issues and also i was wondering if the size of the card matters in relation to size of the partitions.
Click to expand...
Click to collapse
Some of the ROM's just have a hard time. I don't think there's an exact reason. (someone correct me if I'm wrong, I've looked myself) It's weird because some people have great results and others it's just awful.
When it comes to your SD Card It doesn't matter the sizes as long as:
Fat32 Can be the remainder of the card
EXT2/3/4: 1.5GB or less. I've read that any higher and the ROM's freak out
Linux: This can be 128mb or less. Either create a 32/64/96/128 size partition and you should be fine.

do you mind if u can dumb it down for me a lil cuz i have been trying to figure out what the helll swappiness means and i cant find any good explanations. heres what i got so far, correct me if i am wrong. basically, as mentioned, its virtual ram. this virtual ram comes from ur SD card. so when our phones internal ram is not enough, say like on my MT3G, then the ROM, hero in this case, will use the SD memory as RAM. right? ok so whats the point of needing 3 partitions? why is this linux one so freakin important? and what do u mean by swappiness? do u mean just how much mb u are using from every partition?

from what i understand... (which isn't very much)
a swap space is used like ram (like some one said earlier virtual memory) the reason a larger swap space is not as stable in the long run is that once the space starts to fill up more it has more to read through and swap between the swap space and the phone.
swappiness is the rate at which the info is stored in the swap space. its measured in 0 to 100. 0 being the lowest and 100 the highest. the higher the number the more the swap space is used but also the faster the swap space will start to fill up.
i hope my mediocre explanations are not to horribly wrong

Iman07 said:
do you mind if u can dumb it down for me a lil cuz i have been trying to figure out what the helll swappiness means and i cant find any good explanations. heres what i got so far, correct me if i am wrong. basically, as mentioned, its virtual ram. this virtual ram comes from ur SD card. so when our phones internal ram is not enough, say like on my MT3G, then the ROM, hero in this case,
Click to expand...
Click to collapse
will use the SD memory as RAM. right?
Click to expand...
Click to collapse
It'll use it in addition to the internal RAM.
ok so whats the point of needing 3 partitions?
Click to expand...
Click to collapse
Fat32: Needed to keep additional files on. Storage, music, pictures, ect.
EXT2-3-4: This is used in conjunction with the internal memory. (The G1 suffers from a lack of internal space. This is the primary reason why I rooted to begin with)
Linux-Swap: This helps improve the G1/MT3G run CupCake/AOSP/Hero a lot smoother. This works as additional RAM for the unit.
why is this linux one so freakin important?
Click to expand...
Click to collapse
This helps run ROM's on a phone that it shouldn't be running on. IE the G1 Running Hero
and what do u mean by swappiness?
Click to expand...
Click to collapse
Swappiness is the speed that the ROM can access the LinuxSwap Partition
do u mean just how much mb u are using from every partition?
Click to expand...
Click to collapse
This one I didn't understand..

this thread has been very helpful to ne thanks to all those who read it and gave me some info i hope it helps others as well. i got a g1 in the mail today (hope its new and not referb) but im try this this weekend and see how works. but im going try look into and understand why the size matters little more. because i dint think anyone knows.

thank you so much nolimit and everyone else for helping me understand this. i really do appreciate it. it all makes sense now!

Related

massive ammount of problems on JFS 1.51

getting read to just swich to one of the hero roms at this point but figured before i do i'll see if any of these can be fixed.
This all started right shortly after the 1.51 update
First of all, I've wipped the phone and reinstalled twice now and left the battery out and did formats and tried new SD cards and all that and these are the problems i'm having.
-Camera will not save once finished. It takes the picture but it never saves to the SD card.
-Screen randomly changes orientation by itself when the phone is not moving at all. on a table
-Lots of random crashes
-and the worst. Certain apps will only download 50% of the file size when i download them making them never work, If this happens it's impossible to ever download it. Even after wiping and reloading the phone the same thing happened again. It also happens in updates as well. Killed mybackup pro and i had to go download it off rapidshare because i needed to make backups and the market download would never download properly.
So basically, is there any way to fix all these problems or am i better off just going through everything and flashing to a new rom now.
very strange, never had problems on JF1.5 or 1.51. Have you tried flashing JF1.5? If that's still causing problems I'd try Cyanogens build. Sorry I can't help much, but you've already tried everything I would have suggested
yeah i've posted on a few forums and did everything there. then figured i might as well post here as a last resort.
I did try going back to 1.5 and things worked fine, then went to 1.51 again and everything happened again. I'd like to be running the latest release of any custom rom, and hero looks awesome so i'm thinking that if i can't fix this i'll just go through everything to upgrade to hero
There are no major changes from my JFv1.50 release, except a few new kernel modules.
Click to expand...
Click to collapse
Hardly anything to update for, but whatever, have fun with hero Don't flash the SPL without the Radio (seems obvious but loads of people are spamming looking for a nonexistent solution to unbrick :< )
yeah i guess. Just me being myself wanting the lastest things. And don't worry i won't do that. been reading all about it for the last few days after i decided to give up on jfs 1.51
thanks!
neok44 said:
yeah i guess. Just me being myself wanting the lastest things. And don't worry i won't do that. been reading all about it for the last few days after i decided to give up on jfs 1.51
thanks!
Click to expand...
Click to collapse
The Hero build certainly looks nice, but it might take you a while to get used to the slight slowness compared to the non-Rosie builds. Still... very pretty, keeps me mesmerized while I wait for my stuff to load... j/k
I've been using aHome for 5 months, i'm used to lag. lol.
nothing prepares you for Hero lag!!! just kidding, with linux-swap or compcache, its pretty snappy, but not comparable to non-hero builds.
well i'll find out soon enough. If it ends up being really bad then i may just go to some other ROM but i'm really hoping to have hero run good. Unfortountly i just have a normal Micro SD 2GB which has no class distinction so hopefully it'll be alright. If not i may have to go get another 8GB.
When i tried to format the last 8GB to get apps2sd working one program destroyed the card. shows up as 8MB now instead of GB. lol.
use cyns rom. most fastes freshes bestes cupcake ever. even tastes better. and his recovery also.
neok44 said:
well i'll find out soon enough. If it ends up being really bad then i may just go to some other ROM but i'm really hoping to have hero run good. Unfortountly i just have a normal Micro SD 2GB which has no class distinction so hopefully it'll be alright. If not i may have to go get another 8GB.
When i tried to format the last 8GB to get apps2sd working one program destroyed the card. shows up as 8MB now instead of GB. lol.
Click to expand...
Click to collapse
there is a way to fix that on linux mentioned somewhere here on the forums...
it involves just writing 0's through the card
B-man007 said:
there is a way to fix that on linux mentioned somewhere here on the forums...
it involves just writing 0's through the card
Click to expand...
Click to collapse
yeah, unfortountly i have no machine with Linux and i have no spare room on my PC right now to do another partition. I'm using up like 750GB of about 850 total lol.
RE- massive ammount of problems on JFS 1.51
neok44 said:
yeah, unfortountly i have no machine with Linux and i have no spare room on my PC right now to do another partition. I'm using up like 750GB of about 850 total lol.
Click to expand...
Click to collapse
You can run linix right from cd-rom.
UBUNTU
I too noticed alot of lagging in jf1.51 after moving all apps to sd so I took off Ahome and openhome and it runs alot better. I also need to get a class 6 sd card which will help speed things up. currious...does anyone know if there are limitations on the size of the sd card for G1? I looked on HTC's site and T-mobile's as well it just says micro sd 2.0.
didn't know that. guess i'm gonna have to grab that and try to fix my 8GB
and i thought that the G1 was capped at 8GB but i've seen people say they have 16GB cards so i guess you can go up to 16gb. which i think is the largest they make in micro sd
neok44 said:
didn't know that. guess i'm gonna have to grab that and try to fix my 8GB
and i thought that the G1 was capped at 8GB but i've seen people say they have 16GB cards so i guess you can go up to 16gb. which i think is the largest they make in micro sd
Click to expand...
Click to collapse
Seen people with 32gb lol
damn why the hell would you even need 32GB thats just crazy.
neok44 said:
damn why the hell would you even need 32GB thats just crazy.
Click to expand...
Click to collapse
Lol the more space you have the more you will fill it. its like buying a 160gb ipod.... ur never gonna use all of it

App to test microsd card speed???

Is there any app available that can do this???
Nope.
But the request does come up enough that maybe I should write up something simple...
Kcarpenter said:
Nope.
But the request does come up enough that maybe I should write up something simple...
Click to expand...
Click to collapse
That would be awesome. A lot of times theres no specs on the speed of cards out there and your not really sure of what you are buying. It would be awesome.
excellent idea for an app. there are cards out there that do not list there class and cards that are listed as class 2 yet reach class 6 speeds.
cheers,
ryan
If you guys would give me a good algorithim to test read/write speeds I can work on it later tonight. It will probably take a few days a best.
But My idea is write a 2 meg file to the SD card, time it. Read the same file from the card, time it. Do a little math...present some numbers...
Now there are a lot of issues that could come into play with that method. Maybe repeat it 3 or 4 times just to see an average, but still its not the best that it could be.
What about just getting a microsd adapter or even mounting it to the computer. And then run a program that tests read/write speeds and use it on the card. like h2testw or something :/
kyouko said:
What about just getting a microsd adapter or even mounting it to the computer. And then run a program that tests read/write speeds and use it on the card. like h2testw or something :/
Click to expand...
Click to collapse
1. On the phone is just cooler
2. On another thread about this topic there was debate about how accurate it would be to use an adapter or mounting as a drive. Adding cable seems to me like it could increase latency and you are no longer using the phones OS to test its internal stuff. ( i know its USB its faster than the card anyways, but see #1)
Kcarpenter said:
If you guys would give me a good algorithim to test read/write speeds I can work on it later tonight. It will probably take a few days a best.
But My idea is write a 2 meg file to the SD card, time it. Read the same file from the card, time it. Do a little math...present some numbers...
Now there are a lot of issues that could come into play with that method. Maybe repeat it 3 or 4 times just to see an average, but still its not the best that it could be.
Click to expand...
Click to collapse
You can start from there then trial and error. I was thinking you can take a look at any of the web SpeedTests in the market and learn something from there.
If you are on linux you can mount the phone and run
Code:
hdparm -tT /dev/sdd
where sdd is the phones drive(could be different on your machine)
That will give you a read speed but would would be limited by your USB read speed.
Hdparm is not built into android so you can't run it from the phone. There is one command that is built in that can measure speeds... However it is VERY VERY VERY dangerous so I hesitate to post it here but... dd
For the love of God do not mess with dd unless you read up on it and fully understand it. You could very easily measure write speed as well as read with dd but you would need an empty card because you would have to just blindly write to the blocks on the card. Doing which will at the bare minimum if you know what you are doing overwrite stuff on the card. Worst case is you mess up your partition table and have to re-partition. So I will only point you in the direction of dd and not post any code on how to use it for fear of some idiot entering the code and wiping their phone(although they would have to know how to use adb shell so they wouldn't be complete idiots)
This would be a useful app. I have a class 6 PNY SD and want to know how fast it really is.
Wow, what an AMAZING idea for an app. I would be more than happy to help and test!!!
Sooo
I am working on this guys.
I have gotten the program writing a file out to the SDcard. It just a randomly filled Byte Array being parsed to a file on the SDcard a few times, then reading it back off (Haven't got the reading part yet). I am running into some FC issues and also getting the timer to work is being a PITA. Android doesn't like my threads for some reason.
If I have time this week maybe I can get it done - or at least working, but I have some stuff going on that may slow down progress.
EDIT:
Also if anyone that is not quite so Artisticly Challenged as I am wants to get me some drawables. I can use an Icon and a 320x480 image back ground (Let's try to keep it simple , I have seen some of your boot screens. lol)
Bump for moral support!
couldn't you just pop it into an adapter, and use HD Tune on your pc? http://www.hdtune.com/
I think the concept of the app request is so people don't have to turn off theory beloved heroes and pull battery just to get to the SD card, babe.
couldn't you just pop it into an adapter, and use HD Tune on your pc? http://www.hdtune.com/
Click to expand...
Click to collapse
-------------------------------------
Sent via the XDA Tapatalk App
Kcarpenter, if you don't mind me asking what the status on this?
-------------------------------------
Sent via the XDA Tapatalk App
kashb91 said:
Kcarpenter, if you don't mind me asking what the status on this?
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Well, it reads and writes a 6 meg file while spinning a wait cursor LOL.
Been working on final projects the past few weeks.
Might have something out 2 week of june.
As it stands now:
1)Need to setup a time mechanism - probably most acurate to grab a time stamp before the start and after the finish. Threads tend to get time messed up.
2)After the file is written and the time is figured out. Need to display the read/write results.
3)Then need to cleanup the file and ram after everything is done.
Also, I have seen the file only become half of the size it should be (3 mb)....which I think has something to do with UTF (Chars taking up 2 bytes)....but I am not sure yet.
And on top of that...who the hell knows if its accurate LOL.
But it's been interesting and fun.
haha, well thats good. keeps you interested then. i honestly dont kknow anything about programming and what not, so i cant help you there. buuuutttt when you finish and need testers i can help. well try anyways
kashb91 said:
haha, well thats good. keeps you interested then. i honestly dont kknow anything about programming and what not, so i cant help you there. buuuutttt when you finish and need testers i can help. well try anyways
Click to expand...
Click to collapse
I am really interested to see if it's even remotly accurate.
Seems like creating a 6 meg file and writing it out from memory to the card would surely test well... But there are a crap ton of things that could come into play and effect it.
I guess we'll only know if we try.
unless my phone explodes, i see nothing wrong with trying it out.

Does CM5.0.8 have a 10mb RAM hack?

If it does can someone give me a link to where i can find it?
ronii1123 said:
If it does can someone give me a link to where i can find it?
Click to expand...
Click to collapse
No it does not. This is why we use Compcache or a Swap partition on our sd card.
ronii1123 said:
If it does can someone give me a link to where i can find it?
Click to expand...
Click to collapse
No, and to continue to beat a dead f-ing horse:
<edit>Please</edit>Don't post questions in the dev section.
<edit>Please</edit>Do your own research. This has been brought up before and has been explained.
Because the ram hack takes away from 3D, the performance is actually worse off than helped.
ronii1123 said:
If it does can someone give me a link to where i can find it?
Click to expand...
Click to collapse
No it doesn't because most CM followers want cool toys instead of stable phones. I don't play 3d games either, so there's a sacrifice I'm willing to make, but they don't understand that. I'm working on one, but with the job and family, it will be a while. I'll post it once it's stable.
That is no longer used, due to the fact that the new kernel branch isn't compatible with the ram hack at all. A kernel dev would have one avail if it was possible to make one.
You people are all missing the facts in this;
The reason there is no 10 MB hack is NOT because it isn't possible, or even because it is difficult.... it is because ECLAIRE DEPENDS ON 3D much more than previous android versions did. Take away 10 MB from the GPU and it all turns to crap -- whether you 3dgame or not.
lbcoder said:
You people are all missing the facts in this;
The reason there is no 10 MB hack is NOT because it isn't possible, or even because it is difficult.... it is because ECLAIRE DEPENDS ON 3D much more than previous android versions did. Take away 10 MB from the GPU and it all turns to crap -- whether you 3dgame or not.
Click to expand...
Click to collapse
Oh dang, shoulda known king lbcoder would come in and correct everyone.
Anyway, since we have no 10mb ram hack, we use compcache or a swap partition (at least on G1's) to make up for low memory. But this might not be fact...just what everyone is doing in the G1 Development Forum.
G1ForFun said:
Oh dang, shoulda known king lbcoder would come in and correct everyone.
Anyway, since we have no 10mb ram hack, we use compcache or a swap partition (at least on G1's) to make up for low memory. But this might not be fact...just what everyone is doing in the G1 Development Forum.
Click to expand...
Click to collapse
I suggest not using swap.... it is quite an ugly hack for android -- makes things slow. Let the android memory manager do its job -- it is very good at it.
lbcoder said:
I suggest not using swap.... it is quite an ugly hack for android -- makes things slow. Let the android memory manager do its job -- it is very good at it.
Click to expand...
Click to collapse
it does a terrible job... why does my homescreen have to reload all the time after using an app? and why doesn't it do that in donut?
yeah it does a HORRRIBLE job haha, dont try it
jcarrz1 said:
it does a terrible job... why does my homescreen have to reload all the time after using an app? and why doesn't it do that in donut?
Click to expand...
Click to collapse
SiL3nTKiLL said:
yeah it does a HORRRIBLE job haha, dont try it
Click to expand...
Click to collapse
If you're using ADW Launcher, try locking home in memory from spare parts. It fixed that issue for me.
nevermind found it.

[Q] Should I be running my apps from my SDCard?

Hi all,
Wondering if my Dream does perform better if I move my applications over to the SDCard (Through the Applications Manager)?
Will it affect the performance of an open application itself? (Slow it down considerably)
What else can I do with the SDCard so it can help the performance of the device?
I just purchased a 16gig Class 10 Patriot SDCard and put it in and moved my pics and music over to it.
Using CyanogenMod 6.1.0-DS, The phone was rooted/unlocked before I put this new card in. It had a 2gigClass2 card in it during the root/unlock.
Thanks
Heeter
Anyone?
Thanks
Heeter
Moving your apps to sdcard frees up internal memory. Read up on swap. Should be good with that card. Again firerat's AIO patch has swap in it as well. Sounds like u need that to start running options to get u all fixed up
Sent from my HTC Magic using XDA App
Awesome,
Thanks for you answer, johnson8cyl
Will get that application.
Heeter
johnson8cyl tip should help!
Hey thanks, johnson8cyl
My Live wallpaper is working now, and I added my swappiness=100
Where can I tell how much swap do I have?
Thanks a million,
Heeter
Firstly swap is not advisable on a froyo rom if that is what you are running (this has been proven time and again) and setting the swappiness to 100% WILL kill your sdcard at a rather accelerated rate.
Firstly learn about CompCache and swap and the advantages of both (Personally never ever touch swap as CC is alot more controllable and easier to clean when the dreaded swap lag hits home).
Also to see what swap/cc you are running open terminal emulator and type -
free (hit enter)
I'd also look into the options of apps2ext and moving dalvik cache to sd-ext (Firerats All In One Patch - Beta 3) data should not be moved again Froyo does not play well if it is.
shadowch31 said:
Firstly swap is not advisable on a froyo rom if that is what you are running (this has been proven time and again) and setting the swappiness to 100% WILL kill your sdcard at a rather accelerated rate.
Firstly learn about CompCache and swap and the advantages of both (Personally never ever touch swap as CC is alot more controllable and easier to clean when the dreaded swap lag hits home).
Also to see what swap/cc you are running open terminal emulator and type -
free (hit enter)
I'd also look into the options of apps2ext and moving dalvik cache to sd-ext (Firerats All In One Patch - Beta 3) data should not be moved again Froyo does not play well if it is.
Click to expand...
Click to collapse
Awesome, Thank You, Shadowch31.
I have 0 for swap right now & my swappiness is set at 60.
What do you mean "data should not be moved again Froyo does not play well if it is." which data are you mentioning?
Thanks again,
Heeter
Heeter said:
Awesome, Thank You, Shadowch31.
I have 0 for swap right now & my swappiness is set at 60.
What do you mean "data should not be moved again Froyo does not play well if it is." which data are you mentioning?
Thanks again,
Heeter
Click to expand...
Click to collapse
If you go down the root of moving apps2ext (advisable on a G1) using FR's AIO then you will be presented with an option to move data to sd-ext, just say NO!
Thanks a million, shadowch31!
This is so cool, learning a lot with my G1.
Is there a good place to read and learn about compcache?
Thanks again.
Heeter
Hey shadow. I have run swap on my mt3g every time. My phone doesn't seem to like compcache. You maybe have a reason why or ideas? I can't ever seem to get it to play nice. Always have swap file at 32 swappiness at 30. Don't have many apps. Always been ok for me
$free
total used free shared buffers
Mem: 112700 106136 6564 0 404
Swap: 31428 15464 15964
Total: 144128 121600 22528
$
Sent from my HTC Magic using XDA App
Heeter said:
Thanks a million, shadowch31!
This is so cool, learning a lot with my G1.
Is there a good place to read and learn about compcache?
Thanks again.
Heeter
Click to expand...
Click to collapse
http://wiki.cyanogenmod.com/index.php?title=Swap_and_Compcache
Another link with brief easy explanation.
http://forum.xda-developers.com/showthread.php?t=558637
Sent from my HTC Magic using XDA App
johnson8cyl said:
Hey shadow. I have run swap on my mt3g every time. My phone doesn't seem to like compcache. You maybe have a reason why or ideas? I can't ever seem to get it to play nice. Always have swap file at 32 swappiness at 30. Don't have many apps. Always been ok for me
$free
total used free shared buffers
Mem: 112700 106136 6564 0 404
Swap: 31428 15464 15964
Total: 144128 121600 22528
$
Sent from my HTC Magic using XDA App
Click to expand...
Click to collapse
Well if it works for you fella then cool, don't forgot that all opinions and views here are from a personal stand point, and for me Swap and me just don't get along so CC it is and as I have written a script that can stop, clean, resize (if needed) and restart CC cutting out the annoying lag problems ALL swap enabled phones run into, and thats fact not opinion meant for me CC was the best option.
What had you set the CC to? What is your sdcard as in class? Anything below a class 6 and I could see why it would cause problems and why swap would run better. As I have never touched or even seen an MT3G in real life I have no idea about the phone or its performance when matched against the G1. I know it holds more internal memory and am pretty sure thats where the difference ends.
Come chat in my irc channel, link in sig if you want to try a few things to see if we can't get it working properly for you if you wish to experiment but the old saying does go 'If it aint broke, don't try to fix it'
johnson8cyl said:
Another link with brief easy explanation.
http://forum.xda-developers.com/showthread.php?t=558637
Sent from my HTC Magic using XDA App
Click to expand...
Click to collapse
Just to add on to that see this post from the link provided by Johnson.
The greatest laymans explanation of CC
http://forum.xda-developers.com/showpost.php?p=4933785&postcount=9
shadowch31 said:
Just to add on to that see this post from the link provided by Johnson.
The greatest laymans explanation of CC
http://forum.xda-developers.com/showpost.php?p=4933785&postcount=9
Click to expand...
Click to collapse
Haha, LOLOL
Heeter
Well ill have to catch u when I'm home to chat sometime. Maybe this weekend. I'm always interested in learning from others more educated than myself. Just tried turning off swap and using CC on laszlo 5.1 and couldn't even get it to boot back up. Still have stock sdcard from T-Mobile if you'll believe that. Lol. Gotta order a class 6 probably transcend SD.
Sent from my HTC Magic using XDA App

RAM managment

guys i know you all heard for this app (Ram manager pro)
https://play.google.com/store/apps/details?id=com.smartprojects.RAMOptimization&hl=en
but, i bet lot of you didnt notice a biiiiiig update...now you can swap your RAM on your internal, the fastest partition in our device (not even close to sd card class100)
but, im not sure about it, and i ask for help from developers or android wizz that know this method...
i noticed that this thing works, but, after you swap, you dont have space left...so, iv got partitioned my sd card, only to 256mb, just to check...and it really works again!
Again, but, you need to create swap file right after flashing fresh rom, so it (swap file) occupy internal memory at once! Cause, if you instal some apps, it will use sd ext, and probably go to sd card, wich doesnt make any difference in performance...
Once again, im asking for opinion of expert, to confirm this...
Im using latest jb4.2.2, and best way to check this is to play some game and to listen a music at same time : DIDNT GET FC OR ANY LAG!
tnx in advance
NOTE: don't create swap bigger than 128mb, thats our max internal
Does it really works? Because i used to swap too but it didnt make any difference in performance. The only thing i notice is my phone got hotter alot.....
Sent from my GT-S5570
Nixoman said:
guys i know you all heard for this app (Ram manager pro)
https://play.google.com/store/apps/details?id=com.smartprojects.RAMOptimization&hl=en
but, i bet lot of you didnt notice a biiiiiig update...now you can swap your RAM on your internal, the fastest partition in our device (not even close to sd card class100)
but, im not sure about it, and i ask for help from developers or android wizz that know this method...
i noticed that this thing works, but, after you swap, you dont have space left...so, iv got partitioned my sd card, only to 256mb, just to check...and it really works again!
Again, but, you need to create swap file right after flashing fresh rom, so it (swap file) occupy internal memory at once! Cause, if you instal some apps, it will use sd ext, and probably go to sd card, wich doesnt make any difference in performance...
Once again, im asking for opinion of expert, to confirm this...
Im using latest jb4.2.2, and best way to check this is to play some game and to listen a music at same time : DIDNT GET FC OR ANY LAG!
tnx in advance
NOTE: don't create swap bigger than 128mb, thats our max internal
Click to expand...
Click to collapse
Tried this last year .....the script was made by custdroid.....
Unfortunately the constant read and write on ROM is not so good for the hardware.. ...so I deprecated the project for mini also with such low internal memory I could create only 32mb swap on internal and the phone soon started yo take its toll ...you may try this but I am sharing my experience cause it may feel smooth for sometime but it reduces the life of your mini considerably cause ROM is supposed to non-volatile unlike RAM which is volatile...
Sent from my GT-S5570 using Tapatalk 2
but isnt everytime you start app you writing and reading with data and cache? on internal?
Nixoman said:
but isnt everytime you start app you writing and reading with data and cache? on internal?
Click to expand...
Click to collapse
But is that really as frequent and as comprehensive as RAM?
Sent from my GT-S5570 using Tapatalk 2
hsay said:
But is that really as frequent and as comprehensive as RAM?
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
i don't know, only way is to test it by myself, ill report behavior of my mini in one week, iv got nothing to lose, already out of warranty, almost 3 years old, got new nokia n9, i gonna take the bullet for that
Nixoman said:
i don't know, only way is to test it by myself, ill report behavior of my mini in one week, iv got nothing to lose, already out of warranty, almost 3 years old, got new nokia n9, i gonna take the bullet for that
Click to expand...
Click to collapse
That was a rhetoric question ....sarcasm if you may ...anyway you may try it....
Sent from my GT-S5570 using Tapatalk 2
hsay said:
That was a rhetoric question ....sarcasm if you may ...anyway you may try it....
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
why to be rhetoric when can be (or not) usefull if no harm causing to device? :fingers-crossed:

Categories

Resources