system tuner individual cores in widget? - Sprint HTC EVO 4G LTE

hey i just got the system tuner pro app and have been poking around with the widgets and cant figure out how (if you can) get the widgets to display the usage stats of an individual core. i have been trying to do this because i have been messing around with the overclock settings that have recently been released and now i cant tell if the second core (cpu1) is active at all because in system tuner it always displays it as offline even in the performance governor. so since the app tells you the frequency of the individual cores and tells you when its offline and such (but doesn't keep a log) i thought maybe i could get a graph to display cpu and cpu1 individually to see if when i stress the phone in a game or something that it will kick on. any help is appreciated
Edit: Well i got the second core to go online but it would still be nice to know if i can get a widget to show the individual cores

Related

[Q] Dual Core /proc/stats

I've been working on building a dual core cpu meter for the atrix. I have a very very basic APK that reads your /proc/stats and displays it. I have noticed that on launch cpu 1 shows up and exists but after a few ticks, it's no longer there... I'm not saying that the phone isn't using it. I'd simply like to know why it's disappearing.. Sorry in advance if I posted in the wrong forum.
Edit: Is it safe to assume that since the core isnt being shown in the proc stats at certain intervals that the core is being put into a sort of 'standby' mode until a thread is passed to it? If so, could I default that core to 0% cpu usage when not shown.
Just a thought - do something to up your CPU, maybe spawn a couple processes to eat up some CPU cycles and see what happens?
mister_al said:
Just a thought - do something to up your CPU, maybe spawn a couple processes to eat up some CPU cycles and see what happens?
Click to expand...
Click to collapse
To max out kernel CPU time
cat /dev/zero > /dev/null

Best app to track "Awake" activity

Ok for the life of me i don't know why I'm getting a solid Awake bar when my screen is off. I've tried using Watchdog Lite but it doesn't warn me about any unusual activity so I guess I have to use some sort of activity logger to monitor the behaviour when my screen is off
What's the best app to do this?
search CPU SPY in the market
Hmm does this app actually shows what app running in the background is contributing to the CPU usage? Seems like it only lists the amount of time spent in each CPU frequency...
Try this:
http://forum.xda-developers.com/showthread.php?t=1139927
Best app I've ever used for this is Watchdog. It measures every app, including native processes versus cpu usage over time. This makes tracking down that rogue app very easy. The paid version adds a blacklist feature so that any app using more than X% of cpu automatically gets killed.
How do I interprete all the data in Watchdog Lite?
At the "Stats" tab there is
CPU% in background Android apps => What's this mean?
Also...
CPU information: User 9.8%, Nice 0.2%, etc.. What all this mean???
Watchdog is a total overkill if you just want to check your cpu clock speeds.
Take the advice from post #2 and install cpu spy.
Edit: Just realized you wanna see the Apps. I tried watchdog for that, but it leaves out several, so I don't think it's very accurate.
cpu spy
Interesting app, this CPU Spy
However as expected, it only shows the state times, not really useful for tracking a rogue app isn't it
More useful for overclocking apps
So CPU Spy or Watchdog none can do the purpose, right? I also need to see what the damn running in background which is making my phone awake and unnecessary battery drainage! I have no apps set on Auto Sync/Refresh, No widgets...!
System panel really is the ultimate app to track each app CPU usage. Paid version, enable monitoring.

Best CPU Usage App?

What's the best CPU usage app for the Prime? I want to see how the Tegra3 is being used by FPse.
System Panel is pretty good. Turn on monitoring mode, do your stuff, then come back and look at history.
cpu usage
I came across your post looking for answers to another question but my question answers yours. In the settings, if you're running ICS, there's a development option that includes a CPU usage overlay. I love it, my question and I haven't found a single mention of it so far, is why doesit show 3 percentages???? Why not 4 or 5?
I've been trying to reach a buddy with a soon to see if his CPU usage shows 2 percentages for the 2 cores.
Its a pretty slick app though
Noxious Ninja said:
System Panel is pretty good. Turn on monitoring mode, do your stuff, then come back and look at history.
Click to expand...
Click to collapse
This one is good but the best one out of them all is System Tuner. Does all that n more.
Not quite the same but there's a Linux style load average monitor built into the Prime. Go to Settings->Developer Options and check the option labeled "Show CPU usage". This overlays a load usage monitor in the upper right hand of the screen.
To understand the numbers go here:
http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages
How About Elixer2
https://market.android.com/details?id=com.bartat.android.elixir

Need help: investigating dualcore cpu0 cpu1 system coordination

Hi, all!
Some people, like me, may have downloaded a cpu-monitor app like System Tuner then notice their second cpu (cpu1) always appears offline.
First off, I recently realized that that is often inacurate. Using another app like SystemPanel would show both cpus being online, and more importantly, checking sys/devices/system/cpu/cpu1/online would show it's "1" indicating online. Many cpu app's inability to read cpu1's info is because "cpufreq" folder is missing from cpu1 folder (if you check cpu0's cpufreq folder it's always there).
K, now also, some poeple like me, thought cpu1 was really offline, and used System Tuner's "Force all cpus online" option, and viola, after reboot the second cpu showed up. But why? Cuz a "cpufreq" folder is found in cpu1 again.
What is interesting is both files "affected_cpus" and "related_cpus" would show "0 1" meaning core 0 and core 1 are in sync and both coordinated simultaneously. if you change settings(freq,governor,etc) for one core it automatically changes the other.
Now here's the tricky part, however after the tablet goes to sleep, when I wake it, cpu1's "cpufreq" folder would disappear again, meaning Sytem Tuner would show cpu1 agains as "offline". But if you chekc "online" file in folder you'll see it's still online ("1") and SystemPanes still shows cpu1 activity. However "affected_cpus" and "realated_cpus" will show only "0" meaning only cpu 0 is in this categoty and cores are no longer in sync.
Conclusion: so far what I deduced is my tablet in its default state has both cores online, but are off-sync. After turning on "Force all cpus online" and rebooting, they are both online and in-sync. After the device goes to sleep and wake, the two cores are still online but now off-sync.
The important thing about this investigation is how much it affects 3D performance. I was always confused why my device lags with a aged-game like Counter Strike portable but is perfectly smooth in a consol-quality game like Mass Effect Infiltrator. My current thought is Mass Effect acttively tweaks your cpu while most other games leave cpus as they are.
Benchmarking (using market benchmark apps):
(First off, the FPS difference may seem small but in running the actual games for some reason it made a enormous difference, often the difference between crashing and not crashing/playable or unplayable in Nova3/Shadowgun)
Default, newly flashed rom: FPS :33 (Some games fail to load graphics properly for some unknown reason)
Turn on "Force all cpus online" with Sys Tuner: FPS 39-40 (All games are silky smooth, no errors, tablet temp hotter)
"Force cpus online", then after wake from sleep: FPS: 33-34 (not as smooth before sleep, but games generally load properly)
**Switching my cpu0 gonernor to the same governor I think cpu1 is using: FPS 35-37 (no errors, almost as smooth as "Force cpus online")
Here's a crappy surprise --Cpu1 off (turn off dual core): FPS: 39. (Completely smooth, zero errors, hottest tablet temp)
**after cpufreq folder disappears from cpu1 I cannot be sure which governor cpu1 is using, but checked with Kernel Tuner and believe the system switch it back to "performance2" which is a governor foudn in my tablet.(it it not like "performance" governor) upthresh 60 downthresh 30 freqstep 5.
Conclusion:
This leads me to the conclusion that having both cpus online does not necessarily improve performance, but if the two cpus are off-sync it definitely BUTCHERS performance. It does so so badly that running one core is actually better. Having both cores run the same governor also seems to help somewhat.
Need help:
I hope the info so far may helped some people, but the help I also really need is someone to tell me how are "affected_cpus" and "related_cpus" controled by the system? So far I had no sccucess modding their values and forcing cpus to "sync". I enter "0 1" but it doesn't go through. Since having the cpus in sync seems to give good performance and lower temp (single core was good but temp was noticeably high), I want my cpu cores to remain in sync, but currently it undoes the sync after waking from sleep. I need to understand how and why the system somtimes decides to coordinate both cpus synchronously so both cpus appear under "affected_cpus" and "related_cpus"?
Thanks to anyone for reading!

Increase your battery life and.......

I made a lot of experiments trying to squeeze most of my GT-I8552 battery & RAM, and finally I reached those results by the below strategy (please note that this will be just strategy/tips, not detailed steps), and on ROOTED STOCK ROM It currently gives me:
1) Average Screen Off Discharging Speed 0.3-0.5%\hour (so battery needs 200 hours to discharge, or more than a week!)
2) Average Screen On Discharging Speed Between 10%-20%\hour (no Gaming) (so working hours about 8-7 hours)
3) Free RAM after full startup 65%.
(I gathered those statistics by setting Tasker to calculate them for me).
Battery Tips:
So to see almost a perfectly horizontal line of your battery discharge during your sleeping, you will need:
1) Rooted Stock ROM (I tried this on KitKat latest version).
2) Greenify.
3) Tasker
4) Your brain and some work.
OK to get most of the battery, do the following:
Remove all LG & Google Bloat ware; search XDA how to do that.
Disable all animations in you Settings-> Accessibility, this will save our battery and make apps faster.
Now all of the work should be done in Tasker, I assume that you already know how to work in this thing, if not search XDA there is a lot of tutorials...
Once your screen is off, do the following in Tasker:
Turn off the following : WIFI, Bluetooth, GPS, Auto Sync.
Greenify all bad behaving apps, after that use tasker to force close many of the bad behaved one (you should experiment with this).
Down Clock your CPU, for some reason my device reboots unless I set Governor to conservative or onDeman, so here we put it on conservative, with CPU clock between 300 and 652 MHz, there is no need to make it lower, because it gives no better battery life, and it makes wake up time longer.
Those steps are enough to make sure that you will lose about 0.5% per hour only! (my CPU needs about 5-10 minutes to enter deepsleep, this means that your battery drain during this time will more than 0.5%)
On screen ON, you need to immediately set back your CPU to onDemand mode, otherwise it will lag, actually I made 3 profiles for CPU, low (during screen of), medium (when screen on), and high (during gaming), so here I set the OnDemand with frequency 300-1190 MHz, and you will not notice any lag with those settings, also you need to set the maximum priority for the Tasker profile that will do this, well actually I made my own Lock Screen by Tasker screen so that tasker will stay foreground app and has best CPU priority, so swapping CPU profiles will be quite fast and you will see no Lag.
Also I set a periodic sync, when screen off each hour my phone wake ups and turning on wifi (or 3G if I’m out) and turning on AutoSync for couple minutes, and then turn all those things again to enter DeepSleep (step 1).
you need to make a good Screen brightness management in Tasker, there is tutorials on line for that.
Finally, during working, I set many specialized profiles for different apps I use a lot, for example, you don't need AutoSync when you are talking by phone, or reading a book, also when reading books, you don't need high CPU frequency, so I lowering it down, all this tweaks needs some work, but anyway you it will give you considerable battery gain, and you will see that the application that you really using a lot are not more than 10 apps.
I would like to note that I tried many ways to optimize this (except trying different ROMs) like playing with application's wake locks, but nothing worked as good as this strategy for me, if you have some more suggestions it will be great.
RAM Tips:
Many of us trying to make our phones customized and more beautiful, but after a lot of tries I found that all those things only making things worse, even for a monster like LG G2: I tried almost 99% of Launchers available on store, and all of them are very bad in scene of resource usage, for example the most beloved Go Launcher, having 200+ apps, and 3 pages of widgets, uses about 150 Mb. of RAM, this is too much, considering that android itself using about 200Mb. in worst scenarios, even the launchers that claims to be very efficient like Lightning & ssLauncher, that is not true, because once you install them, they indeed use too little at the beginning, but once you customize them and will add widgets, objects to them, they will jump up to 100Mb., well this still is better anyway than Go Launcher.
So to be short, the best one in terms of memory usage, is definitely, and without any competition, is Smart Launcher, it seems that it has a unique possibility to draw/load the widgets on demand (you can add them on special pages) and once you go back to main screen, it will free up used memory in minutes, that's really great, because this launcher on average uses only 50Mb. whatever the widgets you use!!
Also I would like to note that most Lock screens are very memory hungry, I tried lot of them, and none of them used less than 40Mb.!! so it almost like a second launcher! even the best of them like widget Locker or C-Locker! that why I made my own by Tasker itself, but note that after designing a scene in Tasker, it will use a lot of memory (70-80Mb.), and for some reason doesn’t free it unless you restart Tasker, and fortunately after that it will use not more than 20-30Mb. even when the scene is visible! so considering other things Tasker is doing, it's pretty low! so I highly recommend this.
Also any programs like recent app's viewers, side bars, screen buttons etc.. are also very memory hungry, I tried a lot and none of them really efficient, don't dream to get one with less of 50Mb. usage! so it's better, in my tests, "on screen buttons" are the best one with about 10-15 Mb. usage in case you don't like the navigation bar as me))
Dear Axit,
Where did you get the stock kitkat rom for GT-I8552.
Sent from my GT-I8552 using Tapatalk
devesh9 said:
Dear Axit,
Where did you get the stock kitkat rom for GT-I8552.
Sent from my GT-I8552 using Tapatalk
Click to expand...
Click to collapse
Not KitKat..wrote that by mistake..:silly:
ohk
it looks good

Categories

Resources