To try to make sense of my title, say we have 2 Hero cdma running the same rom. In linpack one scores 2.9 and one 4.9. Obviously hardware should be the same other than SD card. Can a fast SD card make that kind of a difference? What else can and is there a guide for optimizing our systems?
I get very confused as I switch between roms. Some roms won't run A2SD for me at all (while working great for other people) and some I have no problem with, so I'm kind of confused what I can get away with as I switch around.
Thanks,
Mike
I don't think SD card or a2sd should matter for linpack scores. What predominantly matters is CPU speed, JIT, VM heap size, how many widgets you have on your home screens, etc., and it might sound obvious but things that affect the overall "smoothness" of your phone.
Also, are you wiping ext before flashing a new ROM?
c00ller said:
I don't think SD card or a2sd should matter for linpack scores. What predominantly matters is CPU speed, JIT, VM heap size, how many widgets you have on your home screens, etc., and it might sound obvious but things that affect the overall "smoothness" of your phone.
Also, are you wiping ext before flashing a new ROM?
Click to expand...
Click to collapse
Yeah, I've been wiping everything. Haven't used JIT because I'm not sure what I need to use it properly. I've always been of the impression that it was dependent on A2SD which I can only ever get to work on Cyanogen roms. Also ignorant regarding VM settings and use.
Thanks for answering.
Related
Hello again community,
I am runnin the latest cyanogen rom, at a constant 528mhz with compcache enabled, and no apps2sd. While holding my girlfriends g1 with the stock rom, comparing the two, I can't believe how much quicker hers is than mine. Whether it be switching pages on the home screen, viewing settings in any app and the phones as well, scrolling through contacts, whatever it be... her phone seems to much quicker than mine. She even has more pictures and feeds on her homescreen than mine. Why is this? I'm constantly clearing java memory with memoryforlemmings and closing all apps (except for homescreen) with taskmanager. Should I try clearning anything like dalvik? Or reinstall the rom, wipe it and start all over? Any suggestions would be really appreciated, I'm pretty frusterated..
Thanks in advanced,
Mike.
Edit: Also, I forgot the reason why I'm most frustrated, her browser is blazin. Almost up there with the cliq. Mine, not so much.
nopotential said:
Hello again community,
I am runnin the latest cyanogen rom, at a constant 528mhz with compcache enabled, and no apps2sd. .
Click to expand...
Click to collapse
Get apps2sd, stop running at sonstant 528 thats silly do this instead.If you have setcpu or OC widget use these clocks:
Screen On:
Max-512 or 384(i use 384)
min-128
Screen Off:
Max-256
min- 128
Also try using a wesenger rom its faster than a standard cyanogen because of zipalign & ram-hack and other things..Try using no compache also, should notice a difference though.
Wow, after the rom install, what a difference on the home screen and browser. Maybe I'm just feelin it off the reboot, but if it stays like this.. ace I can't thank you enough. But I have one more question. I don't have that many apps, and I've never done apps2sd.. but will it really increase my phones speed? Thanks again!
Edit: And on cpu freq. I have a huge battery that I couldn't run out if I tried, so running at 528 doesn't hurt that. But its not gonna effect performance in a negetive way is it?
apps2sd will not increase your phone's speed. It will allow you to install more apps without running out of room. As many apps as your ext partition will hold--which, with even a 512Mb partition, is more than you could ever reasonably install, even if you always installed everything that looked even remotely fun or useful.
And no, setting your cpu to always max will not hurt performance. It helps performance. But the improvement is very minimal, at the cost of huge battery drain, and wear on your cpu. But, if you have a huge battery, go for it.
I've been reading mixed things about swap space. Is it required and if so..why? What does it do?
I'm running Cannon202 and really like it but it's 2.1.2 and I'd like to go up to 2.2 but am very pleased with the rom. I got my SD card partitioned and used the defaults in recovery...Are those fine..I'm using the..crap..its 1.7 something.
Also, I've had troubles with the UI crashing in the 2.2 version6 build of the....the one with a C..the long name one..sorry for not remembering names but I'm on my phone.
Anyway..any suggestions?
Sent from my G1 from the only app on my main homescreen.
its same concept as pagefile on windows...giving more avaialble ram..at the cost of slower performance (time taken to write to sd card is slower)
and possibly less battery life
Say no to swap, kids!
It just isn't worth it, especially if you're using a ROM with the *shudder* CM kernel, which will slow your phone to a crawl. CompCache is a much better option.
Just curious, I've been flashing the latest nightlies and in the cyanogenmod settings I see 'use compcache'. I have it unchecked, any difference if I check it. I found a you tube video about 2 phones running with and without compcache. Compcache seemed to load pages better over time, but not initially. Any help would be much appreciated
Copied from this post on another thread..
Very roughly you have a finite amount of memory (RAM). When memory is accessed it is virtual addressing, so an application is given a piece of memory, but this isn't real RAM, the operating system manages this and maps it to where the data really is. Because of this system, the OS can give out more memory than is actually available. It can then store some of this memory on a storage medium and "swap" it with some other programmes memory when one is needed and the other isn't. This is how swap works.
With compcache, instead of storing the dormant memory on a hard disk it is compressed and stored in the RAM itself on a virtual disk. This takes up some RAM, but because it is compressed, more RAM is spare tha n if the data were left in memory as it is. Again this has the effect that more memory space can be handed out than the RAM that is really there.
Because Android manages applications so that when memory runs out it just closes applications running in the background, more applications can reside in the larger virtual memory space than before, making multi-tasking more pleasant and responsive.
I know that nfinitefx45 took compcache out of his latest builds in both the Stock and ZenHeroFX ROMs. I don't know all the technical reasons behind it, but I think it just didn't improve performance enough to be worth leaving it in. Granted those are Sense-based ROMs though which are generally a little slower and "bloatier" in nature than AOSP, so the performance difference maybe be greater in CM.
chromiumleaf said:
I know that nfinitefx45 took compcache out of his latest builds in both the Stock and ZenHeroFX ROMs. I don't know all the technical reasons behind it, but I think it just didn't improve performance enough to be worth leaving it in. Granted those are Sense-based ROMs though which are generally a little slower and "bloatier" in nature than AOSP, so the performance difference maybe be greater in CM.
Click to expand...
Click to collapse
Thank you for the response, just wasn't sure. Since Darch left it unchecked, I figured I would ask
I'm looking for a fast ROM, battery is not so important, with JIT compiling that's stable....anything anyone can suggest?
Currently using Super AOSP (using it now, some apps don't run, otherwise stable). Radio=27.08, Haykuro SPL....
Most of the loads I've tried are either buggy or I can't load them for one reason or another (A lot of roms fail during load - is that my phone?)
I don't need a lot of bells and whistles, I do EMAIL, I do Web Surf and play an occasional game, but I don't really need lots of other things, I would gladly give up visuals for some increased speed - currently 2.6 MFLOPS (Linpack free).
Thanks.
best I can do for now....4 MFLOPS on G1
I think I found the best for me right now, Ginger Yoshi gives me 4 MFLOPS, which is not as good as I wanted, but I've set my sites lower.
It is very smooth - it does not feel refined, don't need it, everything works.
I can recommend SuperAosp, it is very refined, everything looks finished. It is not nearly as fast as Ginger Yoshi, but it is pretty and stable.
I did try several other loads, and I'm thankful that there are developers out ther, so I won't mention names, but at least one of these loads gets a lot of press on here and on my phone, I'd call it buggy.
Super Aosp and Ginger Yoshi are both stable.
It sounds funny, but try turning off JIT. It seems to make roms a lot more stable; I'd guess the G1 just isn't up to snuff for JIT. It makes benchmarks lower, but in practice it works much smoother.
Thanks for the reply!
I am turning off JIT...Then let the phone sit for a couple of mins to finish any housekeeping.
Ginger-Yoshi
JIT = Yes, Speed = 4.1 MFLOPS
JIT = No, Speed = 2.45 MFLOPS
Odd note, one of my non JIT runs ran at 1.6 MFLOPS, I didn't count it since it was so far out, not sure if there was housekeeping going on or what.
Second note, disabling JIT did make installations more stable - I was unable to install and sometimes download a specific application, disabling JIT allowed it to D/L and install.
Super-AOSP
JIT = Yes, Speed = 2.6 MFLOPS
1.6 Google - Rooted, speed to 528 MHz
2.4 MFLOPS
1.6 Google stock
1.4 MFLOPS
I've never run 2.0 or 2.1 so I don't know how they stack up, they do not have JIT, so maybe they are more efficient.
What I really wanted was a 1.6 OS with everything moved to the SD card AND JIT and CPU set to 528 MHz otherwise stock, I expect that is about as fast as this phone can go.
My limited experience:
I can't speak for anyone else but Super-Aosp and Ginger-Yoshi are very stable.
I tried several others that were not so stable, though they have lots of loyal fans, maybe their phones are better than mine.
I agree that we should be able to build a tight system without JIT that is faster, efficiency is the key.
A buddy of mine, has a very fast Android LG Optimus phone - it fly's he can run all sorts of animation, applications etc. and it doesn't seem to affect the speed of the phone...He runs 9 MFLOPS which is WAY above what everyone else with the same phone has...he told me that he isn't modifying the subroutines/calls, he's sort of linking scripts to make things run more efficiently. He's a physicist not a programmer.
He just constantly tinkers with it though - some bits are buggy, it's just a hobby for him, he has development tools right on the phone
My current Ginger-Yoshi runs just over 4 MFLOPS, which is less than I wanted but all I can find so far.
JIT is NOT a good match for this hardware, for the simple reason that JIT consumes more RAM.
What you have is a piece of hardware that is SEVERELY RAM LIMITED. Eating up even more of it causes necessary components to be booted out of memory, which ends up causing long periods of WAITING while those components RELOAD. It can also lead to instability, since the available memory will IN MANY CASES, be insufficient for loading even a single program into memory.
Counting FLOPS is a very poor measure of overall system performance. I would bet you that in terms of overall usability and wasted user time waiting, your phone will actually be FASTER with JIT DISABLED.
Ignore FLOPS. It is irrelevant.
dhkr234 said:
Ignore FLOPS. It is irrelevant.
Click to expand...
Click to collapse
I appreciate your argument and I 100% agree that the phone is ram limited, can you suggest another build that does not use JIT?
My current Ginger-Yoshi is faster and smoother than any 1.6 I've run (I have not run Super D, that was going to be my next target if G-Y was buggy).
That goes back to my original reason for this post...fast enough to play angry birds or whatever I'm doing.
You say to ignore FLOPS, that is the fairest test That I know for different phones,<Millions of> Floating Point Operations Per Second..that bypasses graphics co-processors and gets down the the meat of what's going on inside.
If you can suggest a ROM that runs better than G-Y I am very willing to try it, but right now the very best ROM I've tried is G-Y (not perfect but better than Anything I've run on this phone).
GolfnWrx said:
I appreciate your argument and I 100% agree that the phone is ram limited, can you suggest another build that does not use JIT?
Click to expand...
Click to collapse
I would expect that you can switch on/off JIT in your settings, so you can try if for you JIT helps or not. G-Y doesn't provide this? (Sorry for the question, but I've never tried it ...)
If there is no option within the ROM, you could add
Code:
dalvik.vm.execution-mode=int:fast
to you /system/build.prop to disable JIT, or
Code:
dalvik.vm.execution-mode=int:jit
to enable JIT.
Sent from my Gingerbread on Dream using XDA App
haha, sorry I guess I was not clear
yes, i can enable/disable JIT....what I was asking for though was a stable build that is faster than 2.5 MFLOPS.
There were some people last year that found a way to script one of the roms to be more efficient....IIRC they were able to get up to 3.7 MFLOPS....but I don't see them around any more....no JIT it was a rebuild of 1.6 I think..maybe 2.1, I just don't recall.
That might be the best way to go, or they might have hit an error...I didn't keep up with it.
Thanks for the reply though
So you want a script to spoof Linpack?
Sent from my Gingerbread on Dream using XDA App
dhkr234 said:
JIT is NOT a good match for this hardware, for the simple reason that JIT consumes more RAM.
Click to expand...
Click to collapse
Overall my opinion on JIT (vs. android version)
1.6 - caused some apps problems otherwise seemed the same w/ or w/o jit.. maybe more ram and slower
2.1 - extra ram caused problems with services and slow load times.. improvement at run time minimal.
2.2 - improvement at runtime noticeable but still high memory use and very slow load times
2.3 - incrreased memory use and loadtimes; but more minimal than earlier versions; with screen andimations off/fast perfomance may be acceptibal to many given the better performance of the browser and other higher processing tasks. [at least in a light weight rom]
(Of course this is my opinion durring use .. not a linpack score)
any one got the best way to setup a hero with cyanogen7?
looking to get the best of every thing from this rom!!
weirdfate said:
any one got the best way to setup a hero with cyanogen7?
looking to get the best of every thing from this rom!!
Click to expand...
Click to collapse
Unfortunately there is no definitive standard answer because everyone's phone's run a little differently. What works for me, may not work for you and vice versa....but here's some info to get you going. These options are under Cyanogenmod Settings.....
Overclocking...best max cpu settings will probably be somewhere between 691 & 748
Underclocking...can go as low as 19 mhz, but that may cause sluggishness when you wake your phone up, and also may give you problems with screen off music player, camera, & navigation problems. I usually have my min set around 264 (going from memory here..the Hero is home & I'm at work).
Governor....On Demand or Interactive seem to be the post popular governors....I use On Demand.
Compcache....mine's set at 18% per someone elses reccomendations after having some nav problems.
Enable JIT....Seems to be personal preference, try it both ways.
Surface Dithering....off
Allow purging of assets....Personal preference, try it both ways.
hockeyfamily737 said:
Unfortunately there is no definitive standard answer because everyone's phone's run a little differently. What works for me, may not work for you and vice versa....but here's some info to get you going. These options are under Cyanogenmod Settings.....
Overclocking...best max cpu settings will probably be somewhere between 691 & 748
Underclocking...can go as low as 19 mhz, but that may cause sluggishness when you wake your phone up, and also may give you problems with screen off music player, camera, & navigation problems. I usually have my min set around 264 (going from memory here..the Hero is home & I'm at work).
Governor....On Demand or Interactive seem to be the post popular governors....I use On Demand.
Compcache....mine's set at 18% per someone elses reccomendations after having some nav problems.
Enable JIT....Seems to be personal preference, try it both ways.
Surface Dithering....off
Allow purging of assets....Personal preference, try it both ways.
Click to expand...
Click to collapse
Id disable compcache. Read up on it. And keep jit off. Just makes system unstable with no performance gain.
Sent from Enrique Iglesias.
youdug said:
Id disable compcache. Read up on it. And keep jit off. Just makes system unstable with no performance gain.
Sent from Enrique Iglesias.
Click to expand...
Click to collapse
ya and the scren on/off animations dont like to work for me with jit.
do you know how to convert the file system and the other 2 to sae ext4?
weirdfate said:
ya and the scren on/off animations dont like to work for me with jit.
do you know how to convert the file system and the other 2 to sae ext4?
Click to expand...
Click to collapse
Why would you want to use ext 4???
Locked & Loaded
I say enable jit and enable surface dithering. Also enable compcache to 24. Try it for a day or two and see how it works.
Locked & Loaded
laie1472 said:
I say enable jit and enable surface dithering. Also enable compcache to 24. Try it for a day or two and see how it works.
Locked & Loaded
Click to expand...
Click to collapse
What is compcache?
Compcache (compressed caching) is , in short , virtual swap , setting aside a certain percentage (usually 25% ) of your RAM as 'compressed' swap. Compcache compresses the data that would normally go to swap, then moves it back into RAM, and reverses the process when moving it out of the 'compressed' swap. However, this is a classic space-time tradeoff . You effectively get more RAM from the compression , but it is slower than 'normal' RAM due to the CPU time required to compress and decompress the swapped pages.
wiki.cyanogenmod.com/wiki/Swap_and_Compcache
Surface dithering improves the quality of images but takes away from performance.
Try jit if u want. Some people say games run better but other than that theres no difference. All i had was instability when i just tried it again.
Sent from Enrique Iglesias.
youdug said:
What is compcache?
Compcache (compressed caching) is , in short , virtual swap , setting aside a certain percentage (usually 25% ) of your RAM as 'compressed' swap. Compcache compresses the data that would normally go to swap, then moves it back into RAM, and reverses the process when moving it out of the 'compressed' swap. However, this is a classic space-time tradeoff . You effectively get more RAM from the compression , but it is slower than 'normal' RAM due to the CPU time required to compress and decompress the swapped pages.
wiki.cyanogenmod.com/wiki/Swap_and_Compcache
Surface dithering improves the quality of images but takes away from performance.
Try jit if u want. Some people say games run better but other than that theres no difference. All i had was instability when i just tried it again.
Sent from Enrique Iglesias.
Click to expand...
Click to collapse
Ummm very aware of what compcache is and what it does. That's why I suggested he enable it. And jit has given me not one issue. Only improved my hero when I had it.
Locked & Loaded
laie1472 said:
Ummm very aware of what compcache is and what it does. That's why I suggested he enable it. And jit has given me not one issue. Only improved my hero when I had it.
Locked & Loaded
Click to expand...
Click to collapse
Guess its all in what u do wit ur phone. Wasnt saying u dont know what it is but disabling it would give u the best performance. But if u need the extra bit of ram it creates then go for it. Did you actually see a gain with jit tho? Ive used it bunch of times for days at a time and seen no gain. Just random reboots n lag that i never had a problem with before or after i enabled it.
Sent from Enrique Iglesias.
youdug said:
Guess its all in what u do wit ur phone. Wasnt saying u dont know what it is but disabling it would give u the best performance. But if u need the extra bit of ram it creates then go for it. Did you actually see a gain with jit tho? Ive used it bunch of times for days at a time and seen no gain. Just random reboots n lag that i never had a problem with before or after i enabled it.
Sent from Enrique Iglesias.
Click to expand...
Click to collapse
I could be wrong but I think jit has a lot to do with how much mem you have free. " I think " I was running data2ext ext2 on a 16gb class 4 sd and a 2048 ext2 partition with the boost added and jm's 806 kernel oc to 768 max and 691 min. When ever I turned jit off I would notice a big difference in app loading, scrolling in apps,web page loading, animation and transitions. Boot time was a lot slower as well. But with jit on I automatically notice a speed gain in all of the above. Its true though no to phones are alike so its a hit or mis with it. I was one of the lucky ones were it actually benefited me. Also with comcache any amount of ram gain on the hero "Imo" was a plus.
Locked & Loaded
laie1472 said:
Why would you want to use ext 4???
Locked & Loaded
Click to expand...
Click to collapse
not sure but i got faster startup and a bit better performance out of my samsung transform with a coverted system to ext4
Are you planning on using a certain mod that requires ext 4??
Locked & Loaded
laie1472 said:
Are you planning on using a certain mod that requires ext 4??
Locked & Loaded
Click to expand...
Click to collapse
no not at this time
just thought id ask cause i always swapped the systems to either ext3 or 4 and it got me better startup and such (from what i saw) on my transform
Well from my knowledge on data2 ext. Ext2 was faster but ext 4 was safer. In terms of data loss and battery pulls. But I've always used ext2 and have pulled my heroes battery several times and never lost any data.
Locked & Loaded