Thread closed. - HTC Sensation

Thread closed.

Thread closed.

Why you have posted this here? A guide should be in the general or development threads
Sent from my Sensation using Tapatalk 2

matt95 said:
Why you have posted this here? A guide should be in the general or development threads
Sent from my Sensation using Tapatalk 2
Click to expand...
Click to collapse
Sorry, I've done this for the HD2 as well, actually first even, and was told to put it in the Q&A section there, it can be moved to whereever it should be ... fine by me.
JP.
Edit -----
Ok, saw my mistake, Android Development for HD2 has subforums, one of which is Q&A, the Sensation just has a development forum.
Well if some moderator could move my post, would be nice.
And sorry again
JP.

Why would a Sensation need a swap partition?

Rusty! said:
Why would a Sensation need a swap partition?
Click to expand...
Click to collapse
Return question :
From where you stand, why would a Sensation need zram ? The kernels I've tested all have it, some don't even ask if you want to use it or not, it's just activated by default
Any system can use more system memory, since swapping is always faster than killing/reloading apps, and it's only a matter of time to get your RAM filled, we have quite some, but not that much either.
If you're fine with what you have, you could simply ignore my post
JP.
PS: Type free in a terminal and check if you see 0 in the swap line on your Sensation.

Yes, I have 0 swap.
Swapping might well be faster than killing and relaunching your apps manually, but as has been said many times since Android was born, that is completely unnecessary. Android is very good at memory management, it's more a case of free memory is wasted memory on phones.
It's all well and good giving a system 'more' memory, but the swap memory is horrifically slow compared to 'normal' RAM. It has it's place on something with like 256MB RAM, but not on something with 768MB.

Well I suppose we're discussing at a point of view level here...
And swap is slow on SD, well not that slow on a fast SD card with read speed at around 20Mb/s and writing at around 10Mb/s, sure slower than RAM but still faster than killng and afterwards reloading the app from NAND.
But I have to disagree with you on one point, Android has an excellent memory manager, true, but this means it will handle keeping apps in the background or killing them, which means that there is no use for app-killers, but that doesn't mean there's no use for more memory (swap).
So give Android more memory to play with and its management will use this additional space accordingly.
But as I said before, this is just a guide, if your Sensation works fine as is, just ignore my post, I'm forcing nobody to use it, just giving those that have a different oppinion than yours a help to get it going, no more no less.
JP.
Sent from my Android Revolution HD 6.6.3 / Bricked kernel 3.0 v1.1 powered htc Sensation XE using xda premium

I was looking for a guide like this.
Thank you very much!
EDIT: I have tried it and it's perfect - I can go multi-tasking with 3 games and 4 other programs without any lag.

Waszker said:
I was looking for a guide like this.
Thank you very much!
EDIT: I have tried it and it's perfect - I can go multi-tasking with 3 games and 4 other programs without any lag.
Click to expand...
Click to collapse
Glad to read it works for you
I think in the meantime that 1Gb might be a bit too much. Up to how much swap have you seen used on your Sensation ?
JP.

Hi,
I have tried and it works fine.
I have a HTC HD2 with "Team Blue Droid V3.7 Sensation XL Gen3 EU"
free shows this, could you think I have enough swap memory or I have to increase it?
total used free shared buffers
Mem: 413372 356872 56500 0 216
-/+ buffers: 356656 56716
Swap: 131068 103144 27924
Thank you very much!
José

joeHd2 said:
Hi,
I have tried and it works fine.
I have a HTC HD2 with "Team Blue Droid V3.7 Sensation XL Gen3 EU"
free shows this, could you think I have enough swap memory or I have to increase it?
total used free shared buffers
Mem: 413372 356872 56500 0 216
-/+ buffers: 356656 56716
Swap: 131068 103144 27924
Thank you very much!
José
Click to expand...
Click to collapse
I always use 256Mb on my HD2, but I never saw swap used to that extend with my use, or at least not looked at the right moment
On my Sensation I have currently 1Gb, and that is simply way too much, I've just been too lazy to reduce the partition
Keep en eye on the "free" part of swap, as long as there's always some left, I'd say you have enough with your 128Mb.
What kernel are you running ?
JP.

Huh... Interesting. I need to give this a try when I get home.

I want to try this also but im worried my sd might get worn out ...
Looks awesome, by the way...
Sent from my HTC Sensation using Tapatalk

Read mkswap --help about kbytes parameter - you don't need to repartition your sdcard.
Sent from my HTC Sensation using Tapatalk

AndroidNeophyte said:
I want to try this also but im worried my sd might get worn out ...
Looks awesome, by the way...
Sent from my HTC Sensation using Tapatalk
Click to expand...
Click to collapse
I've been using it for quite some time (almost a year, so far no issues), but sure it will do more read/write cycles on your card.
So you need to take into account, hence my warning in 2nd post.
I have no issue changing my card every few years, I'd probably do it anyway to keep up with newer technology (faster and bigger cards).
And by the way, if you partition the card, it will be worn at an exact place, so for instance, if you use the last 256Mb of the card, and if they wear off, you can leave the last 256 unused and use the 256Mb before that. Will keep you going long enough until you will change your hardware anyways
JP.

gen129 said:
Read mkswap --help about kbytes parameter - you don't need to repartition your sdcard.
Sent from my HTC Sensation using Tapatalk
Click to expand...
Click to collapse
You can also create a swapfile in your FAT partition, that will work, but will be less performant, since you will have FAT32 overhead.
A swap partition is the fastest available way from RAM to the SD card and back.
JP.

Yank555 said:
I always use 256Mb on my HD2, but I never saw swap used to that extend with my use, or at least not looked at the right moment
On my Sensation I have currently 1Gb, and that is simply way too much, I've just been too lazy to reduce the partition
Keep en eye on the "free" part of swap, as long as there's always some left, I'd say you have enough with your 128Mb.
What kernel are you running ?
JP.
Click to expand...
Click to collapse
Hi,
I'm using this kernel :
Linux 2.6.35.14-marc1706s_desire_0.1.8+
JB

joeHd2 said:
Hi,
I'm using this kernel :
Linux 2.6.35.14-marc1706s_desire_0.1.8+
JB
Click to expand...
Click to collapse
Ok, don't know that one, I've only tested faux's and Bricked on the Sensation...
But 2.6, are you on GB ? Not ICS ?
JP.
Sent from my Android Revolution HD 6.6.4 / faux kernel 006u powered htc Sensation XE using xda premium

Yank555 said:
Ok, don't know that one, I've only tested faux's and Bricked on the Sensation...
But 2.6, are you on GB ? Not ICS ?
JP.
Sent from my Android Revolution HD 6.6.4 / faux kernel 006u powered htc Sensation XE using xda premium
Click to expand...
Click to collapse
I am in Gingerbread 2.3.5
Sense 3.5
From : Team Blue Droid V3.7 Sensation XL Gen3 EU
Now I have 20Mb free from 128Mb, I think I'm going to resize to 256Mb
Thank for your guide.
Jose
France
HTC HD2 - Free mobile

Related

ROM not taking full advantage of all the RAM?

Allright, everyone has their noob questions and here's mine:
The HTC Inspire has 768MB RAM, correct? Yes.
So why is it that whenever I go to Settings > Applications > Running services
I see it saying 140Mb Used + 416MB Free.
That's only 556MB RAM.
It always adds up to that number.
Where's my other 212MB RAM being used?
I'm currently using Android Revolution HD 4.0 Beta 2
Thanks.
Infinimint said:
Allright, everyone has their noob questions and here's mine:
The HTC Inspire has 768MB RAM, correct? Yes.
So why is it that whenever I go to Settings > Applications > Running services
I see it saying 140Mb Used + 416MB Free.
That's only 556MB RAM.
It always adds up to that number.
Where's my other 212MB RAM being used?
I'm currently using Android Revolution HD 4.0 Beta 2
Thanks.
Click to expand...
Click to collapse
I'm not an expert but I recall someone saying it sets some side for the video processor to use.
Sent from my Inspire using Tapatalk Pro.
A portion of the RAM is used by the OS, all the processes it needs, the launcher, and sense UI stuff.
RogerPodacter said:
A portion of the RAM is used by the OS, all the processes it needs, the launcher, and sense UI stuff.
Click to expand...
Click to collapse
True, but those "system processes" are also shown with that 556MB, and they usually take up around 200MB of it. Leaving me with about 350MB RAM if I'm running nothing.
Sent from my Desire HD using XDA App
What he says is true...on a fresh boot with nothing running i usually have between 350mb and 365mb free and the Android OS and HTC UI are in the list of whats being used.
Sent from my Desire HD using XDA App
Theres some being set aside for hardware. The gpu may use some, theres probably a good bit set aside for the radio. Like the galaxy s, some may be able to be skimmed from here and there to give a little more user accessible RAM, but I've looked into this 0%. My kernel for the captivated is able to give around 30 extra MB or RAM accessible to the user with everything still working 100%(hd video recording etc). There is 768 mb or RAM in the phone though, some of its just reserved for things that need some of it dedicated, its not dynamically distributed as hardware needs it, instead its set aside UNTIL the hardware needs it.
Infinimint said:
True, but those "system processes" are also shown with that 556MB, and they usually take up around 200MB of it. Leaving me with about 350MB RAM if I'm running nothing.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Not everything appears though in running lists, the launcher for example takes up at least 20-30Mb of RAM just to run. Other internal processes just aren't shown. Sense UI stuff I bet is a big part of it.
You can set your task manager/viewer/killer to show all the system processes and whatnot.
It doesn't show 768 total ram.
I have this same question about the 4gigs of storage I've seen reported... I only see 1gig myself
Sent from my Desire HD using XDA App
Thrashavich said:
You can set your task manager/viewer/killer to show all the system processes and whatnot.
It doesn't show 768 total ram.
Click to expand...
Click to collapse
And it never will. Read my post above. It's 100% the answer to this thread, same as every other phone
arajay said:
I have this same question about the 4gigs of storage I've seen reported... I only see 1gig myself
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
The theory behind this is that the 4GB has been formatted to Single Layer. When you do this to flash memory, it becomes faster and more stable, but you lose half of the storage space. So 4GB goes to 2GB. Take out for the operating system, and you are left with about a gig.
Once you format to single layer, you cannot go back. I know it sounds like false advertising, but i am fine with my system partitions being faster and more stable in exchange for losing a couple of gig. There is always SD cards.
I hope this helps.
argolfermd said:
The theory behind this is that the 4GB has been formatted to Single Layer. When you do this to flash memory, it becomes faster and more stable, but you lose half of the storage space. So 4GB goes to 2GB. Take out for the operating system, and you are left with about a gig.
Once you format to single layer, you cannot go back. I know it sounds like false advertising, but i am fine with my system partitions being faster and more stable in exchange for losing a couple of gig. There is always SD cards.
I hope this helps.
Click to expand...
Click to collapse
That was a great answer! Thank you for helping me to understand
Sent from my Desire HD using XDA App
Yup that was the same the same question/ordeal when the g2 vision came out and this was the answer that was found.

Has a rom kernel been built with swap enabled?

I would give it a shot but I'm not sure how to make a compatible zip for revolver..
I get the function not implemented error when I try to swapon currently...
The fix...
"Try this: grep SWAP /usr/src/linux/.config CONFIG_SWAP=y
If you don't have it set then you need to configure the kernel set it. Swap is in the General setup section and it's not called swap, it's called "Support for paging of anonymous memory."
"
at the risk of sounding like a ****, I need to point out that the Transformer has 1GB RAM. That's twice as much as most Android phones. Do you really need a swapfile as well? Have you tried enabling Compcache or zRAM or whatever they're calling it these days? You'll probably run into the same issue (incompatible kernel), but you may have better results than a swapfile.
I made a swap partition, it wouldnt turn on.. i havent used zram and the other...never heard of them. I'm also aware that my transformer has 1gb of ram, but not all of it is accessible. I'd just like to squeeze as much performance as i can out of this thing and adding a swap partition seems like it would be useful.
pierut said:
but not all of it is accessable.
Click to expand...
Click to collapse
And how did you work that one out?
pierut said:
but not all of it is accessable.
Click to expand...
Click to collapse
The base dalvik system uses ram, and what it uses is excluded from the total in android.
Its all there, its all being used.
Another perfect display of how to slap some-one in the face using the shovel of logic.
Part is dedicated to the gpu.
Sent from my Transformer TF101 using xda premium
And none of this is even relevent to my original post.
Sent from my Transformer TF101 using xda premium
If my question was along the lines of 'how do i dwindle a discussion of performance improvement down to petty name-calling' it might have been useful insight.
Sent from my Transformer TF101 using xda premium
It is relevant to your OP as you provided a reason why you want a swap on the TF and the replies explain why your reasons are incorrect.
Having a swap file will not improve performance as the write speed of a SDcard/SSD is greater than the write speed of a ram module.
Which, considering how Android uses RAM, will slow the TF down.
Also, what "petty name calling" are you speaking of?
I wasn't asking if I was correct or not. I was asking if anyone had enabled swap. This has added performance for other android devices and I really don't see how this device is any different.
I'm sure there is a plethora of ways to handle ram, however I doubt that most people know these methods, myself included.
In reference to name-calling, a `slap in the face with the shovel of logic` might not be name-calling but it is certainly along the same lines.
Heh.
Swap is really only useful when your system is running out of free RAM frequently. I used to enable swap on my HTC Magic back in the day because of how little RAM it had. Nowadays though, it's not a problem - the Transformer has roughly five times the memory of my old Magic. Android is (in general) really light in its memory hunger, thanks to its intelligent paging system (inactive apps are paged out of main memory and remain in a suspended state).
Are you actually seeing situations where your device is running out of memory? I've never come across one. Just sayin'
i have instances that i assume are due to a lack of memory. laggyness of the ui... and the browser crashing when there is a resource intensive flash application running.
Sent from my Transformer TF101 using xda premium

[Q] RAM

Is there a way to use memory in ur sdcard as ram for ur phone, so i can increase the performance. i think u can, so if u now how to can u post a link?
And i am using MikRunny rom
B RAD G 296 said:
Is there a way to use memory in ur sdcard as ram for ur phone, so i can increase the performance. i think u can, so if u now how to can u post a link?
And i am using MikRunny rom
Click to expand...
Click to collapse
IIRC, there is a mod to use either a partition or a file on your MicroSD card for SWAP space... which is basically where programs that normally reside in ram would go when not in use... think its one by sparksco...
however, I dont see hardly any kernels with it built in these days... its a GOD SEND on my HD2 and Hero... Id love to use SWAP partition on all my devices...
hope someone more knowledgeable about whats out will reply
First this is the wrong thread for questions and answers.
And yes we have a few kernals that allow swap. But the rom as well needs to have that available from what I recall. Think cm uses 128 max though. I know there is a miui rom that uses swap here too. Does come in handy. You will need to reformat your sd card for swap if your going to use it. There is also ext3 and 4 and that acts like available storage space for your phone. I would only use 1-1.5 gb for that though. Some of these big games only want to go on your sd card.
Sent from my PG06100 using Tapatalk
One of our biggest supporters of swap has actually decided it's not such a good idea.
And it does not speed things up. It slows things down. Even with a class 10 sd card.
VICODAN said:
One of our biggest supporters of swap has actually decided it's not such a good idea.
And it does not speed things up. It slows things down. Even with a class 10 sd card.
Click to expand...
Click to collapse
what that makes no sense how does it slow down
B RAD G 296 said:
what that makes no sense how does it slow down
Click to expand...
Click to collapse
I was using swap for quite some time and it seemed to work really well for awhile and then started to cause my phone a lot of lock-ups after awhile. I think it was just eating up my sdcard too much. And it has been proven that swap wears on your sdcard quite a bit. I don't think it's worth it. There's a script made by Darkky that patches memory leaks in roms that seems to work good. I include these in a lot of roms and my memory always stays above 80mb.
WARNING: LONG WINDED POST... read at your own risk...
VICODAN said:
One of our biggest supporters of swap has actually decided it's not such a good idea.
And it does not speed things up. It slows things down. Even with a class 10 sd card.
Click to expand...
Click to collapse
What people fail to understand is that SWAP or fake ram is INHERENTLY IOPS sensitive... that being said, NONE of the Class 10 MicroSD cards have had ANYWHERE NEAR good enough IOPS for SWAP intensive operations... On my HD2 I went through testing 10 MicroSD cards of different Class's and sizes to find out which gave me the best performance while using SWAP and what gave me the best IOPS, Sadly, out of them all, only a Class 4 and Class 6, where anywhere decent enough to be good enough to function as SWAP devices... I mean 4 other ones worked... but you could tell with these 2....
B RAD G 296 said:
what that makes no sense how does it slow down
Click to expand...
Click to collapse
It makes perfect sense... lets take game files from an SSD and transfer them to a HDD... while RAM and MicroSD both use NAND/Flash memory, its still a medium transfer as well! ERGO if you have a crappy IOPS MicroSD card, your going to notice slowdowns and wait times while things in RAM are swapped out to SWAP and vice versa... I guess the best comparison is using the SLEEP function on Windows 7 VS the Hibernation function...
sparksco said:
I was using swap for quite some time and it seemed to work really well for awhile and then started to cause my phone a lot of lock-ups after awhile. I think it was just eating up my sdcard too much. And it has been proven that swap wears on your sdcard quite a bit. I don't think it's worth it. There's a script made by Darkky that patches memory leaks in roms that seems to work good. I include these in a lot of roms and my memory always stays above 80mb.
Click to expand...
Click to collapse
yeah SWAP eats the CRAP out of your MicroSD card... proven fact... HOWEVER, if your like me, 8GB and 16GB cards are rather cheep these days, I totally dont mind spending $10-30 every 6~ months buying a new MicroSD card if it keeps my OLD device speedy... (pun intended)
I got a link around here that I posted somewhere with like 4-6 different MicroSD test run results... will edit this post and link it later...
Oh, and yeah, this belongs in Q&A... but I cant blame you... its a legacy device... and I only visit the Android development section for any device I use... :X
EDIT1: "halrulez" my HD2 running on the NIGHTLY CM7 builds has ZERO problems using/utilizing my 1GB SWAP partition... its all kernel/romsetup based...
EDIT2: some things I thought I should point out after I re-read my own post... in the Windows Sleep V Hibernation statement, when in Sleep, the RAM is kept on, and thus requires no loading time, in Hibernation, RAM is stored on the HDD/SSD and must be transferred back onto RAM before it will boot... I also forgot that I backup my MicroSD's contents with Dropbox and Box software, as well as backup's that are performed whenever I plugin my Phone or MicroSD to my desktop or laptop...
There are apps like juwe11's ram app, rom toolbox has a memory settings, script manager in combination with v6 supercharger script (which I highly recommend, as it helps prevent sense reloads), auto killer memory, etc. Each phone has a "brain" of it's own. My phone likes v6 or auto killer memory, but other phones like juwe11's ramscript/app. Trial and error. Good luck, and post your results if you want to.
Sent from my PG06100 using Tapatalk
Hammerfest said:
WARNING: LONG WINDED POST... read at your own risk...
What people fail to understand is that SWAP or fake ram is INHERENTLY IOPS sensitive... that being said, NONE of the Class 10 MicroSD cards have had ANYWHERE NEAR good enough IOPS for SWAP intensive operations... On my HD2 I went through testing 10 MicroSD cards of different Class's and sizes to find out which gave me the best performance while using SWAP and what gave me the best IOPS, Sadly, out of them all, only a Class 4 and Class 6, where anywhere decent enough to be good enough to function as SWAP devices... I mean 4 other ones worked... but you could tell with these 2....
It makes perfect sense... lets take game files from an SSD and transfer them to a HDD... while RAM and MicroSD both use NAND/Flash memory, its still a medium transfer as well! ERGO if you have a crappy IOPS MicroSD card, your going to notice slowdowns and wait times while things in RAM are swapped out to SWAP and vice versa... I guess the best comparison is using the SLEEP function on Windows 7 VS the Hibernation function...
yeah SWAP eats the CRAP out of your MicroSD card... proven fact... HOWEVER, if your like me, 8GB and 16GB cards are rather cheep these days, I totally dont mind spending $10-30 every 6~ months buying a new MicroSD card if it keeps my OLD device speedy... (pun intended)
I got a link around here that I posted somewhere with like 4-6 different MicroSD test run results... will edit this post and link it later...
Oh, and yeah, this belongs in Q&A... but I cant blame you... its a legacy device... and I only visit the Android development section for any device I use... :X
EDIT1: "halrulez" my HD2 running on the NIGHTLY CM7 builds has ZERO problems using/utilizing my 1GB SWAP partition... its all kernel/romsetup based...
EDIT2: some things I thought I should point out after I re-read my own post... in the Windows Sleep V Hibernation statement, when in Sleep, the RAM is kept on, and thus requires no loading time, in Hibernation, RAM is stored on the HDD/SSD and must be transferred back onto RAM before it will boot... I also forgot that I backup my MicroSD's contents with Dropbox and Box software, as well as backup's that are performed whenever I plugin my Phone or MicroSD to my desktop or laptop...
Click to expand...
Click to collapse
Really doesn't get explained any better than this.
Hammerfest said:
WARNING: LONG WINDED POST... read at your own risk...
What people fail to understand is that SWAP or fake ram is INHERENTLY IOPS sensitive... that being said, NONE of the Class 10 MicroSD cards have had ANYWHERE NEAR good enough IOPS for SWAP intensive operations... On my HD2 I went through testing 10 MicroSD cards of different Class's and sizes to find out which gave me the best performance while using SWAP and what gave me the best IOPS, Sadly, out of them all, only a Class 4 and Class 6, where anywhere decent enough to be good enough to function as SWAP devices... I mean 4 other ones worked... but you could tell with these 2....
It makes perfect sense... lets take game files from an SSD and transfer them to a HDD... while RAM and MicroSD both use NAND/Flash memory, its still a medium transfer as well! ERGO if you have a crappy IOPS MicroSD card, your going to notice slowdowns and wait times while things in RAM are swapped out to SWAP and vice versa... I guess the best comparison is using the SLEEP function on Windows 7 VS the Hibernation function...
yeah SWAP eats the CRAP out of your MicroSD card... proven fact... HOWEVER, if your like me, 8GB and 16GB cards are rather cheep these days, I totally dont mind spending $10-30 every 6~ months buying a new MicroSD card if it keeps my OLD device speedy... (pun intended)
I got a link around here that I posted somewhere with like 4-6 different MicroSD test run results... will edit this post and link it later...
Oh, and yeah, this belongs in Q&A... but I cant blame you... its a legacy device... and I only visit the Android development section for any device I use... :X
EDIT1: "halrulez" my HD2 running on the NIGHTLY CM7 builds has ZERO problems using/utilizing my 1GB SWAP partition... its all kernel/romsetup based...
EDIT2: some things I thought I should point out after I re-read my own post... in the Windows Sleep V Hibernation statement, when in Sleep, the RAM is kept on, and thus requires no loading time, in Hibernation, RAM is stored on the HDD/SSD and must be transferred back onto RAM before it will boot... I also forgot that I backup my MicroSD's contents with Dropbox and Box software, as well as backup's that are performed whenever I plugin my Phone or MicroSD to my desktop or laptop...
Click to expand...
Click to collapse
That is a good explaintion. But personally I don't want to be the guy that releases a rom with swap already in it and get the guilt of someone's sdcard breaking. As drob311 said there's apps and other ways of making it work and my rom/kernel does still support these other ways of using it.
sparksco said:
That is a good explaintion. But personally I don't want to be the guy that releases a rom with swap already in it and get the guilt of someone's sdcard breaking. As drob311 said there's apps and other ways of making it work and my rom/kernel does still support these other ways of using it.
Click to expand...
Click to collapse
you do know that you can enable SWAP in a rom, but make it contained to SWAP PARTITION only? ergo if they made a SWAP partition on their MicroSD card... hence you have zero liability if said card breaks... you have to have SOME knowledge to repartition a MicroSD card properly for a SWAP partition
BTW, I fully support enabling it that way, it also leads the way to making the script for SWAP file vs partition easier because the ROM is ready for it, its just not enabled unless someone inserts the custom script OR has the proper partition for SWAP!
Hammerfest said:
you do know that you can enable SWAP in a rom, but make it contained to SWAP PARTITION only? ergo if they made a SWAP partition on their MicroSD card... hence you have zero liability if said card breaks... you have to have SOME knowledge to repartition a MicroSD card properly for a SWAP partition
BTW, I fully support enabling it that way, it also leads the way to making the script for SWAP file vs partition easier because the ROM is ready for it, its just not enabled unless someone inserts the custom script OR has the proper partition for SWAP!
Click to expand...
Click to collapse
Yes I know. I already had a swap script for swap partition for cm7 but you need a custom cmparts.apk since cm decided to disable all swap on their roms. Plus I didn't really feel like repartitioning my sdcard once it started acting up. I'll probably just make a seperate add-on to flash over the roms for it if people want it.
sparksco said:
Yes I know. I already had a swap script for swap partition for cm7 but you need a custom cmparts.apk since cm decided to disable all swap on their roms. Plus I didn't really feel like repartitioning my sdcard once it started acting up. I'll probably just make a seperate add-on to flash over the roms for it if people want it.
Click to expand...
Click to collapse
im cool with that
actually, if someone can get YES/NO in CWM like on my HD2 you can put it all in the rom and they can choose right at the get-go
that being said, you can still use the custom cmparts.apk even w/o using swap partition... not that big of a conflict since if you have SWAP partition it works if not its disabled... only the functionality is present... and you dont have to maintain a separate script/package/whatever...
also, if your SDCard is acting up, use the SDCard formatter do a full format, then use HD low level format tool... or if you bought HDD Regenerator like me, its easy to find the health of your SD Media... but thats a moot matter... and im done talking for the night i think... (well the night ends in 3min... :X )
~
You can actually use compcache with out swapping to sd. But any swap introduces latency so it negates most gains achieved. So more apps might not get killed off as quick allowing them to reopen faster but forground apps suffer from the latency and compression.
http://code.google.com/p/compcache/
Sent from my PG06100 using xda premium
zenulator said:
You can actually use compcache with out swapping to sd. But any swap introduces latency so it negates most gains achieved. So more apps might not get killed off as quick allowing them to reopen faster but forground apps suffer from the latency and compression.
http://code.google.com/p/compcache/
Sent from my PG06100 using xda premium
Click to expand...
Click to collapse
AFAICT non of our kernels support compcache. It's a patch you have to apply to the kernel itself in order to make it work.
http://code.google.com/p/compcache/wiki/Patches
THANK YOU
ok i would like to say thanks for ur help.
AND I NO THAT IT IS THE WRONG THREAD FOR ME TO POST THIS BUT THIS PHONE IS NOT THAT BIG AND NO ONE LOOK IN GENERAL FORUMS FOR THIS ONE. SO I PUT IT WHERE I WOULD GET THE MOST ANSWERS. BUT THANKS AGAIN
B RAD G 296 said:
ok i would like to say thanks for ur help.
AND I NO THAT IT IS THE WRONG THREAD FOR ME TO POST THIS BUT THIS PHONE IS NOT THAT BIG AND NO ONE LOOK IN GENERAL FORUMS FOR THIS ONE. SO I PUT IT WHERE I WOULD GET THE MOST ANSWERS. BUT THANKS AGAIN
Click to expand...
Click to collapse
I actually understand the reasoning.... hell I forget about general and q&a sometimes
Sent from my HTC Desire HD using Tapatalk
strapped365 said:
I actually understand the reasoning.... hell I forget about general and q&a sometimes
Sent from my HTC Desire HD using Tapatalk
Click to expand...
Click to collapse
willful ignorance... I flat out ignore the general and Q&A sections... unless I have a question not directly related to a rom...
@Sparksco... none out support compcache... that blows arse... I am glad then that I still use my HeroC (with compcache, you can DEFINITELY feel a SPEED UP rather then down ) as my home Read/Music/Browse device... well that and its extended battery and more responsive touch screen... (yes, i know, new update fix's this.. but I aint tried it yet)... Id beg you to include it in your next kernel/rom... but your deadset on not (its like 2WayCallRecording and No2WayCallRecording Kernels for my HD2... lol!)
Hammerfest said:
willful ignorance... I flat out ignore the general and Q&A sections... unless I have a question not directly related to a rom...
@Sparksco... none out support compcache... that blows arse... I am glad then that I still use my HeroC (with compcache, you can DEFINITELY feel a SPEED UP rather then down ) as my home Read/Music/Browse device... well that and its extended battery and more responsive touch screen... (yes, i know, new update fix's this.. but I aint tried it yet)... Id beg you to include it in your next kernel/rom... but your deadset on not (its like 2WayCallRecording and No2WayCallRecording Kernels for my HD2... lol!)
Click to expand...
Click to collapse
Thanks for all the insight and I have taken allot in from this whole discussion.
Sent from my PG06100 using Tapatalk
I was told in a thread that 128 was Max on swap but I'm always willing to try new things. I did come from my old Heroc was a great phone to first start of on, till it took a crap on me.,lol meaning my mother in law threw it in the washing machine. Then my son threw my wifes in the toilet. Was great because of the best buy protection. Loved the old device but the shift is like night and day. Don't really use the keyboard. what is all I would need to do to use more swap? I haven't had any lock UPS what so ever. Class 4 8GB btw.
Sent from my PG06100 using Tapatalk

2gb of ram?

Can someone explain this to me?
I don't know why, I have the same thing, but I think its related to how you would order a 16gb microsd and have, for instance 14.03 gb.
Some of it gets used by kernel space and video ram.
Think of this as a computer, a computer with a video card that doesn't have on board RAM will reserved some portion of the RAM for it's own used and will not show the full the full system RAM because of that portion being reserved. It's computer's nature.
scsa20 said:
Think of this as a computer, a computer with a video card that doesn't have on board RAM will reserved some portion of the RAM for it's own used and will not show the full the full system RAM because of that portion being reserved. It's computer's nature.
Click to expand...
Click to collapse
Great way of putting out
Sent from my SCH-I535 using xda premium
scsa20 said:
Think of this as a computer, a computer with a video card that doesn't have on board RAM will reserved some portion of the RAM for it's own used and will not show the full the full system RAM because of that portion being reserved. It's computer's nature.
Click to expand...
Click to collapse
Basically this.
If you look at any Android device, you'll notice it doesn't list the full amount of RAM that it physically has. It's just the nature of the operating system.
With 1.62GB reserved for use by applications, who can complain? That's equal to or more than pretty much any Android device in existence at the moment.
ExodusC said:
Basically this.
If you look at any Android device, you'll notice it doesn't list the full amount of RAM that it physically has. It's just the nature of the operating system.
With 1.62GB reserved for use by applications, who can complain? That's equal to or more than pretty much any Android device in existence at the moment.
Click to expand...
Click to collapse
I was pretty sure is more and ANY android phone in existance except US variants of gs3 (and Korean one too maybe?)
Sent from my Galaxy S3 using Tapatalk 2
Bloat sucks! Like others have said, roughly 380mb of ram is reserved for the system.
droidstyle said:
Bloat sucks! Like others have said, roughly 380mb of ram is reserved for the system.
Click to expand...
Click to collapse
Without that "bloat" your RAM wouldn't work at all.
Ansextra said:
Without that "bloat" your RAM wouldn't work at all.
Click to expand...
Click to collapse
Huh. Think about what you just said.
Bloat is by definition superfluous data that is not required. And the ram would still work, it just wouldn't have anything to run so it wouldn't have a function.
What you were probably trying to say was without the necessary required system files the ram would be largely useless. Of course that really isn't relevant in addressing what droidstyle said.
Sent from my htc_jewel using xda premium
Ansextra said:
Without that "bloat" your RAM wouldn't work at all.
Click to expand...
Click to collapse
derpy derp, please refer to bobloblaw's post!
can't see the attachment in the OP, but I assume based off the comments they are noticing the 1.6Gb available to user, which is as others have explained, after all the system gets it's memory and all
then out of that, at least on my CM10 JB build, with a lot of apps running, there is still 1GB of ram free, so there's 600Mb actively in use by apps and what not....
be really glad you have a full gigabyte of free ram, you could be like the Exynos guys and get a gimped 1Gb of ram and have only 100!150Mb free, and have your apps and stuff having to reload and stuff just to maintain free memory for overhead.
bobloblaw1 said:
Huh. Think about what you just said.
Bloat is by definition superfluous data that is not required. And the ram would still work, it just wouldn't have anything to run so it wouldn't have a function.
What you were probably trying to say was without the necessary required system files the ram would be largely useless. Of course that really isn't relevant in addressing what droidstyle said.
Sent from my htc_jewel using xda premium
Click to expand...
Click to collapse
Yes that is what I was trying to say. Thank you. But it is not irrelevant because by definition bloat would not be necessary files to my way of thinking. Bloat (the way I think of it) are files taking up space that are not necessary. This 380k is necessary.
the 380 is mostly necessary. you and droidstyle are both correct, no not all of that is useless stuff but honestly probably a majority of it is crap running in the background, stock apps and widgets and processes, that nobody will ever need.
Sent from my SPH-L710 using Tapatalk 2
TechSavvy2 said:
I was pretty sure is more and ANY android phone in existance except US variants of gs3 (and Korean one too maybe?)
Sent from my Galaxy S3 using Tapatalk 2
Click to expand...
Click to collapse
LG Optimus LTE II announced the same day as the Galaxy S III comes with 2 GB of RAM. Although, if I recall correctly, the usable memory is something like 1.2 GB.
Taehee. said:
LG Optimus LTE II announced the same day as the Galaxy S III comes with 2 GB of RAM. Although, if I recall correctly, the usable memory is something like 1.2 GB.
Click to expand...
Click to collapse
2GB of ram is quickly becoming the norm. It's nice after a couple days let say I have opened 60 apps, and when i go back to an app from the day before after using my phone the entire time, to be able to go back to that app and have it be right where i left it, having lost nothing......also it's nice to be able to run very involving launchers and not have to wait on it to reload from time to time......
bobloblaw1 said:
Huh. Think about what you just said.
Bloat is by definition superfluous data that is not required. And the ram would still work, it just wouldn't have anything to run so it wouldn't have a function.
What you were probably trying to say was without the necessary required system files the ram would be largely useless. Of course that really isn't relevant in addressing what droidstyle said.
Sent from my htc_jewel using xda premium
Click to expand...
Click to collapse
Your so called bloat isn't loaded into ram unless you launch it and I'm certain it isn't using the system reserved ram but would use the free ram pool. I would assume its the os and video memory that is using that space not some vzw apps you aren't using.
lol
piiman said:
Your so called bloat isn't loaded into ram unless you launch it and I'm certain it isn't using the system reserved ram but would use the free ram pool. I would assume its the os and video memory that is using that space not some vzw apps you aren't using.
Click to expand...
Click to collapse
a lot of the Samsung stuff is indeed loaded into RAM.
Sent from my SPH-L710 using Tapatalk 2
b4silver said:
Can someone explain this to me?
Click to expand...
Click to collapse
[/COLOR]Agree that it's being used by the video display. Video memory has to come from somewhere.

CM10.1 Memory

I can't seem to find a definitive answer anywhere as to why our 1 GB RAM only shows up at 669 MB on CM10.1 nightlies. I can understand the ROM requiring some space, but 355 MB seems excessive.
So what's the real deal behind this? Other 1 GB phones seem to still show up with 900+ MB in "About Phone" - eg the One X, also using CM10.1.
The reason I am keen to know is because using the default minfree values (I don't really want to have to tweak these), I find apps close WAY too often when something runs in the foreground. I have trimmed down my memory footprint majorly, have only a couple of essential widgets and three home screens. I don't think that in 2013 with a phone that has 1 GB of RAM one should need to minimise things down to one home screen and one widget just to be able to run memory-hungry apps.
So does anyone know why CM10.1 eats all the RAM, how to get it back, or how to stop apps from dying all the time? I can't even get through a 3DMark or Basemark X benchmark without it crashing halfway through due to lack of memory, even with all background apps closed.
Any insight would be much appreciated.
same issues
I have a sgs1 (i9000) and am having exactly the same issue.
CM10 was fine..I always run the screen filter app as I find even the dimmest of brightness too much. It NEVER would close this app before, since CM10.1 on using any app it does it all the time!
What is so f******* frustrating is that i am very ill in bed & with photosensitivity..so going from a screen dim of 38% to whatever the default auto is (really, any of these stock settings are bad for ur eyes long term!) just makes me scream!!!
I have 386mb or so, so obviously this is not the fault of my phone since u r having the same issue with much more memory than me it's something they have changed in CM10.1 since screen filter is a tiny app.
I frequently close all apps with a task manager & anyone that thinks they r a smart a** telling me 'android has its own memory management..u don't need to do that..it will make ur phone slower blah blah crap is talking up their exit hole lol I have disabled most apps running on various state changes via autostarts & my phone works faster for it! Some games WON'T load unless I close apps or restart - I'd like to see ur excuses for this lol There is a difference with the technical & the reality in this sense believe me!
I am considering going back to CM10 as this issue not to be sorted by now is ridiculous, but perhaps only a few have it as I don't see any replies to ur question.
I also thought about this... Where is the RAM? I tried CM10 and back to stock for 1 Day after flashing... I am more satisfied with my cleaned stock..
Sent from my HTC One S using xda app-developers app
If I remember right some kind of cache is on ram but even sense don't have 1gb yet One X does.
Sent from my HTC One S using Tapatalk 2
I feel you. I got the same problem with CM10.1. CM10.0 left me with a total of roughly 783MB. Apparently I was told it's something to do with the kernel and that the developers have not been able to work out the memory management.
Sent from my One S using xda app-developers app
669 here too
Sent from my One S using xda app-developers app
You'll never get the full 1gb, because the gpu etc need some shared ram too. But I want to know why cm10.0 has more memory available than cm10.1 on the same device
Well it seems the latest nightlies (unofficial) since yesterday seem to have resolved the memory issue.
djsubtronic said:
Well it seems the latest nightlies (unofficial) since yesterday seem to have resolved the memory issue.
Click to expand...
Click to collapse
Did someone confirm this?
Is there now something like ~800MB usable from within Android?
YoMarK said:
Did someone confirm this?
Is there now something like ~800MB usable from within Android?
Click to expand...
Click to collapse
No the total usable is the same (669 MB) but there is much more of it free due to some memory leaks being fixed.
Thats nice to hear. Waiting to see if some bright mind fixes the low available memory issue on the One S. My other device the Xperia T has the same (Qualcomm snapdragon S4) chip set but much more usable memory in CM10.1(800MB)
Any news on this? I saw that the one s c2 has got 800+mb free on cm10.1: http://forum.xda-developers.com/showthread.php?t=2263235
Sent from my HTC One S using xda app-developers app

Categories

Resources