yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] axetilen:
yes, I also saw Yank's 99z_kernel in init.d folder

Although the script is executed on boot, Venom Tweaks also executes its settings and it is after the script so the final LMK value belongs to the venom tweaks => script of yank = useless in changing LMK value

the same as my script for PYD and sebastianFM kernel. because it is still run before the venom tweaks :(

=> that's why many faux users got random reboot, because of the bad LMK values in venom tweaks

the best way is to set venom tweaks minfree values exactly the same as yank's script you posted

however, in 98swap, there is another LMK value script which is lower than the one you posted, so I think you should set to the lowest available minfree value (multiasking xtreme), so the hardswap can do its job the best
[HTC Sensation] TheUntouchable:
I now use the following lowmem settings:

16,21,25,31,53,64 (MB)

Swap is deactivated for testing purpose and now my kmsg only consist of lowmem messages :D
[HTC Sensation] axetilen:
still high, but if there is no problem you can use it forever

if the problem is not solved, set

4

8

16

32

48

65
[HTC Sensation] TheUntouchable:
I tried that settings but now my kmsg is really flooded with lowmem and killing messages. That cant be normal oO
[HTC Sensation] axetilen:
hmmm

I never have that problem because I never use faux. it seems that only faux users have this

btw:

[ 5881.207946] lowmem: select 27541 (android.vending), adj 588, size 9988, to kill

It seems that the adj is too high

it is usually only ~15 for me. In this case, it is 588 O_o

can you open 99z_kernel in init.d folder and add this line to somewhere in the script and save. Execute it or just simply reboot

echo "0,1,2,4,6,15" > /sys/module/lowmemorykiller/parameters/adj
[HTC Sensation] TheUntouchable:
On my rom the file has this values:

0,1,2,4,7,15

The only different is the 6 and the 7. Where does that 588 came from?! :silly:
[HTC Sensation] axetilen:
I have no idea. maybe faux and yank can explain???
[HTC Sensation] chesterx1:
LMK settings were removed from swap98.

HTC Sensation 4G with HNS 120412, faux010b8, and Configurator 2.1
[HTC Sensation] Yank555:
Quick drive-by answer, quite busy right now ... :angel:

Have a look here : http://www.cs.fsu.edu/~baker/device...x/drivers/staging/android/lowmemorykiller.txt

Correct, those should have been removed at some point, since they are Aroma configurable. If I missed that, let me know ;)

JP.
[HTC Sensation] Sultanxda:
Yank555/Faux123, what toolchain are you using? I haven't been able to compile this kernel using your defconfig with the NDK nor with Linaro.
[HTC Sensation] faux123:
I highly recommend AOSP toolchain 4.4.3. It's the official tool chain for GB all the way to ICS... JB they've updated to 4.6.x.
[HTC Sensation] Yank555:
AOSP 4.4.3 for me as well. Use it for JB SGS3 as well.

JP.

Sent from my custom Paranoid Android 2.54 / Yank555.lu CM10 kernel v1.3f Aroma (Linux 3.0.57) powered Galaxy S3 i9300 using Tapatalk 2
[HTC Sensation] Sultanxda:
Thanks, I used the AOSP 4.4.3 toolchain and got the kernel compiled, then released it :D. I would thank your posts but I've hit my thanks limit :(
[HTC Sensation] X46X:
Another reboot is here ( 3 times in a row..)

https://dl.dropbox.com/u/63762750/last_kmsg.txt

https://dl.dropbox.com/u/63762750/logcat.txt
[HTC Sensation] faux123:
[37796.701416] Thread-281(parent:zygote): Restarting system with command ''.

[37796.701507] Going down for restart now

[37796.701660] arch_reset: mode 104

[37796.701721] arch_reset: restart command `'.

it seemed it was a commanded restart... Something in the system told the kernel to restart. It wasn't a CRASH (which would indicate a kernel side bug). It seemed that something in the ROM or app told the kernel to restart and the kernel obeyed and did exactly that and restarted...
[HTC Sensation] X46X:
Thak you, but it's weird, I using still same apps and my phone starts reboting yeasterday..
[HTC Sensation] chrisw99:
I got a new 16gb sdcard at Christmas, so I am finally using hardswap with a 256mb partition. I chose the stock LMK settings from Aroma.

Are those numbers above definately the best ones to use with hardswap? Why is this?
[HTC Sensation] axetilen:
this is better and it is also recommended by yank

because if the LMK value is high as stock, apps tend to be killed before they can be moved to swap
[HTC Sensation] TheCornInGrove:
Argh, had a Sense restart when using Chrome heavily. Had open like 8 Tabs... would adding swap solve that problem?
[HTC Sensation] Yank555:
Solve, no, maybe push the limit a little further before Sense restart...

JP.

Sent from my custom Paranoid Android 2.54 / Yank555.lu CM10 kernel v1.3f Aroma (Linux 3.0.57) powered Galaxy S3 i9300 using Tapatalk 2
[HTC Sensation] umberto1978:
No, because Swap being used for cache storing (zram = compressed Cache).

When system requires ram for example to start an application the pages used by Zram module can not be freed except by restarting the device or interrupting the swap.

Anyway i think that keep opened 8 (!!) pages on browser + system running + user apps running is not a very normal situation: i suggest to buy a beast with 8 gb ram and a six core CPU :D :D :D :D :D
[HTC Sensation] TheCornInGrove:
Haha :D. Im a heavy tabber ;). But it's ok if Sense got to restart after these action's ;).
[HTC Sensation] umberto1978:
Personally (and seriously) i think that due to the few amount of ram on the device (583 mb of ram available) it's moooore useful Supercharger mod rather than zram usage, considering that to compress and decompress ram is a process that need cpu and resources usage ;)
[HTC Sensation] chrisw99:
If the lower the better with hardswap, why not set the LMK values to 1,2,3,4,5,6 or even 1,1,1,1,1,1? What is the reasoning behind 2,4,5,8,12,16?
[HTC Sensation] axetilen:
no. because lmk still needs a threshold to kill apps unless the amount of free ram will decrease below 100mb => lag

trust me. sometimes, 2,4,5,8,12,16 is still not enough and we have to raise it up to the next preset
[HTC Sensation] TheCornInGrove:
Im back to vb4 too due to constant reboots with heavy useage...

Letz see how it works... its as fast as the other versions, so I wont care much...
[HTC Sensation] faux123:
The problem is that I don't know where to fix. There are NO kernel bugs to fix from these logs (BTW, can you POST the WHOLE LOG not truncated logs). The kernel is doing what it's been told.. TO RESET... now who's telling the kernel to reset is a mystery to me but it's definitely not a kernel BUG.
[HTC Sensation] juancubo:
Faux123 I just copy and pasted part of the X46X log he just share a few post back. It's not one of mines.

In my opinion forget about the reboot. Mine concern is the emergency remount that happens before the reboot.

I always try to bring relevant stuff not just user created problems. The truth for me (at least in my phone and others as x46x) is that using your kernel latest versions, cause a emergency remount of partitions prior a Rom issue reboot.

I will post later a kmsg so you can check that one also

Please hit the thanks button if I have helped you!
[HTC Sensation] juancubo:
Here is a log

http://db.tt/ettQwrCv

Please hit the thanks button if I have helped you!
[HTC Sensation] faux123:
[ 119.275177] SysRq : Emergency Remount R/O

[ 119.876098] EXT4-fs (mmcblk0p23): re-mounted. Opts: (null)

[ 119.952728] EXT4-fs (mmcblk0p24): re-mounted. Opts: (null)

[ 120.010223] EXT4-fs (mmcblk0p28): re-mounted. Opts: (null)

[ 120.027557] [BATT][tps65200] TPS65200 shutdown

[ 120.028259] Disabling non-boot CPUs ...

[ 120.040222] CPU1: msm_pm_power_collapse: change clock rate (old rate = 0)

[ 120.040313] CPU1: shutdown

[ 120.041137] Thread-105(parent:zygote): Restarting system with command ''.

[ 120.041290] Going down for restart now

[ 120.041351] arch_reset: mode 104

[ 120.041503] arch_reset: restart command `'.

[ 120.041625] from arch_reset

[ 120.074096] Emergency Remount complete

[ 120.601470] [WLAN] enter dhd_set_multicast_list

[ 120.603424] net_ratelimit: 11 callbacks suppressed

[ 120.603515] [WLAN][WRN] wlan0: set promisc 0 failed

[ 120.662506] [RMT] rmt_storage_event_write_iovec_cb: write iovec callback received

[ 120.662597] [RMT] handle = 2

[ 120.662750] [RMT] sec_addr = 0, data_addr = 46100000, num_sec = 6143

[ 120.662841] [RMT] sec_addr = 6143, data_addr = 463ffe00, num_sec = 1

[ 120.663024] [RMT] iovec transfer count = 2

[ 120.663024]

[ 120.663177] [RMT] handle_rmt_storage_call: Sending result=0x0

[ 120.663421] [RMT] rmt_storage_ioctl: wait for request ioctl

[ 120.709564] EXT4-fs (mmcblk0p23): ext4_da_writepages: jbd2_start: 8192 pages, ino 39100; err -30

[ 120.709869] EXT4-fs (mmcblk0p23): ext4_da_writepages: jbd2_start: 8192 pages, ino 39042; err -30

[ 120.710021] EXT4-fs (mmcblk0p23): ext4_da_writepages: jbd2_start: 8192 pages, ino 38982; err -30

[ 120.710174] EXT4-fs (mmcblk0p23): ext4_da_writepages: jbd2_start: 8192 pages, ino 47443; err -30

[ 120.823394] [RMT] rmt_storage_ioctl: send status ioctl

[ 120.823577] [RMT] rmt_storage_ioctl:	handle=2 err_code=0 data=0x450c04d4

[ 120.825408] rmt_storage_ioctl:rmc->msm_final_call=0, rmc->mdm_final_call=0

[ 120.825622] wait_rmt_final_call_back: Wait for final MSM efs_sync: OK (rc=922)

[ 120.825866] back arch_reset

[ 120.825958]

[ 120.826049] Restarting Linux version 3.0.49-MSM8660-Sense-Faux123-v010+ (paul@ubuntu) (gcc version 4.4.3 (GCC) ) #32 SMP PREEMPT Wed Oct 31 07:53:38 PDT 2012

Again, kernel was told to restart :( Try to fix your partition p023.. looks like you have some corruption.
[HTC Sensation] juancubo:
Nothing to fix with other kernels or even with your 008b8v5.

That's what I am trying to let you know. I am sure I am not alone. If you search different Rom threads you will find it. But if you don't thinks is an issue, is ok. I can always go back to the 008b8v5 but I thought that you would like to track this problem as I am pretty sure that partition has nothing wrong.

Running for more than 2 weeks without problems with other kernels. As soon I switch even with a clean install to 10b8 then reboot and partition errors starts.

Please hit the thanks button if I have helped you!
[HTC Sensation] jackep82:
hi, just a quick question guys.. do one of the processors still go offline after a certain amount of time? or does it stay on with the lowest frequency setting? thanks
[HTC Sensation] TheCornInGrove:
Got the exact same problem. 008b8v4 is running fine right now :).
[HTC Sensation] TheUntouchable:
Which settings do you exactly use if i may ask?
[HTC Sensation] TheUntouchable:
Had again a reboot while powering off and powering on the screen quick one after another. Settings are in my signature. LMK settings are ViperS default and the rom is installed with a full wipe.

It's really sad, faux is the fastest kernel for ViperS but i am going to loose my nervs with this reboots..
[HTC Sensation] zedrix53:
why im not seing 98swap in init.d?

im using 10v7 and i choose hardswap

but when i look the file using root explorer i only see the 99z kernel
[HTC Sensation] TheUntouchable:
Do you have a swap partition on your sd card?
[HTC Sensation] zedrix53:
what do you mean swap partition in sd card?i just flash it via recovery
[HTC Sensation] TheUntouchable:
You need to have a swap partition on your sd card to be able to use hardswap :)
[HTC Sensation] zedrix53:
how will i do that?
[HTC Sensation] TheUntouchable:
Use a tool like MiniTool Partition Wizard to creat a swap partition :)

And have a look on this:

http://xdaforums.com/showthread.php?t=1814311
[HTC Sensation] zedrix53:
thanks man!!learning new things again:D
[HTC Sensation] TheUntouchable:
Youre welcome :D
[HTC Sensation] magostinelli:
Inviato have exactly the same problem with 10b8 andare ARHD 6.8.

In addiction, sometimes the phone was very slowly when I want to call someone from contact list (default ARHD dialer).

Regards.
[HTC Sensation] akamustang:
Is there still a plan to port the new intellidemand at some point?

Swyped from my HTC Sensation
[HTC Sensation] X46X:
Reboot when I do a phone call. Look at it.

https://dl.dropbox.com/u/63762750/last_kmsg.txt

https://dl.dropbox.com/u/63762750/logcat.txt
[HTC Sensation] Hawke84:
I get the same mate had it twice today, didn't get chance to pull last kmsg
[HTC Sensation] axetilen:
For some users who get random reboot with ViperS. open venom tweaks and set these minfree

p/s: It is damn difficult to set these :eek:

sliding to the exact numbers is a disaster. It took me ~5 minutes to set all of these numbers :silly:
[HTC Sensation] john_matrix:
Hi alls!

Is there any battery temperature statement issue with this kernel?

Because on my current install (Viper 1.6.0) the battery temperature is approximatively 11°C and with other kernels (PYDX and Sultan) the temperature is approximatively 20°C

Thanks!
[HTC Sensation] X46X:
No working, still getting rebot..
[HTC Sensation] mandeep294:
Yes it dosent report it correctly

"No ur battery usage screenshots wont help anyone"
[HTC Sensation] chesterx1:
The use of intellidemand will reduce your battery temperature as your cpu speeds are being reduced when not needed. This is great for your battery as lower temperatures increase battery life but reduce capacity. Alternatively, higher temps will give you more capacity but shorter life. Based on my own usage the diffrence is a matter of just a few less minutes of battery time. I would prefer this and longer life than the opposite.

HTC Sensation 4G with HNS 120412, faux010b8, and Configurator 2.1
[HTC Sensation] X46X:
Another random reboot

https://dl.dropbox.com/u/63762750/last_kmsg.txt

https://dl.dropbox.com/u/63762750/logcat.txt
[HTC Sensation] TheUntouchable:
I must say, after changing the minfree settings to the one recommended by axetilen i had no reboots till now :) Thanks!
[HTC Sensation] chesterx1:
I haven't had a random reboot for weeks. Today System Tuner was updated and I've had three reboots. One in the middle of a call. I ran kernel99z? from rom toolbox and then changed governor on screen off to intellidemand. No reboots,

HTC Sensation 4G with HNS 120412, faux010b8, and Configurator 2.1
[HTC Sensation] TheUntouchable:
You should not use any screen off profile for faux kernel and intellidemand. If you use the aroma installer version (99z_kernel) you don't need any app to configure the kernel.
[HTC Sensation] chesterx1:
I agree with you, but I haven't had a single reboot since so maybe just a coinkydink.

HTC Sensation 4G with HNS 120412, faux010b8, and Configurator 2.1
[HTC Sensation] alxr31:
I get the exact same issues, I was going mad over this but now I see someone else have the same behavior. I tried everything to make it work but recommendations welcome.
[HTC Sensation] GuerillaTech:
Hey all, could you give me your opinion on which i/o scheduler is the best and why you use it? Or send me a link so I can make a more informed choice for myself in the matter?
[HTC Sensation] saitch76:
I haven't benchmarked I/O schedulers but my spider-sense suggests that NOOP works best for me day to day. I'm sure others will tell you it depends on how you use your device but there seems some consensus that non-mechanical storage devices don't need complicated I/O schedulers. I'd be interested to hear from Faux123 and Yank555 if they agree or have plans to include other schedulers like SIO or VR.

---------- Post added at 03:18 PM ---------- Previous post was at 03:15 PM ----------

Also, you might want to have a look here:

http://xdaforums.com/show....php?t=1420742
[HTC Sensation] TheUntouchable:
404 Page Not Found ;)
[HTC Sensation] axetilen:
http://xdaforums.com/showthread.php?t=1420742

and this

http://xdaforums.com/showthread.php?t=1369817

yes, they recommend SIO (it's really good and it's the best IMO) but not VR because it is unstable

with faux kernel, noop is the best

Bricked kernel, cfq is the best for badass

VR is only good for benchmarking, it drains more battery than the other

SIO = noop + deadline => :good:
[HTC Sensation] TheUntouchable:
But not included in faux..? :(
[HTC Sensation] faux123:
Some random scheduler with some random logic with cool sounding names == "amazing awesome stuff"..

Show some benchmarks or data to back this up then I might think about them :p
[HTC Sensation] XeloOw:
you don't need any benchmarks or anything else

The feeling is the best thing, i agrre SIO is the best Schedulers, good performances whithout decrease a lot battery life :)

Envoyé depuis mon Transformer TF101 avec Tapatalk
[HTC Sensation] Hawke84:
Re: [Kernel]Sense ICS(v009)OC~1.73GHz/UV/ZRAM/Intellidemand/Power Saving[Sep-06]

Also agree use it on my transformer prime
[HTC Sensation] faux123:
benchmark or it didn't happen :rolleyes:
[HTC Sensation] axetilen:
how can we do a benchmark on io scheduler? antutu?

yes, maybe

but we know that SIO is a bit slower than noop but it consumes less power than noop so how can the benchmark tell us :rolleyes:
[HTC Sensation] faux123:
Flash a "kitchen sink kernel" that has everything :p, then run some benchmarks (any benchmark with I/O tests). Set CPU governor to powersave or performance (in this case I would prefer powersave because it will run @ the lowest CPU speed so HEAT and thermal throttling won't be a factor), run the same benchmark like 5 runs for each of the "amazing" I/O schedulers. Post the numbers. The truth will speak for itself. Otherwise, it's really just placebo and hearsay just like the recent /dev/random entropy seeder thing ;)

Even power can be measured. Use current widget. set screen to never turn off, set auto brightness to off, disable all data sync and connections (wifi and cell, be in airplane mode). Note the mV battery reading before each of the benchmark runs, run the benchmarks the same number of times, then read the mV battery reading after each set.

All can be measured, scientifically of course. We are talking about technology and science, so back it with fact and data. If all looks good, I will add it based on scientific data.
[HTC Sensation] axetilen:
it seems so complicated :crying:

I'm gonna give up
[HTC Sensation] faux123:
it's NOT difficult, it is HOWEVER time consuming. I've outlined how I would test it if I had time. I am sure someone from this forum can do it. Just need to find the right person and ASK NICELY ;)
[HTC Sensation] nosferatu997:
Odp: [Kernel]Sense ICS(v009)OC~1.73GHz/UV/ZRAM/Intellidemand/Power Saving[Sep-06]

I can do it;) but I'm currently on PYD-X ;) but why not;) I have too much free time at work :)

Edit: I still have your latest kernel on my SD so just give me a minute;)

Edit 1:

Powersave, but what about CPU speed? Or it just doesn't matter?;)

Edit 2: hahaha forget about the previous edit, about having your kernel on my sd, silly me ;)

Ok i will test it on latest PYD kernel. I'll test all available i/o and post results ;)

EDIT 3:

ok i after some tests these are some results ;) I will post everything tomorrow ;)

Settings: PYD X kernel, CPU @ 1566/432, powersave, GPU @ 266.

After full tests in Antutu.

SIO:

478

464

480

495

487

489

467

488

462

NOOP:

403

439

402

392

415

408

396

440

424

437

441
[HTC Sensation] faux123:
Thanks for the tests, I was hoping you test against CFQ and Deadline as well :(

Here's my own tests on Nexus 4 with airplane mode, powersave governor @ 384MHz

Antutu database and SD card read/write tests only.

FIOPS => average ~543.33

NOOP => average ~537.33

Deadline => average ~533.66

BFQ => average ~528.00

CFQ => average ~526.66

So there, there aren't much difference between the I/O schedulers, for Nexus 4, FIOPS is the fastest one :D SIO is really just neutered Deadline, so it should be somewhere between NOOP/Deadline... so it's not really radical or revolutionary like FIOPS which was designed from Ground up for Flash devices.
[HTC Sensation] axetilen:
can you do 1 more test for VR? :)

they said it is the best gov for benchmarking so I am curious how it performs

really appreciate your test -> :good:

p/s: are you using my aroma tweaks?

if you use it, it has some tweak script to make i/o less aggressive and saves some juice -> may affect the real scores

but however, SIO is still better than noop in terms of battery and speed
[HTC Sensation] nosferatu997:
Odp: [Kernel]Sense ICS(v009)OC~1.73GHz/UV/ZRAM/Intellidemand/Power Saving[Sep-06]

Of course, tests against CFQ, deadline, vr are in progress;) like I said, I'll post everything tomorrow;) now it's time for Australian open;)

---------- Post added at 01:51 AM ---------- Previous post was at 01:49 AM ----------

Yes, I chose optimal II, but I'm gonna flash the newest version, maybe I should set it as stock... Will do everything tomorrow:)
[HTC Sensation] axetilen:
I dont think minfree setting affects the result :)

I mean some of my tweaks that I silently intergrated in the mod

it's time to use my thanks button. It is not used frequently :cool:

p/s: if you choose swap or zram -> there will be no minfree option in the aroma menu
[HTC Sensation] nosferatu997:
Odp: [Kernel]Sense ICS(v009)OC~1.73GHz/UV/ZRAM/Intellidemand/Power Saving[Sep-06]

Oh thank you :)

CFQ -

427

417

417

437

437

421

;)
[HTC Sensation] axetilen:
they said FIOPS is designed for SSD and Flash so it is supposed to give the best score with nexus 4 :)
[HTC Sensation] nosferatu997:
Ok next results ;)

DEADLINE:

412

439

424

412

444

416

416

422

VR:

413

437

444

446

will do some more tests later ;)

Edit: more VR:

429

428

436

434

426

443

431

Edit: 1

Maybe it's pointless, but I'm gonna start a thread with all those tests results plus some more which I'm about to do :D
[HTC Sensation] waterun:
+1，I had same issues, I lgot a reboot in a calling, my rom is ViperS 1.62, Faux kernel v10b8
[HTC Sensation] Beast Power:
Would just like to know, my phone is showing lower temperatures while using Faux 10b8, than the other kernels I have used. Is the temperature it is showing correct, as this will be wonderful. I think cooler temperatures are great.
[HTC Sensation] mandeep294:
i think it shows correct temps for cpu but wrong for battery
[HTC Sensation] ahsan64:
causing reboots

kernel is the fastest but causing random reboots when i attend call and then finish the phone suddenly off and even dont reboot??

I m using the default settins nothing change....
[HTC Sensation] faux123:
submit /proc/last_kmsg logs
[HTC Sensation] Beast Power:
Try to flash Power Kernel Reset and Reflash the kernel, Could just fix the problem, you might have remnants of a previous kernel causing problems.
[HTC Sensation] waterun:
many users met the same problem, and most use the new version, most random reboot happened in the calling finished. So I think it would be related with the min frequncy of screen off.
[HTC Sensation] Beast Power:
I see most of you having theproblem are on Viper 1.3.0, what version of Faux are you running ?

Have you upgraded you firmware, radio and Ril at all ?
[HTC Sensation] waterun:
Its sames as yours ,except kernel. my signature was not update for a long while.

---------- Post added at 01:58 PM ---------- Previous post was at 01:39 PM ----------

Hi, Faux:

I have found a way to test the random reboot, dail a phone call, then cover the distance sensor by a finger, and then remove the finger, repeat for servral times, the screen would be on off on off quickly, there is certain probability to make the phone reboot.

when I setup min freq to 384MHz, the random reboot would not be happened with this test.
[HTC Sensation] faux123:
Thanks. interesting... so min frequency has an effect on this...
[HTC Sensation] juancubo:
I took the tests done by nosferatu997 and made an statistical analysis, ANOVA (analysis of variances) to compare the samples he took, and the clear winner is SIO.

The confidence interval for this I/O scheduler is clearly above the rest. As far as the other ones there is not a clear statistical difference between them except from NOOP vs VR, that shows VR is statistically higher than NOOP.

The pairwise probability shows the probability of having samples from the same population (same mean and std dev), so for those with values lower than 0.05 can be considered that comes from different populations and means.