yashsingh1/xdaforums huggingface dataset:
[HTC One X+] saibz:
Not sure if the phone turned off or the display just won't turn on. I uploaded the last_kmsg to dropbox I can't seem to attach a file using the mobile browser.

http://db.tt/l29ujIS0
[HTC One X+] :
Difficult to say. Looks like it tried to do an ordinary suspend, but the log just ends. There's no kernel panic. I have no idea what caused the device to sleep like this. It's not something I've seen before
[HTC One X+] saibz:
Ok thanks, it hasn't happened again, I'll just upload the last_kmsg if it ever does.
[HTC One X+] :
v1.4 is here: http://d-h.st/BVA

CoreManager.apk is here: http://d-h.st/HJg

-easy app for setting the number of cores

-allows setting of fast-charge toggle and charge limit

-now remembers settings!

Please grant super-user permissions

My kernel config

-GPU OC

-Slide to Wake [S2W]

-NO-OP IO scheduler

-No hotplugging

-Power saving companion core not active when screen is on (prevents lags)

-Companion core active when screen is off (higher speed cores not allowed)

-User defined core activation (use the above app)

-smartmax governor by maxwen (tuned for performance)

-limited to one core by default

-enabling more cores adjusts the cpu frequency governor parameters automatically

-when the camera is activated, a minimum of two cores will be available for smooth video recording

-added fast-charge to kernel (thanks maxwen!)

-added BLX (thanks ezekeel)

-added ticket based rwsem algorithm and google's tcp proportion rate reduction algorithm

-added cifs

-disabled fsync

This release disables fsync for faster database operations (specifically inserts). You can test before and after with RL benchmark on the app store. This tweak can, in unlikely circumstances, corrupt data if a reboot happens while data is being written. However, I had 400+ hours with no reboot on v1.3 so I'm happy there are no stability issues that would cause a random reboot.

Also minor updates to the smartmax governor, and to fastcharge --- thanks to maxwen, who PM'd me to let me know about the critical updates! How nice is that? :)
[HTC One X+] raymon73:
I have installed ncore manager, and charging limit set on 100% , and still it is charged till 80%, how can I change that.
[HTC One X+] Notechis:
I am using Trickster and have no problems so far. I set limit to 98 % without issues. Even cores and frequency is working well. Very smooth...

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] :
You need to select save and exit to apply the new setting. Assuming you did that, there might be a requirement to unplug and replug your power source. If that doesn't help try rebooting your phone, because the settings will return to their defaults after a reboot (in this case, don't use save and close on the app because that would restore your old settings).

Let me know how you get on.
[HTC One X+] ratcom:
after almost 24 hours of running version 1.4 ....... no issues and super smooth :victory:
[HTC One X+] adamkx7xdesire:
Before I do something wrong I want to ask about scripts from http://xdaforums.com/showthread.php?t=2217613 ...

I want to enable 4x1.7Ghz and -75 UV :) but will those scripts work with this kernel? And is it safe?

Also I don't understand why after setting 2 active cores on ncore manager the other two are not enabled in 3d games or AIDE or other multi core apps? what if I uninstall this app will the setting go back to default?
[HTC One X+] :
If you enable all four cores on this kernel the max frequency will be 1.6GHz, as I'm trying to stay pretty close to stock where possible.

The number of cores you set in the core manager app fixes the number of active cores. They won't go offline, but no others will wake up. It was deliberately made this way because hotplugging seems to be a massive resource hog.

Edit: sorry, to also answer your uv question, I won't be adding the ability to undervolt because I've done a lot of research on it and found it puts a big question mark over stability for a negligible gain in battery life
[HTC One X+] adamkx7xdesire:
ViperX+@/# exec sh '/storage/sdcard0/Scripts/quad.sh' /storage/sdcard0/Scripts/quad.sh[2]: can't create /sys/module/cpu_tegra/parameters/enable_oc: No such file or directory... so the script doesn't work anyway.. or I'm doing something wrong ;/
[HTC One X+] :
That's normal. The script can't work with my kernel because I don't provide that facility.
[HTC One X+] Notechis:
Now I am testing the core manager a bit more and freeze Trickster... to see if there are differences ...

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] :
have you got a link to this trickster app? I want to check it out
[HTC One X+] adamkx7xdesire:
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod
[HTC One X+] Notechis:
The app is good, but I think my phone is faster with your core manager with the same settings. Tomorrow I will run a little test...

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] Notechis:
RL benchmark : Insert Coin latest release desensed

Trickster around 17 sec.

Core around 19 sec.

Rgds

Gesendet von meinem HTC One X+ mit Tapatalk 2

---------- Post added at 01:54 PM ---------- Previous post was at 01:53 PM ----------

Feeling and benchmarcs are strange:D

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] :
You've got to run it several times to get an average
[HTC One X+] Notechis:
I did that... That is the middle for my device..

Your kernel give the device the power to unleash his brilliance

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] Notechis:
I did some retests over the day, with some reinstalls... Now I got same results. However I have less to select I switched to Core Manager

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] ryanjsoo:
The script will only work with blade and elite kernel as blade kernel is the only kernel that implemented it and elite was recently updated to incorporate all blade kernel features. UV is actually not used for battery gains with the one x but to decrease heat, the X+ expecially as it is a variant 4 tegra 3 will support undervolting up to 150mv or more on most frequencies, however it is ussually said that 75-100 is stable.
[HTC One X+] Kassim.d:
Hi bedalus thank you for this great kernel. I have a small issue though, sometimes when the phone goes to sleep and i turn it on and i pull the ring up it doesnt respond at first i have to do it again... I dont have that in stock kernel is it normal?

Thank you !
[HTC One X+] :
Just for clarification, when you wake the device, the ring doesn't move?
[HTC One X+] Kassim.d:
Yes at first ! But directly after it does i havent tried to see if other do move it sort of happens after deep sleep
[HTC One X+] :
I guess it's because the low power cpu goes offline only when you wake the device. It's probably not as responsive as the stock demand-based system
[HTC One X+] Kassim.d:
It cant be fixed in any way ? I find it a bit disturbing !! ur kernel is so much better then the stock one
[HTC One X+] :
I imagine I could fix it by lifting the limits I put on the cpu behaviour, but I put those limits there to prevent excessive hotplugging.
[HTC One X+] Notechis:
Well. Some more days of testing...

Trickster does not take always the settings of cores... and frequency... Your core manager is pretty stable for your kernel...

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] laurab4369:
I test this kernel and i have a question about core manager.

What is the best setting ?
[HTC One X+] Notechis:
For normal usage, Energysaver and four cores are fast and the drain us perfect

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] laurab4369:
Ok i activate 4 cores and energy saver.

Thanks for help me.
[HTC One X+] :
In general you want the minimum number of cores that it still runs smooth, in order to save some power. I wouldn't bother with energy saver to be honest
[HTC One X+] Notechis:
You can use cool tool to show cpu activity upside. One core is working for a lot of actions, scrolling is still fast. But if you open Chrome e.g. there is less power... With 2 cores and a cap I can do almost every stuff smooth... Chrome loads with 1000 mhz and with 2 cores I have around 60 % usage

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] :
Yes I noticed chrome runs a little slow with one core. I can cope with it though.
[HTC One X+] Notechis:
So. Everything is settled... Four cores this Week and a cap... Which sometimes not work :) but see selves

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] :
Sorry, I'm not sure what you're trying to tell me?
[HTC One X+] Notechis:
You. Nothing special... More in general, perhaps that 2 % drain with enabled 4 cores are t that bad ;) So that means that performance and drain are currently perfect for my settings

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] adamkx7xdesire:
I don't know is it a kernel issue or rom but sometimes, between everything running smooth with low cpu usage, after a while got some lags on screens / apps / games with high cpu usage without any reason ;/ it seems to be a random thing ... probably connected with governor ...

I've tried to find the best cpu settings and mostly 2 cores and 1500MHz is smooth everywhere..

on one core there are more lags.

4 cores activated and 1700MHz are probably the most unstable configuration o.O but 4 cores and 1150MHz seems to be ok but still has some unstable moments..

On elite kernel this problem also exist in a very hard version including reboots freezes etc (very unstable kernel for me)

Does anyone have similar problems?

Anyway I'm very happy user of this kernel :)
[HTC One X+] Notechis:
You cant run 4 cores with 1700 that is the reason to be unstable

1 core with 1700

or 4 with 1600 ;)
[HTC One X+] :
I'm going to push out a new version in the next day or two. I'm trying some more experimental tweaks
[HTC One X+] :
v1.6: http://d-h.st/0Aa

CoreManager.apk is here: http://d-h.st/HJg

-easy app for setting the number of cores

-allows setting of fast-charge toggle and charge limit

-now remembers settings!

Please grant super-user permissions

My kernel config

-GPU OC

-Slide to Wake [S2W]

-No hotplugging

-Power saving companion core not active when screen is on (prevents lags)

-Companion core active when screen is off (higher speed cores not allowed)

-User defined core activation (use the above app)

-smartmax governor by maxwen (tuned for performance)

-limited to one core by default

-enabling more cores adjusts the cpu frequency governor parameters automatically

-when the camera is activated, a minimum of two cores will be available for smooth video recording

-added fast-charge to kernel (thanks maxwen!)

-added BLX (thanks ezekeel)

-added ticket based rwsem algorithm and google's tcp proportion rate reduction algorithm

-added cifs

-disabled fsync

-switched to BFQ v6

-enable zcache

This !update removes JRCU (see posts above, it was causing deadlocks)
[HTC One X+] maxwen:
And I just removed it again :)

But just give it a try: I think JRCU is responsible for the

dedalock problem in the network stack. At least after removing

it I got no new report about it
[HTC One X+] :
Cool. I've been testing it for a couple of days myself, no issues so far. Any idea how to provoke a lock-up?
[HTC One X+] maxwen:
this is an absolute timing issue

and very random

reporters did things that cause heavy network traffic like USB tethering torrent clients or during browsing

also on elite kernel it has been reported
[HTC One X+] :
I'm just running a BFS version at the moment, so I've changed rather a lot in one go... But I'll smash the network usage to see if it holds up. If not, I'll revert jrcu first. Thanks for looking out for me!
[HTC One X+] laurab4369:
I use core manager with 4 cores but i don't know the MHz.
[HTC One X+] Notechis:
You can download "Cool Tool" to display anything you want on the top line ...
[HTC One X+] :
CPU Spy and CPU Stats are good for seeing what's going on. Personally, I use 1 core for everything. I haven't felt the need for four cores yet. The only game I play is Asphalt 7 and it isn't significantly faster with four cores compared to one.

Just to note, I haven't messed with the default frequncies so when >1 core is active, the freq limit is 1.6GHz
[HTC One X+] laurab4369:
With cpu spy, i'm in 1700 MHz with one core or 1600 with 4 cores.

When energy saving is active, 1 or 4 cores =1300 MHz.
[HTC One X+] Notechis:
More and more satisfied... 70% after 15 hours, 1,8 % drain at 2 cores ...

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] laurab4369:
You use 2 cores and power saving?
[HTC One X+] Notechis:
Sometimes, but not this day.... 1600 mHz with 2 cores. But the new base seems to be good,too.

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] laurab4369:
What is the best configuration for no lag and best battery life?
[HTC One X+] Notechis:
Hard to say... Bedalus has less issues with 1 core, I uses 2 cores normally and sometimes with a cap. ( between 1150 and 1300 mHz). That is my favourite config

Gesendet von meinem HTC One X+ mit Tapatalk 2

---------- Post added at 10:37 PM ---------- Previous post was at 10:34 PM ----------

If you use chrome as browser 1300 mHz is better, you have some reserves at cpu. Usage is around 80%

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] :
BFS version seems top be running rather well, so there will be another release to play with soon
[HTC One X+] :
I've just run vellamo with one core full speed against 2 cores limited to 1.3GHz and the results are about equal. I would just stick to one core
[HTC One X+] Notechis:
Hi bedalus, I ran Vellamo,too.

Got a significant better score with one core, just as Info....

300 Points more Html5; other is 80 difference.

Gesendet von meinem HTC One X+ mit Tapatalk 2

---------- Post added at 12:36 AM ---------- Previous post was at 12:07 AM ----------

Now I did some real life testing... Some aps aren't smooth with 1 core like Facebook for my Tegra Variant.I think for around 80% off apps one core is enough.

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] :
maybe it's because I'm using the BFS version we're getting slightly different results. I only ran the benchmark once. Really to get a good result it needs to be run >10 times then you can get an idea of true averages and consistency for each test. I used to do a lot of that sort of thing, but ultimately the best way to decide is to get used to a specific configuration over a few days then try a change to see if it feels better or worse.

If nothing feels different it might be that the change to the configuration made only a tiny difference. Thorough benchmarking can help show these tiny differences, and if you make enough of these little tweaks they can add up to a noticeable difference.
[HTC One X+] :
http://xdaforums.com/showthread.php?p=41205069#post41205069

I've added the BFS version to the most recent download post
[HTC One X+] laurab4369:
I don't understand the difference between BFS and CFS.
[HTC One X+] Notechis:
bfs and cfs are scheduler

Completely Fair Scheduler and Brain **** Scheduler. They handle CPU instructions ....

BFS seems to be a little more optimized and more "slender"
[HTC One X+] :
Here's Con Kolivas' notes https://github.com/bedalus/hxore/bl...467ba5a/Documentation/scheduler/sched-BFS.txt

(he wrote the BFS algorithm)
[HTC One X+] tuancanlc94:
I tried v1.5 BFS with Elegancia 6.0. It had many many lag.Tested in fruit ninja game
[HTC One X+] :
I downloaded fruit ninja free, it works fine on ARHD on any number of cores. What sort of lags are you describing?
[HTC One X+] maxwen:
they are process schedulers

they decide how much resources (CPU cycles) a process will get at a specific time
[HTC One X+] TatoValverde:
Hello, I was using nik3r's Elite Kernel up until today, and I was also using his DataSwap mod, which I find to be very usefull.

The thing is, today I decided to try out your kernel, and when I did, I found out that my Swap wasn't working. I tried to re-flash the Swap mod, but it is still not working.

Is it not compatible with your kernel?

It it isn't, is there any way you could make your kernel compatible with the mod?

Thanks!

And great job! Other than this problem, everything seems to go very well :)
[HTC One X+] :
It requires a change in the ramdisk. I'm sure I can sort something out for the next release.

In other news I realised that the BFS version doesn't work! I thought it completed compiling (it sort of did - it got right to the last step) but actually it failed, so the previous version went into the kernel img instead. :o

I then tried my level best to fix it, but it's not a simple fix, so it'll take some time, or I'll have to abandon it. :(
[HTC One X+] laurab4369:
I flash bfs version with stock configuration. 8 hours later my phone freeze and reboot during internet navigation.
[HTC One X+] maxwen:
provide last_kmsg else noone can help
[HTC One X+] :
If you haven't rebooted it again since then please copy and paste /proc/last_kmsg to /sdcard then upload it somewhere for me. Then I can see what caused the crash. Thanks!
[HTC One X+] laurab4369:
New reboot today : View attachment 1960971
[HTC One X+] laurab4369:
Another one: View attachment 1961090
[HTC One X+] maxwen:
[MENTION=4128576]bedalus[/MENTION]

that is JRCU :D

---------- Post added at 03:46 PM ---------- Previous post was at 03:45 PM ----------

same
[HTC One X+] TatoValverde:
By the way, I don't know if it is a known issue, but your Kernel (last update, without BFQ) didn't go into deep sleep over night, and it drained about 15% of battery in 9 hours (instead of 3%, like Elite kernel). Maybe it was because I had the alarm set up, but elite goes into deep sleep without any problems.
[HTC One X+] laurab4369:
What's jrcu?
[HTC One X+] TatoValverde:
A feature added in the latest release. It is explained in this post:

http://xdaforums.com/showthread.php?p=41205069#post41205069
[HTC One X+] :
[MENTION=4683552]maxwen[/MENTION]

From 9th May:

Hmmm, deadlock. You totally called it! Any suggestions for alternate RCU or shall I go back to stock?
[HTC One X+] laurab4369:
So this feature is the problem and the kernel must have a correction?
[HTC One X+] :
I wonder if you are getting BFS and BFQ mixed up. But yes, the last update should sleep fine. I use mine as an alarm and don't have that problem.

I'm going to revert jrcu and upload a new kernel later. Maybe it will behave properly!
[HTC One X+] maxwen:
stock

actually I don't want to mess with this in the near future since it took me weeks to realize that the problem comes from JRCU :)
[HTC One X+] :
I'll consider going back to stock, but I want to mess with this first: https://github.com/roqu3/Kernel-Pecan-2.6.32/commit/e0d6d556076c424a6ed9eb6cdbaf44d13e18a7d0

EDIT: It's !SMP dependent so I'm sot so sure now

EDIT: Yeah, that's definitely not going to work. I'll have a bit more of a look around, but it's looking like it'll be stock! That doesn't do much for my urge to tinker.

EDIT: http://lwn.net/Articles/541037/ Yes, again, further confirmation for sticking with stock

Thanks maxwen!
[HTC One X+] :
http://xdaforums.com/showthread.php?p=41205069#post41205069

kernel !update
[HTC One X+] :
Sorry I didn't see your question until now, but I guess it's already answered. But to clarify: JRCU is short for Joe's Read-Copy-Update, that is a streamlined RCU but unfortunately doesn't seem to play nice in our kernel. A streamlined version would be nice because it's a heavily used algorithm that helps deal with simultaneous access to data
[HTC One X+] :
This guy is building linaro toolchains with various optimisations, so I'm going to test, but I want to share because he seems like a nice guy, check out his thread: http://xdaforums.com/showthread.php?t=2098133
[HTC One X+] :
v1.7: http://d-h.st/C9c EXPERIMENTAL

CoreManager.apk is here: http://d-h.st/HJg

-easy app for setting the number of cores

-allows setting of fast-charge toggle and charge limit

-now remembers settings!

Please grant super-user permissions

My kernel config

-GPU OC

-Slide to Wake [S2W]

-No hotplugging

-Power saving companion core not active when screen is on (prevents lags)

-Companion core active when screen is off (higher speed cores not allowed)

-User defined core activation (use the above app)

-smartmax governor by maxwen (tuned for performance)

-limited to one core by default

-enabling more cores adjusts the cpu frequency governor parameters automatically

-when the camera is activated, a minimum of two cores will be available for smooth video recording

-added fast-charge to kernel (thanks maxwen!)

-added BLX (thanks ezekeel)

-added ticket based rwsem algorithm and google's tcp proportion rate reduction algorithm

-added cifs

-disabled fsync

-switched to BFQ v6

-enable zcache*

-JRCU with spinlocks

The previous version removed JRCU. This version brings it back, but with spinlocks. The idea is to merge some of the updates from Joe's work for the 3.6 kernel, but retain compatibility with our 3.1 kernel. I've been testing it personally for over 24 hours, and haven't had any issues.

*zcache was already enabled but not active (thanks to maxwen again for pointing this out). It is now active, and I have been testing it for seven hours now, and it seems fine. There's statistics available in /sys/kernel/mm/zcache although I haven't yet researched what they mean.

Personally I'm finding this version to be fast and smooth, so hopefully if people are willing to test, together we'll be able to judge whether it is stable or not.
[HTC One X+] zboq:
Looks like Dev Host is down at the moment :/
[HTC One X+] Notechis:
Everything seems to work quite well for the moment.

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] zboq:
Tried again and still no go. Even Tried on my phone over 3G and still doesn't work :/
[HTC One X+] laurab4369:
For me it's ok:good:
[HTC One X+] zboq:
Ok, it works now ;), thanks
[HTC One X+] :
Test abusively!
[HTC One X+] :
Dev host is back up.
[HTC One X+] jizang:
How is the tempereature while playing heavy games with this kernel.
[HTC One X+] :
The real twist you get with this kernel is that the core management is manual. I can play asphalt 7 on one core and it runs smooth. It gets a bit warmer every time you add another core, so keep it to the minimum acceptable setting
[HTC One X+] jizang:
How can i decide how many kernels are activated.
[HTC One X+] Notechis:
Cores ;)

You have to use bedalus coremanager.apk

There is a link in every post

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] jizang:
Oh yeah i meant cores sry thanks for the answer and can i use the manager you mentioned with all kernels and Roms, because currently i am on cm10.1 with blade kernel
[HTC One X+] maxwen:
no

blade kernel has also manual core mode but it is right now not compatible with the app

but maybe bedalus would like to add support to his app :)

or I will add a compatibility layer in the kernel
[HTC One X+] :
I didn't know that :)

Have you got a link to a commit? Then I can see about adding support in the app.

Edit: I've reached a full day of uptime with both zcache and JRCU running together.
[HTC One X+] jizang:
OK thanks for the answer
[HTC One X+] maxwen:
I think it is easier if I add an API layer in the kernel for you app :)

if you could point me to the sysfs that you are using to

enable/disable cores in your code it should be easy
[HTC One X+] :
I did it this way: https://github.com/bedalus/hxore/commit/0c01f4c44328f4258cfdc7c7248341137b3dad58
[HTC One X+] Notechis:
Hi bedalus,

After some testing I am now much more satisfied with one core, as before. Thx

Gesendet von meinem HTC One X+ mit Tapatalk 2
[HTC One X+] maxwen:
ay - hardcore adding it in the gobal hotplug code :D

but I can add it there - I simply forward it then to

my code which is in arch/arm/mach-tegra

you dont have support for specifiying exactly "which cpus"

should be online e.g. (0,3) (0,2,3) etc.. ?

only issue is that heat distribution is better if you e.g.

use (0,3) for 2 CPUs instead of (0,1)
[HTC One X+] :
Hard-core, that's me :p

Yeah, it was the most obvious way I could think of doing it. The core management mod doesn't do anything to ensure 0,3 or anything like that... Unless that happens with the stock code perhaps?