So i was using JACHero 2.63(the fastest of the Hero ROMs) and i still can't stand the lag. Before everyone suggests i format the card and make sure i have a linux-swap partition. I did that...and it is the fastest version i have found. But still to slow on certain things. There are times when i can't even see who is calling before the call is placed in voicemail.
But enough of that, i was wondering if anyone knows exactly why its so slow? I ran cat /proc/meminfo and free in terminal and if i remember correctly the same amount of ram was free on both JAC2.63 and JF1.51, there may have been a Mb difference but not something i thought would be a big deal. Now from what i have read i believe the HTC Hero has the same CPU but double the storage and memory. So i would think its a memory problem...but if both versions show the same amount of memory free wouldn't both be laggy as the other?
I maybe missing something but just wanted to try and see if i could get some answers.
Anyone?
More stuff is running in the background at all times in Hero ROMS than in JF ROMS. If you run a task manager you will see that there are alot more services running than in JF ROMS. Also Rosie runs in the background and uses alot of memory no matter how optimized because it searches for widgets. My only suggestion would be to like you said reformat sd card with the 3 partitions and also make sure you have a class 6 sd card. If it's still slow try cleaning up Rosie and modifying the build/removing all unnecessary widgets. There's a modified Rosie, 333kb compared to the ~600+ kb available at leakdroid.com Hope that helped.
Having more stuff in the background running will cause more RAM Usage. but i didn't see it. Can someone who is running JACHero 2.63 reboot the phone and once it is up and running, go to Terminal and run
Code:
cat /proc/meminfo
and post that info. Also in terminal run
Code:
free
JF1.51 meminfo:
Memtotal: 98668 kB
Memfree: 3892 kB
JF1.51 free:
Memtotal: 98668
Used: 97132
Free: 1536
damnitpud said:
Having more stuff in the background running will cause more RAM Usage. but i didn't see it. Can someone who is running JACHero 2.63 reboot the phone and once it is up and running, go to Terminal and run
Code:
cat /proc/meminfo
and post that info. Also in terminal run
Code:
free
JF1.51 meminfo:
Memtotal: 98668 kB
Memfree: 3892 kB
JF1.51 free:
Memtotal: 98668
Used: 97132
Free: 1536
Click to expand...
Click to collapse
sure give me a second
EDIT:
JACHero2.63:
cat /proc/meminfo
MemTotal: 98328 kB
MemFree: 2960 kB
Buffers: 140 kB
Cached: 23544 kB
SwapCached: 2060 kB
Active: 37880 kB
Inactive: 43604 kB
Active(anon): 29372 kB
Inactive(anon): 29524 kB
Active(file): 8508 kB
Inactive(file): 14080 kB
Unevictable: 948 kB
Mlocked: 0 kB
SwapTotal: 31440 kB
SwapFree: 26832 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 57000 kB
Mapped: 14584 kB
Slab: 3976 kB
SReclaimable: 984 kB
SUnreclaim: 2992 kB
PageTables: 5048 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 80604 kB
Committed_AS: 1511656 kB
VmallocTotal: 155648 kB
VmallocUsed: 61248 kB
VmallocChunk: 33788 kB
JACHero2.63:
free
total used free shared buffers
Mem: 98328 96544 1784 0 140
Swap: 31440 4608 26832
Total: 129768 101152 28616
Thanks, alritewhadeva i have some research to do. i'm not sure those tests are giving the right values. Your total is different then mine.
If they are correct i don't see why JF1.51 would be running much faster...the difference in memory doesn't seem like enough to cause lagginess...I could be wrong i guess...maybe those small amounts are huge in mobiles?
damnitpud said:
Thanks, alritewhadeva i have some research to do. i'm not sure those tests are giving the right values. Your total is different then mine.
If they are correct i don't see why JF1.51 would be running much faster...the difference in memory doesn't seem like enough to cause lagginess...I could be wrong i guess...maybe those small amounts are huge in mobiles?
Click to expand...
Click to collapse
Linux will fill the memory as close to 100% used as it possibly can.. Things load faster from memory, so it keeps everything it possibly can in RAM. Free memory is wasted memory.
So as long as there isn't something grossly wrong with the memory management in a ROM, they should all be pretty similar when you look at "free."
The difference is, in a lighter ROM like JF or Cyanogen, more of the actual framework fits in RAM under normal use, so you can access it quickly. In Hero, the framework is larger so parts of it don't fit and get swapped out - causing lag.
Saiboogu said:
Linux will fill the memory as close to 100% used as it possibly can.. Things load faster from memory, so it keeps everything it possibly can in RAM. Free memory is wasted memory.
So as long as there isn't something grossly wrong with the memory management in a ROM, they should all be pretty similar when you look at "free."
The difference is, in a lighter ROM like JF or Cyanogen, more of the actual framework fits in RAM under normal use, so you can access it quickly. In Hero, the framework is larger so parts of it don't fit and get swapped out - causing lag.
Click to expand...
Click to collapse
That's what i was starting to think, thanks for the info Saiboogu.
Related
Hi! I have upgraded my BA to Xplode's ROM R4 release more than a month ago I guess. I also have extended my storage memory by following the wiki and earned extra MBs. The ROM is 32MB RAMdisk / 16MB page pool.
From my understanding the more RAM(Pagepool) allocated the faster it will be, right? Currently my storage memory and program memory details are:
Storage
Total: 60.30MB
In Use: 35.26MB
Free: 25.04
**From my understanding 32MB of the 60.30MB is my RAM disk because it's being shown in my file explorer...
Program
Total: 77.11MB
In Use: 22.55 MB
Free: 54.56 MB
Questions:
1. Is it possible for me to change the RAM (Page Pool) size so my BA will run faster?
2. Is it possible for me to allocate program memory to storage memory?
I have free MBs that I want to allocate for RAM (Page Pool).
Please enlighten me on this one. Thank you!
search this forum for overclock and theres a post with xcpu scaler which lets you overclock the BA which speeds it up!
its great
but it drains the battery...
matthew_wetton said:
search this forum for overclock and theres a post with xcpu scaler which lets you overclock the BA which speeds it up!
its great
Click to expand...
Click to collapse
I've used that before but I don't want to overclock the BA coz it drains the battery and what I wanted is more ram not more proc speed. thanks for your input though!
nyuszi said:
but it drains the battery...
Click to expand...
Click to collapse
That's exactly right!
get a bigger battery I always ran mine at 530 and got at least 2 days before needing a recharge
When i upgraded my Himalaya to WM5, I think I used used the 64 MB RAM version. I used the himaDOC tool to partition my device and give 64 MB to the RAM and 64 to storage.
Will that partitioning persist after I have upgraded to WM6? Ever since I installed WM6 my device is very very slow and it is because there's less than 3 MB of RAM left available. Here's what my machine says about its memory:
The ABOUT menu shows "Memory: 61.28MB"
The Hardware tab in Device Information shows RAM 128 MB, Flash 32MB, Storage Size 30.53MB
And when I go to Start > System > Settings > Memory, it shows Storage Total: 30.53 and Program Total 61.25MB
I am a little confused about what all these different types of memories mean. If anyone can clarify, i would really appreciate it. Also is there a way to increase the storage memory because with the total 30.53, 27 MB is always in use and with the remaining 4 MB, the device is painfully slow.
humayunl said:
And when I go to Start > System > Settings > Memory, it shows Storage Total: 30.53 and Program Total 61.25MB
I am a little confused about what all these different types of memories mean. If anyone can clarify, i would really appreciate it. Also is there a way to increase the storage memory because with the total 30.53, 27 MB is always in use and with the remaining 4 MB, the device is painfully slow.
Click to expand...
Click to collapse
If you have used DOC partitioning tool, you have 30.53 MB of storage ROM. The rest of ROM is your system and radio stack.
Your RAM is divided into 3 parts: program memory (actual RAM), RAM disk and page pool. They sum up to 128 MB. So, for example, if you have 32 MB of a RAM disk and a 32 MB page pool, you have 64 MB of a program memory left.
So from the numbers I see on my device, does everything seem good or is there anything I can do to further improve memory performance/allocation so that the things will be faster?
Do you have a RAMdisk enabled?
You know, there's no simple answer to "what configuration is better". If it were, you wouldn't have a choice It depends on how many programs you have installed, what exactly programs you're running, and so on...
Hello,
As you know Kaiser has 128MB of RAM. When you open Memory in settings then you can see that there is only 85.32MB of Program memory. So where is 42,68MB of RAM? Is all gone for pagepool in this ROM?
Best regards.
Just like yr desktop, everything runs on the machine need memory (RAM). OS (WM6.1), driver, start-up program, phone dialer, today ... etc.
jackleung said:
Just like yr desktop, everything runs on the machine need memory (RAM). OS (WM6.1), driver, start-up program, phone dialer, today ... etc.
Click to expand...
Click to collapse
You are talking about "in use" memory. I am talking about total memory what you can see in memory in settings...
After soft reset i have:
Total: 85.32 MB
In Use: 38:93 MB
Free: 46.39 MB
Anybody can explain me why total memory is only 85.32?
art12345 said:
You are talking about "in use" memory. I am talking about total memory what you can see in memory in settings...
After soft reset i have:
Total: 85.32 MB
In Use: 38:93 MB
Free: 46.39 MB
Anybody can explain me why total memory is only 85.32?
Click to expand...
Click to collapse
I know exactly what you are talking about. In older ROMs 6.0 and I believe some of the older 6.1, that amount was closer to the 100MB mark.
Part of that (about 12MB) is used for page pool. However almost that amount was used on the older ROMs as well, so wouldn't account for the almost 15MB disparity we see.
I have asked this question myself a couple times in the ROM development forum...no one has provided an answer. Some suggest that they are using that RAM as additional 'cache' ram of one type or another to improve performance. That seems like it could be a logical reason since whenever you increase other cache's in the registry it takes memory out of that same chunk. The other answer could be that there are newer or more low level drivers that for one reason or another are taking up that RAM.
Fact is no one knows. My bet is on cache of some point, although i can't really say that I see an improvement that would warrant that 15MB of use. There's not much you can do about it at this point other than live with the diminished memory or flash an older ROM.
Before i had HTC Himalaya (128MB of RAM) with WM5 and there when you set up 16MB pagepool then all rest of RAM (112MB) was available in memory applet. I never tried Himalaya with WM6 ROM so i can't tell how much memory was available then. However, thanks for your reply. Regards.
Hello,
I bought my Diamond yesterday from PDA plaza in Montreal. I am very puzzling with the memory I have on my unit. By clicking on Setting and Memory, this is what I have:
Storage: Total: 83.06 MB In use: 26.41 MB Free: 56.66 MB
Program: Total: 113.08 MB In use: 61.20 MB Free: 51.88MB
Very far from the specifications, which are ROM: 256 MB
RAM: 192 MB DDR RAM.
So is my unit defective? or this is normal.
Thanks in advance, because if I need to replace it, it need to be done as soon as possible...
Philippe
This would appear to be either a Grey Import or Pre-production specification? You should double check:
Go to - Start> Settings> System Tab> Device Information> Hardware Tab>
There you will find all the information about the physical memory?
If your correct then you may want to return it to the supplier or ask for a price reduction if your happy to keep it?
Hope this helps?
Thank you,
Yes, it is written Ram size 192 MB and Flash 256 MB. But why is that so different when I check on setting and memory?
Philippe
A chunk of memory is taken up by the Rom (System Software) and other system resources as they run. As you see new "cooked" roms become available you will see an improved level of memory usage - its nothing to worry about as long as performance is as expected?
I am incredibly envious that you already have the device though - looks like we here in the UK are going to have to wait a while longer unless we want an imported model?
Again - Hope this helps!
Because of all application running on your PDA...I heard that, with the 3D touchflo, there is "only" 90 Mo of Ram available !!
I'm using the Diamond to post right now. Touchflo 3d is a memory hog. only about 30% is free with no other applications running. the browser uses another 10%.
Thanks for all your comments. So to compare with my unit, please could you tell me how much memory you have for Storate and Program. So I will know how my unit compare to others...
Cheers,
Philippe
**** ME! How can it only have 50 MB of RAM free? Ive always got at least 60 free and I have 60 less to start with. Maybe TF3D is a massive hog?
But looking at the things you said, something like 113 available, 50 in use and 60 free, thats a good thing, you must have 192 built in, usually with 128 build in, you'll get figures of 80 available, not 113.
The one thing I dont understand is why the program memory never says that available is the amount of RAM you actually have. Because on startup I've usually got about 20 in use, and thats by the OS. So, when you take available program from the RAM you're meant to have, and get a number, lets say 80MB in this case, whats that used for?
rorydaredkign said:
**** ME! How can it only have 50 MB of RAM free? Ive always got at least 60 free and I have 60 less to start with. Maybe TF3D is a massive hog?
But looking at the things you said, something like 113 available, 50 in use and 60 free, thats a good thing, you must have 192 built in, usually with 128 build in, you'll get figures of 80 available, not 113.
The one thing I dont understand is why the program memory never says that available is the amount of RAM you actually have. Because on startup I've usually got about 20 in use, and thats by the OS. So, when you take available program from the RAM you're meant to have, and get a number, lets say 80MB in this case, whats that used for?
Click to expand...
Click to collapse
With 128Mb RAM in machine Touch Dual shows 101Mb total, but Asus P750 120Mb. so adding another 64Mb we only gaining 12Mb total? Is that what you are trying to say???
83+113=196 is more than 192MB. Isn't the 256MB only for ROM (so WM6.1 OS+pre-installed programs?)
83 + 113 should not equal anything
Storage is the free space after a rom has been installed and is basically the free part of the ROM. With a lite made rom, it should be as large as possible, and the used storage on first boot should be near zero.
The 113 part is the RAM.
What I'm trying to say is where is the other 79MB of program memory (RAM)?
Because its not like on soft reset, you have say 113MB program free, no you have that available and about 60MB free. the approx 50 that is used up in this case is by startup items, and the stuff windows needs to rum. So where is this 79MB?
rorydaredkign said:
The one thing I dont understand is why the program memory never says that available is the amount of RAM you actually have. Because on startup I've usually got about 20 in use, and thats by the OS. So, when you take available program from the RAM you're meant to have, and get a number, lets say 80MB in this case, whats that used for?
Click to expand...
Click to collapse
I'm sure it has some use. Hard drives are never quite as big as they say because of things like pagefiles, file allocation tables, etc.
Maybe that hidden 80MB is being used by system processes that are kept hidden. That's the only explanation I can think of, because computers don't seem to have a similar problem.
Dark Fire said:
I'm sure it has some use. Hard drives are never quite as big as they say because of things like pagefiles, file allocation tables, etc.
Maybe that hidden 80MB is being used by system processes that are kept hidden. That's the only explanation I can think of, because computers don't seem to have a similar problem.
Click to expand...
Click to collapse
I'm going to agree with you on that! No way they released all these phones with bad chips in them!
Sorry for posting another question relating to this.. I'm having a heck of a time trying to wrap me head around...
ROM: Cyanogen 4.2.10.1
I have a 4GB class 6 SD card in my phone partitioned (rounded):
3300MB fat32
500MB ext3
200MB swap
I'm have the userinit.sh in /system/sd as
Code:
#!/system/bin/bash
#
partition=3 #partition number of swap partition. Change if swap is not partition 3.
mem_limit_kb=14688 #default 14688 (15%). Range 0 - [size of swap partition], larger number = less 'normal' RAM, more 'swap' RAM
swappy=30 #swappiness. larger number = more likely to swap, smaller number = less likely to swap
modprobe ramzswap;
rzscontrol /dev/block/ramzswap0 --backing_swap=/dev/block/mmcblk0p$partition --memlimit_kb=$mem_limit --init;
swapon /dev/block/ramzswap0;
sysctl -w vm.swappiness=$swappy;
exit 0;
as per the Cyanogen wiki...
If I run "free" from the terminal I get
Code:
free
total used free shared buffers
Mem: 97924 96448 1476 0 2940
Swap: 24472 12940 11532
Total: 122396 109388 13008
What I'm having trouble understanding is "mem_limit_kb=14688". What memory is it referring to? The built in RAM?
If so, does that mean to put active programs into the remaning 80MB of RAM and store the "images/pages" of inactive applications into the 14688KB of reserved RAM for Compcache? After the 14688KB of Compcache is filled, should it not then dump everything to the Swap?
The reason I'm confused is that I have 200MB of swap partition, and yet I still load up the browser from memory and it reloads pages... Or is it reloading the page, just this time from a local cache (which would be silly)?
Finally, what exactly does "swappiness. larger number = more likely to swap, smaller number = less likely to swap" actually mean? I don't really understand that at all...
Its not a good idea having both enabled in the user.conf..One will be set as back swap while the other is be set to 1.
To be honest I have no idea.. heh. I just copied it from the Wiki.. To me it made a bit of sense running both... Compache to be first since it should be a bit faster than swap... Atleast that's how I saw it...