Linux Swap Question - G1 Q&A, Help & Troubleshooting

So does this still ruin your sd card faster than normal like swapper did?
How much faster?

xenoaurora said:
So does this still ruin your sd card faster than normal like swapper did?
How much faster?
Click to expand...
Click to collapse
Technically correct answer - Yes, it will ruin your card much faster than normal.
Real world answer - You're talking about lifespans in the single digit years rather than double digit years. Modern flash memory can handle insane numbers of writes and the onboard controllers automatically spread data out to keep the wear even. Also, error correction on the card will simply disable worn out bits and keep running on the rest.
Simply put - use the heck out of the card. If you haven't upgraded it, in a few years you'll start loosing capacity, a few bits at a time. I wouldn't worry about it.

Alot faster if you're using a hero ROM. We're talking about 2 good years of usage with the SD card running swapper.

How much of a performance boost do you get?

Gimpeh said:
How much of a performance boost do you get?
Click to expand...
Click to collapse
I doubt you'll notice it on a cupcake ROM. However it is very noticable on hero ROM

Gimpeh said:
How much of a performance boost do you get?
Click to expand...
Click to collapse
It depends on the ROM and how you use the phone.. I use CM and I haven't really seen any speedup with a swap. What it does for me is keep my browser in memory longer when I switch out to do something else quick (reply to a text, for instance). On the other hand, it sounds like Hero users almost need a swap to make the system usable.. Just depends on what ROM you use and how you use it.

Related

[Q]What filesystem in Milestone? Lagfix and hw acceleration, possible?

Hi.
Anyone tried to improve performance like on the SGS in changeing filesystem?
Also is the hw acceleration possible, adding a line in the biuld.prop file to enable gpu in scrolling etc?
I must say that my lg p500 on cyanogen7 is much snappier, and milestone can be choppy sometimes. I feel also that qualcomm processors have better performance in the system than milestone's TI. Omap.
I know that p500 has more ram, but I feel like someting is wrong in the milestone that slows down a bit. I know that hvga is more than 2x less pixels than wvga, but still, maybe some hacks will help. Lagfix and HW acceleration helps on many android phones from lg, samsung etc.
HW acceleration is enabled by default.
My Milestone is actually very smooooooooooooth..... and snappy!
Yes, unbearable without SuperCharging it, but effing awesome with SuperCharging
zeppelinrox said:
My Milestone is actually very smooooooooooooth..... and snappy!
Click to expand...
Click to collapse
Interesting What ROM did you use? and What overclock frequency?
At the moment CM7 at 1100mhz.
But come to think of it, I don't think I need 1100mhz anymore lol
I'm often "underclocking" it to 800mhz without really noticing too much difference.
But the main thing is, any ROM would fly with supercharging
Go on, ask him wat supercharging is!
Sent from my Milestone
LOL it's in my sig
You Canadians are funny
oh wait...
zeppelinrox said:
LOL it's in my sig
You Canadians are funny
oh wait...
Click to expand...
Click to collapse
Us Canadians are awesome! Hehe
Did you see that CM7 final release is out for Milestone? He said he tweaked the memory a bit.
ya I looked.
It looks alot like my v5 gscript in that he put the launcher in it's own spot with priority 2 and same kill threshold.
I put it in the second slot but he put it in the 3rd slot.
He also pushed the big chunk of apps (secondary server) down the list to the 5th slot from the 4th whereas I had moved them up from the 4th to the 3rd.
But he increased the memory limit so that chunk of apps actually start getting killed at 24 mb!
Previously, those apps weren't getting killed until ram got down to 16mb so it's actually a very big change.
So by default, it may actually behave like my Balanced 1 v5 gscript. heh.
The difference is the Heavy Weight App. We both have it in the 4th slot but in CM7 Heavy Weight App is more protected and has more priority than secondary server (the big chunk of apps) whereas I have secondary servers as being more important.
I want to see what apps fall in that heavy weight category before my update
Will the fact that apps get killed at 24MB now instead of 16MB affect the way that you can now bulletproof two apps in this recent update? Because he warns that it is RAM intensive, but what does it do to the apps in the other slots?
It just means if you're bulletproofing an app, another app that you're not paying attention to will get killed instead of the one you want to keep running. But it would bounce back anyway and something else would get killed.
They just play musical chairs and take turns updating once in awhile.
btw, I adjusted the minfree on my phone and gave heavy weight it's own slot but there is no apps in that spot at all
I run stuff and let it sit and keep refreshing but I never see a heavyweight.
Braidonh said:
Go on, ask him wat supercharging is!
Sent from my Milestone
Click to expand...
Click to collapse
You are right! What on earth is SuperCharging???
I googled throug XDA and i cant find a clear meaning of SuperCharging
Yea, supercharge tweaks are great. So maybe changeing the filesystem? Some people said that it wont do any boost, but maybe its worth trying.
I disabled dsi bug workaround and phone is flying on adw ex. I definitely need supercharge script as phone lags sometimes in different apps after some time.
And swap would be nice on our stones, but nobody knows how to do it by kernel module.
Try the super test script on page 38 of my thread.
My next update will be based on that with different minfree values
Sent from my Milestone using Tapatalk

[Q] Low available Ram !!!

Hey Guys ... Did you look to the Ram status in the Galaxy Note ???
I have 600+/800 usage in normal situations !!! and when I clear ram it reached to 400+ which goes back to more than 600 Mb after moderate usage !!! what about in your Notes guys ??? Any solution for this ?? plz comments ....
What is it you are planning on doing with the free ram? Has the use of ram caused any problems? Don't worry about it and use the device. There is no point in trying to worry about something which is being used or not being used which is not affecting you in any way. Until it does have fun with the phone.
Do you think Android is running on air? The Note has 1GB RAM which the OS takes 200MB at boot. The rest is used by apps and other things. If you're not going to use the RAM, then why do you need it?
"My computer uses 50MB of RAM, And i have 32GB of it!" WHAT'S THE POINT?!
Try RAM Manager by Juwe. Be aware that the more memory you free up the worse multitasking will be.
Are you kidding me? Use RAM Manager when your device has 1GB of it? Please slap me as hard as you can.
This thread needs to be deleted.
RAM is there to be used.
I would use 100% of my RAM 100% of the time if I could. If it's not being used, it's being wasted.
Unused RAM is totally wasted. When 2GB devices come out OMG my device is using 1GB out of my 2GB!!!
To each his own, who are you to tell others what to do with their RAM? I'm not your typical "as much free memory as possible freak" but how comes that when I kill some apps before running something more intensive it's usually smoother and performs better?
pjm77 said:
To each his own, who are you to tell others what to do with their RAM? I'm not your typical "as much free memory as possible freak" but how comes that when I kill some apps before running something more intensive it's usually smoother and performs better?
Click to expand...
Click to collapse
I've never had to manually kill apps with my G-Note, so I dont know what your doing wrong, Could be a faulty device as far as I can tell.
Thanks for your advice, I'm running to get it replaced.
pjm77 said:
Thanks for your advice, I'm running to get it replaced.
Click to expand...
Click to collapse
600mb usage is totally normal on moderate use. Obviously you don't know how RAM Management work on Android. Go and replace your phone but nothing will change.
Sent from my GT-N7000 using XDA App
Would you replace your computer because it's using to much RAM?
Chances are you would find the RAM hog and keep it from starting up when not neccesary.
600mb is normal usage.... if you are not happy with that high of usage delete the apps that have services running or are always in the background. Android does this for you as you approach full RAM usage anyways though...
garytube said:
600mb usage is totally normal on moderate use. Obviously you don't know how RAM Management work on Android. Go and replace your phone but nothing will change.
Ever heard of irony?
Of course I'm not gonna get it replaced I'm happy with the way it is.
Yes, I've read about Android memory management quite a while ago. Very smart and very convincing. Now on the other hand - every now and then after some intense moments - let's say I'm driving and I'm using offline satnav then online satnav then there is a phonecall, then I make a voice note, I get out, send a text, use my GTD app and whatever else - after hours of such use when I get home, stretch my legs and I fancy to play let's say Galaxy on Fire 2, I find it smoother and less likely to crash if I just press "kill all apps" button in Task Manager. And since I installed RAM Manager I don't have to do it. And I haven't noticed any side effects that would interfere with my style of using my phone.
So guess what - I really don't give a **** about Android memory management and all expert opinions because I know what works for me and I'm happy with that state of things.
Click to expand...
Click to collapse
pjm77 said:
garytube said:
600mb usage is totally normal on moderate use. Obviously you don't know how RAM Management work on Android. Go and replace your phone but nothing will change.
Ever heard of irony?
Of course I'm not gonna get it replaced I'm happy with the way it is.
Yes, I've read about Android memory management quite a while ago. Very smart and very convincing. Now on the other hand - every now and then after some intense moments - let's say I'm driving and I'm using offline satnav then online satnav then there is a phonecall, then I make a voice note, I get out, send a text, use my GTD app and whatever else - after hours of such use when I get home, stretch my legs and I fancy to play let's say Galaxy on Fire 2, I find it smoother and less likely to crash if I just press "kill all apps" button in Task Manager. And since I installed RAM Manager I don't have to do it. And I haven't noticed any side effects that would interfere with my style of using my phone.
So guess what - I really don't give a **** about Android memory management and all expert opinions because I know what works for me and I'm happy with that state of things.
Click to expand...
Click to collapse
I liked your response, but it's not irony, it's sarcasm
Click to expand...
Click to collapse
pjm77 said:
garytube said:
600mb usage is totally normal on moderate use. Obviously you don't know how RAM Management work on Android. Go and replace your phone but nothing will change.
Ever heard of irony?
Of course I'm not gonna get it replaced I'm happy with the way it is.
Yes, I've read about Android memory management quite a while ago. Very smart and very convincing. Now on the other hand - every now and then after some intense moments - let's say I'm driving and I'm using offline satnav then online satnav then there is a phonecall, then I make a voice note, I get out, send a text, use my GTD app and whatever else - after hours of such use when I get home, stretch my legs and I fancy to play let's say Galaxy on Fire 2, I find it smoother and less likely to crash if I just press "kill all apps" button in Task Manager. And since I installed RAM Manager I don't have to do it. And I haven't noticed any side effects that would interfere with my style of using my phone.
So guess what - I really don't give a **** about Android memory management and all expert opinions because I know what works for me and I'm happy with that state of things.
Click to expand...
Click to collapse
it looks like to me that you posted in this thread just to promote RAM Manager
Click to expand...
Click to collapse
TeeeJaay said:
pjm77 said:
it looks like to me that you posted in this thread just to promote RAM Manager
Click to expand...
Click to collapse
I posted in this thread beacuse another user complained about the problem that I came across and found solution to. It's certainly not the best one, but it's the one that works for me.
In the meantime I got ridiculed by more social-oriented users who need to accept and be accepted. To which I got upset and posted some crap. As a result I hijacked the thread. I apologize and shut up.
Click to expand...
Click to collapse
LordManhattan said:
Are you kidding me? Use RAM Manager when your device has 1GB of it? Please slap me as hard as you can.
Click to expand...
Click to collapse
Samsung makes us fool it has only 800MB RAM. Even i thought it was 1GB.
It has 1GB. 200MB is reserved for the system.
Sent from my GT-N7000 using xda premium
Memory usage
My daughter started a game where a photo is used in the programme, and I got the message "Free RAM low, resolution of photo reduced". Had to kill running services to be able to run it without the reduced resolution. Checked the overall Galaxy Note ram usage and just out of the box I have around 230mb free of RAM, I have an HTC Desire HD (768 ram) that has the same free and it is filled with running apps. When you get that kind of messages from a new phone, from some ****ty simple kid programme before I have even filled it up with stuff I get really annoyed. When I kill all I can i can get max up to 400mb.
Yup, TouchWiz is a greedy RAM eating whore. Wait for CM9 and then you'll see why custom UIs like TouchWiz and Sense is bull****.
Sent from my iPad GT-N7000 using xda premium

[Q] how can i increase ram of my samsung galaxy ace

how to make virtual ram in galaxy ace rooted s5830.....running ics'ed by snowpluralism....
n do it helps in smooth runnings...
and any disadvantages:highfive:
Ashish924 said:
how to make virtual ram in galaxy ace rooted s5830.....running ics'ed by snowpluralism....
n do it helps in smooth runnings...
and any disadvantages:highfive:
Click to expand...
Click to collapse
Well, you can use a swap partition. CM7+ also has ram compression.
Sent from my GT-S5830 using Tapatalk 2
NathanBookham said:
Well, you can use a swap partition. CM7+ also has ram compression.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
can u help me in that...i dont know how to do it...n also is it safe and effective....thanks
Ashish924 said:
can u help me in that...i dont know how to do it...n also is it safe and effective....thanks
Click to expand...
Click to collapse
Google for it. XDA is against spoon-feeding..!!
___________XDA Premium__________
Don't be a noob. Be a newbie..!!
Details here.
____________________________________
I've tried swapper 2, it's good. But have to understand each term they use in the app. Currently I'm now on RamExpander. Very good.
Sent from my GT-S5830 using xda app-developers app
DuckyDawn said:
I've tried swapper 2, it's good. But have to understand each term they use in the app. Currently I'm now on RamExpander. Very good.
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
For me Ramexpander say is not compatible with Ace.
I heard swapping partition from sd card to increase the ram, sd card might get damaged!!, is it true?
Reduces SD Life so yes.
Sent from my iPhone
but i guess you will change your sd card before it gets damaged so much, that you will notice.
i only had this once on a USB pendrive. it loses data since some weeks ago. but its about 8 years old.
lets say that todays SD cards have better lifetime than years old USB sticks. lets also say that you use your sd card more often than i used this stick (backups later car-radio). so we can say your SD card might have a bit less lifetime. lets say 6 years. in 6 years you will (most likely) have a new phone, sd cards are "oldies" and if not, 1TB cards are state-of-the-art.
so....yes you loose lifetime but i dont think you will use it till it "dies"
CJCord said:
but i guess you will change your sd card before it gets damaged so much, that you will notice.
i only had this once on a USB pendrive. it loses data since some weeks ago. but its about 8 years old.
lets say that todays SD cards have better lifetime than years old USB sticks. lets also say that you use your sd card more often than i used this stick (backups later car-radio). so we can say your SD card might have a bit less lifetime. lets say 6 years. in 6 years you will (most likely) have a new phone, sd cards are "oldies" and if not, 1TB cards are state-of-the-art.
so....yes you loose lifetime but i dont think you will use it till it "dies"
Click to expand...
Click to collapse
It really depends on use. When I swapped i ate through my sdcard in less than 6 months.. so there you go. Keeping low swappinness will increase sd card life, but it does depend on use.
increasing ram by swapping sd card is effective to what extent...can any body tell me....does it bridge the gap of our low ram...
AND ANY OTHER DISADVANTAGE THAN REDUCING SD CARD LIFE
Blackstard said:
For me Ramexpander say is not compatible with Ace.
Click to expand...
Click to collapse
Huh? I Don get u cozy mine is working fine. Downloaded from blackmarket
Sent from my GT-S5830 using xda app-developers app
Ashish924 said:
increasing ram by swapping sd card is effective to what extent...can any body tell me....does it bridge the gap of our low ram...
AND ANY OTHER DISADVANTAGE THAN REDUCING SD CARD LIFE
Click to expand...
Click to collapse
That why the requirement need class 10 SDcard
You can use CM7 that uses less RAM!.. I just went from CM10 to CM7 and it really is an improvement for ACE as it uses a bit less RAM and that is noticeable.
thanx but no cm7
Jimmyslam said:
You can use CM7 that uses less RAM!.. I just went from CM10 to CM7 and it really is an improvement for ACE as it uses a bit less RAM and that is noticeable.
Click to expand...
Click to collapse
thanks...but i dont want cm7 as i dont like it....i want it in a stock rom...btw thanx
Ashish924 said:
how to make virtual ram in galaxy ace rooted s5830.....running ics'ed by snowpluralism....
n do it helps in smooth runnings...
and any disadvantages:highfive:
Click to expand...
Click to collapse
there are quite a few apps for increasing the ram like ramexpander and swapper...
but before using these apps remember that the read and write speed of sd card(which is secondary storage) is vey less as compared to that of the internal ram.. and probably thats why ram is very expensive as compared to sd card...
so if you use these apps may take a bit longer to start and even the best of sd cards i.e. the class 10 one won't last longer than 6 months...
Increasing ram
Hi i install ram manager pro apk on gts5830i then i create a swap file 128mb using this apk, then on sd card i see swap file img does it mean my phone ram increased.... i didn't install any kernel for it... plz does tell me if it increase ram or not...
I tried something on a other phone from my neighbor. is a huawei with same specs than the galaxy ace..
I moved apps to SD card with link2SD and created a Swap file in the internal storage.
The internal storage is much faster than the SD card and much better for swap file.
sahil chandel said:
Hi i install ram manager pro apk on gts5830i then i create a swap file 128mb using this apk, then on sd card i see swap file img does it mean my phone ram increased.... i didn't install any kernel for it... plz does tell me if it increase ram or not...
Click to expand...
Click to collapse
What is RAM
Random Access Memory (RAM) is temporary data storage that the CPU uses during calculations. The more RAM a device has, the more calculated results the CPU can store - which means less time the CPU has to do the same thing over and over again. In other words, the CPU can check RAM to see if it has already made a particular calculation in the recent past. If it has, it can use the pre-computed results instead of wasting processing time recomputing the same calculation. In short, more RAM means a more efficient (and faster) device.
SWAP
What is SWAP
Swap is, in short, virtual RAM. With swap, a small portion of the hard drive is set aside and used like RAM. The computer will attempt to keep as much information as possible in RAM until the RAM is full. At that point, the computer will begin moving inactive blocks of memory (called pages) to the hard disk, freeing up RAM for active processes. If one of the pages on the hard disk needs to be accessed again, it will be moved back into RAM, and a different inactive page in RAM will be moved onto the hard disk ('swapped'). The trade off is disks and SD cards are considerably slower than physical RAM, so when something needs to be swapped, there is a noticeable performance hit.
Unlike traditional swap, Android's Memory Manager kills inactive processes to free up memory. Android signals to the process, then the process will usually write out a small bit of specific information about its state (for example, Google Maps may write out the map view coordinates; Browser might write the URL of the page being viewed) and then the process exits. When you next access that application, it is restarted: the application is loaded from storage, and retrieves the state information that it saved when it last closed. In some applications, this makes it seem as if the application never closed at all. This is not much different from traditional swap, except that Android apps are specially programed to write out very specific information, making Android's Memory Manager more efficient that swap.
Click to expand...
Click to collapse
Credits go to CarlDeanCatabay

[Q] does SWAP drains battery?

does swap drains battery faster and does it really kill your sd card?i'fve never heard of someone'sd card died cause of swap (searched all over xda)?
Swap writes/reads sdcard card info that should go to RAM. Writing/reading from sdcard requires more resources than doing it from RAM, cuz sdcard memory is slower to access.
So, yes, it drains battery faster. And yes, it reduces sdcard life (cuz sdcards have a limited number of reads/writes). Can it kill your sdcard? Yes. Will it kill your sdcard? Depends on your use
Andraxo said:
does swap drains battery faster and does it really kill your sd card?i'fve never heard of someone'sd card died cause of swap (searched all over xda)?
Click to expand...
Click to collapse
CAN YOU STOP WITH THE THREADS?! Jesus Christ man. This is getting ridiculous. Don't use swap if you have so many effing doubts.
---------- Post added at 09:17 PM ---------- Previous post was at 09:17 PM ----------
dxppxd said:
Swap writes/reads sdcard card info that should go to RAM. Writing/reading from sdcard requires more resources than doing it from RAM, cuz sdcard memory is slower to access.
So, yes, it drains battery faster. And yes, it reduces sdcard life (cuz sdcards have a limited number of reads/writes). Can it kill your sdcard? Yes. Will it kill your sdcard? Depends on your use
Click to expand...
Click to collapse
And NO it doesn't drain battery faster. I've been using it for a week now and power consumption is the same.
SuperAce609 said:
[/COLOR]
And NO it doesn't drain battery faster. I've been using it for a week now and power consumption is the same.
Click to expand...
Click to collapse
Yes it does, but ultimately depends on the use you give your phone and the swappiness.
I used swap for a long time (almost 6 months). I ate trough my sdcard, of course, stupid me, swappiness at high levels cuz i thought it would be better and a lot of multitasking involved (several tabs on browser, music playing, talpatalk, notes, and even games and game guardian running)
Bottom line, swap does increase battery consumption and reduces sdcard life, even if with your usage these effects are perceived as marginal. You didn't really think there was no tradeoff did you?
SuperAce609 said:
CAN YOU STOP WITH THE THREADS?! Jesus Christ man. This is getting ridiculous. Don't use swap if you have so many effing doubts.
---------- Post added at 09:17 PM ---------- Previous post was at 09:17 PM ----------
And NO it doesn't drain battery faster. I've been using it for a week now and power consumption is the same.
Click to expand...
Click to collapse
lol sorry didn't mean to bother anyone
dxppxd said:
Yes it does, but ultimately depends on the use you give your phone and the swappiness.
I used swap for a long time (almost 6 months). I ate trough my sdcard, of course, stupid me, swappiness at high levels cuz i thought it would be better and a lot of multitasking involved (several tabs on browser, music playing, talpatalk, notes, and even games and game guardian running)
Bottom line, swap does increase battery consumption and reduces sdcard life, even if with your usage these effects are perceived as marginal. You didn't really think there was no tradeoff did you?
Click to expand...
Click to collapse
what do you mean by "I ate trough my sdcard" did your sd card die?
dxppxd said:
Yes it does, but ultimately depends on the use you give your phone and the swappiness.
I used swap for a long time (almost 6 months). I ate trough my sdcard, of course, stupid me, swappiness at high levels cuz i thought it would be better and a lot of multitasking involved (several tabs on browser, music playing, talpatalk, notes, and even games and game guardian running)
Bottom line, swap does increase battery consumption and reduces sdcard life, even if with your usage these effects are perceived as marginal. You didn't really think there was no tradeoff did you?
Click to expand...
Click to collapse
What are you talking about? I searched the hell out of swap to know what I was getting into before I did. Logically, it's what people SHOULD do before trying anything but sadly, no one thinks the same. Anyway, I bought a brand new 4GB SD just for swap and I don't regret it. Everything's been working perfectly fine. Power consumption's been the same, multi tasking's improved drastically and everything's backed up. Backups are amazing.
Swap does eat your SD like no tomorrow so that's why I bought one just for that. Swappiness at 100 with a small 250MB partition.
No swap dont drain ur battery..udlse ur logic man n try to think about that
Sent from my GT-S5830 using xda app-developers app

how to root and how to use sd card as RAM?

how to root and how to use sd card as RAM?
sekhar13515 said:
how to root and how to use sd card as RAM?
Click to expand...
Click to collapse
Even if you do that, there will be no performance gain. SD card is too slow for that purpose. Motorola did it the wrong way. They made a great device but didn't put in enough RAM to make it use its full potential.
Sent from my XT1068 using Tapatalk
sekhar13515 said:
how to root and how to use sd card as RAM?
Click to expand...
Click to collapse
You can root your phone easily... just watch this video
And using SD card as RAM is not a good idea, SD card is too slow to be an active RAM memory
nilanko said:
Even if you do that, there will be no performance gain. SD card is too slow for that purpose. Motorola did it the wrong way. They made a great device but didn't put in enough RAM to make it use its full potential.
Click to expand...
Click to collapse
so, any alternate option to run phone speed?
sekhar13515 said:
so, any alternate option to run phone speed?
Click to expand...
Click to collapse
You can use greenify and task killers to free up RAM. I know people say its not a good idea but it seriously works for this phone. It has too low RAM for Android to be able to handle it properly. It lags like hell without greenify and task killers.
Source: Personal experience
nilanko said:
You can use greenify and task killers to free up RAM. I know people say its not a good idea but it seriously works for this phone. It has too low RAM for Android to be able to handle it properly. It lags like hell without greenify and task killers.
Source: Personal experience
Click to expand...
Click to collapse
I am using that workaround from starting. Even also sometimes very slow and don't respond, that time have to restart the phone.
Whatever the high RAM, after 2 years Android gets slow.
https://youtu.be/kSNyzIgKvB0
sekhar13515 said:
I am using that workaround from starting. Even also sometimes very slow and don't respond, that time have to restart the phone.
Whatever the high RAM, after 2 years Android gets slow.
Click to expand...
Click to collapse
Yeah true that. And I guess we can't do anything about that.

Categories

Resources