Is that normal that after restart I can see only 65Mb of used memory and 235Mb of free memory?
Yes. The rest is allocated to the system for things like the camera and GPU (which takes a sizable chunk).
After camera buffers, radio, etc, there are about 350MB free:
MemTotal: 355108 kB
Anyone else notice that under Applications- Manage Applications, the system only shows around 512 mb of RAM. The same applies to my task killer. The Xoom is supposed to have 1 GB of RAM. Anyone else find this a bit odd?
According to the linux os:
Code:
# ./busybox free
total used free shared buffers
Mem: 736512 723028 13484 0 56204
Swap: 0 0 0
Total: 736512 723028 13484
It appears 768MB of ram is available to the OS, I bet the other 256 is dedicated to video.
I'm currently using imilka's Gingerbread Sense nand build (http://forum.xda-developers.com/showthread.php?t=989289).
I was reading: http://forum.xda-developers.com/show...72&postcount=7 trying to understand, with little luck.
I have the TMOUS version of the HD2, with the suggested 350 meg partition. I'm also using APP2SD and have everything possible moved to my SD card (which in my case is around 500 megs in 200 or so programs).
I currently have 162 mb available according to APP2SD.
According to Absolute System, I have 350 MB in system, with 9mb free. If I understand correctly - this is used to hold the o/s (this gingerbread build) PLUS any frameworks I can squeeze into the 9mb, like a circle battery or bootup animation.
Absolute System confirms in data I have 162 mb free.
OSMonitor says I have 48 Megs free btw. And I've un-installed things running in the background that I don't need, but looks like the o/s will just leave other programs open - it looks like it tries to leave about 45-50 free at all times.
SO - why am I getting warning that I am low in memory?? I am now using SPB Shell 3D, which does use 35-40 megs of memory (yes, quite a bit) and want to compensate for it.
Is the 162 remaining used only for app installs?
Is the memory running apps like Shell 3D coming from the 350?
Since I have 160 megs free, can I re-allocate say 25-50 megs more to the o/s for Shell 3D and other apps to use?
If I need to re-partition to a different amount, would I then flash say a 400mb over (cause I tried that initially and remember being laughed at for not following post #1 which asked for 350+). If I do this, I presume I can CWR backup, re-flash partition, then restore..?
Another possibility would be to use the SD card option - can I use this method to say make a 2 gig partition for *all* apps on my sd card, and leave *all* internal memory for Android to run?
Help!
I'm Running Ginger Yoshi 1.2 and I'm still seeing a lot of lag with the dialer/phone (Takes too long to load and most of the time doesn't load the custom ring tone for that contact), also the following games lag and they where not lagging on the stock ROM (1.6 from T-Mobile)
Blow Up (Lite)
Bubble Buster Smileys
Regarding Performance Settings, I have the following questions:
What would be the best setting for CompCahce? I've read that it's recommended for this type of phone, would 26% be OK?
I have JIT Disabled since I've read it still very much unstable and might cause other things to fail, like the screen off/on animations, is this correct?
I have Disabled Surface Dithering, Is it worth enabling it?
I have enabled Allow Purging of assets, I've read that this really helps with the RAM limitation of this phone, is this correct?
I don't have Home or Messaging locked, are they worth locking?
Lastly, I have VM Heap size to 32M, is this the best for my Phone?
I've searched and haven't found anything clear enough for me regarding these questions, if they are answered somewhere just give me the link to the post.
Thank you all for your help and a Huge Thanks for Team Yoshi for there excellent ROM.
I flashed Ginger Yoshi 1.2 recently. I have a question for you. I am unable to get Wifi Tethering working with the same phone. Is it working for you?
I don't use Wifi Tethering
Sorry I don't use it since I don't have a Data Plan...
Quasi-Detailed Reply to YoshiMod Settings
ElConedeTJ said:
I'm Running Ginger Yoshi 1.2 and I'm still seeing a lot of lag with the dialer/phone (Takes too long to load and most of the time doesn't load the custom ring tone for that contact), also the following games lag and they where not lagging on the stock ROM (1.6 from T-Mobile)
Blow Up (Lite)
Bubble Buster Smileys
Regarding Performance Settings, I have the following questions:
What would be the best setting for CompCahce? I've read that it's recommended for this type of phone, would 26% be OK?
I have JIT Disabled since I've read it still very much unstable and might cause other things to fail, like the screen off/on animations, is this correct?
I have Disabled Surface Dithering, Is it worth enabling it?
I have enabled Allow Purging of assets, I've read that this really helps with the RAM limitation of this phone, is this correct?
I don't have Home or Messaging locked, are they worth locking?
Lastly, I have VM Heap size to 32M, is this the best for my Phone?
I've searched and haven't found anything clear enough for me regarding these questions, if they are answered somewhere just give me the link to the post.
Thank you all for your help and a Huge Thanks for Team Yoshi for there excellent ROM.
Click to expand...
Click to collapse
___________________________________________________________________
IMHO, Yoshi works for me, if it is set up correctly. Other than following the instructions in the "quasi-users guide" which really do help (http://forum.xda-developers.com/showthread.php?t=938848), some of these settings have helped for me - I have both 32A and 32B but I use the MT3G 1.2 w/3.5mm jack:
(presuming you have a 4GB SDmicro card [it's good, but higher is better if phone can handle it] and you can boot to a recovery that allows you to partition your SD card - Titanium Backup works if you want to save your apps, but if you want a fresh install, well, here it is):
1. Wipe, re-wipe and if you still are unsure... rewipe some more. Did I mention to wipe EVERYTHING (including battery stats, dalvik-cache, sd-ext... sorry for over-emphasizing this). Then use Ohsaka-Superwipe_v2 and reboot to recovery.
2. Partition SD card. I have a 4GB, so for me 512 MB a2sd space and something decent for secondary space is fine (the rest of my SD is 3.19 GB, so plenty of room).
3. Flash Ginger Yoshi 1.2.zip (works for 32A & 32B... I flashed the version with the 32A radio and IMHO I didn't like it), following whatever settings you choose (installed to partition, Zeam Launcher and 60 MB swap is what I did) then flash auto-boot-2.6.35.12-farmatito -32b-and-a.zip then reboot.
Preset settings right out of boot for my device are the following (I have tried to change the settings and reboot to weird instabilities - app lag, call-to-image lag, no ringer/vibrate, fc issues, etc., but this works for me):
CPU Governor: ONDEMAND
Compcache: DISABLED
JIT: Checked
Surface Dithering: Checked
Purging of Assets: Checked
Lock home/messaging: Unchecked
VM Heap: 48M
On average, I have 33 MB free out of 199 MB and usually the JuiceDefender stuff works to give me a boost most of the time. The phone works pretty zippy for me and reduced the call-to-image lag some folks get when receiving/making a call. Of course results may vary for you, but again, IMHO, it works for me.
Apologies if I am talking to u like if u r a noob or if I am editorializing too much. Force of habit I gotta drink the hell out of. Hope all this helps and take care.
I'll try it
Just a few questions about your recommendations:
1.- I understand that I should wipe
2.- I have a Class 4 8GB SD Card, does the class 4 good enough or should I first get a class 6 or even a class 10?
3.- I will also try these settings
Also, don't worry about talking to me like if I'm a noob, since I am a noob regarding custom ROM, Swap, Paritioning SD, CompCache, etc, etc...
For that type of device, IMO the Class IV is fine, but the Class VI or 10 offer better r/w protections for swap and functionality than a decent Class IV. If you have heavy usage, I would suggest getting something more than Class IV.
Hope this helps and post if the settings have helped you out. Later
Where's my CompCache?
I flashed auto-boot-2.6.35.12-farmatito -32b-and-a.zip and now CompCache is not showing up when I use the "Free" command:
total used free shared buffers
Mem: 112616 107964 4652 0 1492
Swap: 0 0 0
Total: 112616 107964 4652
Before flashing it, it showed numbers in the Swap now it's all 0, I've already tried disabling and re-enabling at didn't work...
Edit: I did a restore of my nandroid backup before farmatito and here is what free shows:
total used free shared buffers
Mem: 112608 100276 12332 0 332
Swap: 29272 14044 15228
Total: 141880 114320 27560
It would appear as if you might not have set the "install 60MB swap on partition" when you did the initial install of GingerYoshi. On my device, it looks like this:
total used free shared buffers
Mem: 203944 198784 5160 0 148
Swap: 60668 37708 22960
Total: 264612 236492 28120
If that isn't the case (not installing the 60MB Swap file), it is a separate issue from the Comp Cache, I believe. Try installing GingerYoshi with the install to partition, ZEAM (or LauncherPro... whichever one you choose), and THEN say YES to the "60MB on partition". You should be fine by then, but if not, let me know.
Thanks and hope it helps.
I hevn't started from scratch yet...
I'm going to get a Class 6 first before creating ext3/4 on the SD Card... In any case I'm a little reluctant on using the 60MB swap since I read too may times that it could affect the life time of the SD Card and that it's not much of an improvement... But as soon as I get a class 6 I'll try and do a clean install with an Ext3/4 with the 60M swap and see how it works.
Right now I have it like this:
Installed with: No Ext, No Swap (because of no Ext) and Zeam Launcher
In Performance I have:
CPU = Ondemand 128-576MHz (altoght I'm using SetCPU for this)
CompCache = 26%
JIT = off (since it messes up the Screen On/Off Animations among other things)
Surface Dithering = Off (I see no reason to have it on)
Allow Purging of assets = On (I see no reason to not have this on)
Lock Home and Messaging = Off (Again No reason to have this on)
VM Heap Size = 32M (seems more stable than 48M)
Edit: In any case, why does installing farmatito make me loose the CompCahche?
ElConedeTJ said:
I'm going to get a Class 6 first before creating ext3/4 on the SD Card... In any case I'm a little reluctant on using the 60MB swap since I read too may times that it could affect the life time of the SD Card and that it's not much of an improvement... But as soon as I get a class 6 I'll try and do a clean install with an Ext3/4 with the 60M swap and see how it works.
Right now I have it like this:
Installed with: No Ext, No Swap (because of no Ext) and Zeam Launcher
In Performance I have:
CPU = Ondemand 128-576MHz (altoght I'm using SetCPU for this)
CompCache = 26%
JIT = off (since it messes up the Screen On/Off Animations among other things)
Surface Dithering = Off (I see no reason to have it on)
Allow Purging of assets = On (I see no reason to not have this on)
Lock Home and Messaging = Off (Again No reason to have this on)
VM Heap Size = 32M (seems more stable than 48M)
Edit: In any case, why does installing farmatito make me loose the CompCahche?
Click to expand...
Click to collapse
In advance, I apologize. It was my belief that I said in advance that I am basing my findings on my 32A device that I physically use.
I forgot to give you the specs that I am running on my 32B device:
SAPPHIRE PVT32B SHIP S-ON G
HBOOT-1.33.0013d (SAPP30000)
CPLD-10
RADIO-2.22.28.25
Oct 21 2009,22:33:27
(Settings below based on a 2GB SDmicro... a size I would not recommend):
EXT, 60MB SWAP and ZEAM
CPU = ONDEMAND with 245 - 528MHz
CompCache = Disabled
JIT = ON
Surface Dithering = ON
Allow Purging of assets = ON
Lock Home and Messaging = Off
VM Heap Size = 48M
I ran the "free" command and I also see the 0 swap size. Hmmmmm... very interesting. I will do some research and look at the bug tracking to see if it is a GingerYoshi thing or if it is something in the way I am installing it on my device as well. As an added piece of advice, the farmatito zip is more beneficial for 32A devices like the 1.2 3.5mm jack device, so if I said to install to your device, you can generally disregard it and see if it gets you better results on the swap.
As an FYI, in terms of screen transitioning, have you checked out the "Spare Parts" included with GingerYoshi? Some of the settings may be for aesthetics or performance in tandem with your space, but perhaps it can free up more memory for the ring-to-display lag you are having. As for apps (Angry Bords, for example), the only one that works with some acceptable lag is the RIO version... blasted ARM processors.
Sorry for the confusion on my part and hope this helps.
I would love to have voice to text anyone know how I can add this to my phone or can yoshi add this to the rom?
Thanks,
Bukethead
Where's my CompCache???
Something changed and now when I run the Free command I get the following:
total used free shared buffers
Mem: 112608 106440 6168 0 2784
-/+ buffers: 103656 8952
Swap: 0 0 0
It has a different layout than before, but mainly under Swap I didn't have only 0:
total used free shared buffers
Mem: 112608 100276 12332 0 332
Swap: 29272 14044 15228
Total: 141880 114320 27560
Can anyone point me in the direction of how to troubleshoot what happened without having to wipe and flash the ROM again?
Thanks.
Edit: I had a backup of my ROM and did have the Swap numbers, So I did a backup of everything via Titanium and restored the Nadroid backup, then I restored apps, then the app data then the system data rebooting step by step and the swap still appeared, so I still have no Idea what broke the compcache but it's back now... If anyone has any idea on what could have changed, please let me know...
total used free shared buffers
Mem: 112608 105768 6840 0 32
Swap: 38280 19288 18992
Total: 150888 125056 25832
I am impressed with this rom I've been running yoshi for a few months now and I have no complaints. good job team yoshi!
Favorite rom -
Faux clock / any kernel tuner -
Enable kms - (setting recommended from Google for low memory device)
Set kms page_to_scan to 100
Set kms sleep_milleseconds to 500
Enable set io scheduler from 2048k - 4096k
Ram memory pro - (this setting help with memory swap when using kms, zram, and swap file combinations)
Enable at boot setting
Set balance tuning for apps and multitasking
Setxperia - (not available in store for tablet/must find and sideload) (setting recommended from Google for low memory device)
Enable zram with 400 MB size (zram have priority before using swap file / that where the magic at) (least used data get page out to zram and then to the page file)
Set swap file to data partition with 200 MB size
Set swappiness set to 100
Create swap. Total swap setting aside should equal to 615 MB
Use zramcc to check if zram/swap working. Swap total size should be 615MB. (reduce swap file size from 400 to 200 to minimize lag when all available swap are used up)
Link2SD - no need for explanation. I used this with a fast flash card to hold my titanium backup and app linkage. This app allow me to have all my apps that I used.
Seeder 2.0 - no need for explanation. This just classic lag free app. Check the entropy resources before and after usage before complaining how old and useless this app is.
Misc -
Unload/uninstall any memory hogged app, like Facebook Messenger (takes up almost 50MB), that like to stay in the system memory permanently. Can't even kill it with task manager. DO NOT USED ANY MEMORY CLEANER OR ADVANCE TASK KILLER. This will cause a swap overload. Let android manage the memory task. Reboot the tablet once all the settings have been applied. The tablet will behave very well and feel like a more expensive tablet.
I have the stock opengapps replace all the core stock rom app. Afterward, I removed any gapp that I do not use.
My Amazon Fire experiences:
My launcher is loaded with widgets and I can pretty much open any application that I used without any freeze or as little lag as possible. I game on this table now and no longer use my phone. Brave frontier and valkyrie crusade.
https://01.org/android-ia/user-guides/android-memory-tuning-android-5.0-and-5.1
Sent from my KFFOWI using Tapatalk
Kms or Ksm???
Update on information
Is all of this information still up to date? Any new additions/tweaks?
Also for some reason, after using zramcc I don't see 615 I only see 415 total.
svvparakala said:
Is all of this information still up to date? Any new additions/tweaks?
Also for some reason, after using zramcc I don't see 615 I only see 415 total.
Click to expand...
Click to collapse
Err...not really...although much of the guidance is reasonable albeit not optimal IMHO. Check out "L Speed" if seeking a quick tuner with a large following and solid reputation. Tweak one thing at a time and assess benefits before moving to the next item.