yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] wildmonks:
I bet it will, I find myself making mistakes using the old fashion way of hunting for the change and then cutting and pasting Lol.

I could be wrong about this, but I believe what you said about it being used to merge different partitions of different file systems together seamlessly is correct.

I guess one example is Android using it to allow apps to be installed and run without problems on the SD card (which is most likely using FAT instead of ext).

Aufs was just added by cyanogen but its currently not being used (I think). He maybe be using it in his future rom release though as its suppose to be more efficient then UnionFS (Maybe in CM6?)
[Nexus One Android Development] fruitsalt:
Can someone explain a few things to me please.

1) I read the CFS and BFS article but dont really get it, in short which is better for performance and battery ?

2) does the 800mV kernel have lesser performance then the 925mV one, and how much of a battery life difference ?

thanks in advance
[Nexus One Android Development] wildmonks:
My short post on CFS vs. BFS

http://xdaforums.com/showpost.php?p=6682247&postcount=62

In addition to what I said there, you'll usually see better benchmark performance with BFS because BFS favors single task situations while CFS favors multitasking situations.

Which is better for battery will depend on what you do with your phone. Whatever results in making the CPU work more will eat up more battery life. ex: multitask a lot? CFS will get the job done quicker thus saving you power.

Should be no difference in performace between 800mV and 925mV. When your CPU clocks up, voltage will rise the same with either version.

Note: HAVS will try its best to feed just the right amount of voltage to keep the CPU stable at whatever MHz speed (and temperature) its running except when the CPU hits 1113MHz, had to bypass HAVS to keep it stable at that speed.

As for battery life difference, besides what I said above, there are lots of other factors, so you'll have try them both out and see which gives you better battery life.

Example: Is 800mV enough power to keep my cellular radio stable? In my case no, so my radio switches back and forth from EDGE to 3G in certain areas where I work. This increases my battery drain.

No problem :)
[Nexus One Android Development] smedentsev:
SWAP enabled?

I apologize upfront for my possible incompenece or ignorance, but is this kernel really swap enabled? Or my interpretation of:

-Changes since kernel date 061210:
-swap: Add flag to identify block swap devices
-swap: Add swap slot free callback to block_device_operations

is wrong and it's kind of "swap-aware", but not "swap-enabled"?

The reason I ask is that any attemps to enable swap manually or via "Swapper2" apk were not successful.

My SD card is formatted to have all three partitions (fat, etx4 & linux-swap):

fdisk /dev/block/mmcblk0

Disk /dev/block/mmcblk0: 3965 MB, 3965190144 bytes
4 heads, 16 sectors/track, 121008 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1 101471 3247070 c Win95 FAT32 (LBA)
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 101471 117096 500000 83 Linux
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3 117096 121008 125185+ 82 Linux swap
Partition 3 does not end on cylinder boundary

running "free":

free
total used free shared buffers
Mem: 403288 261664 141624 0 4044
Swap: 0 0 0
Total: 403288 261664 141624

attempting "swapon":

swapon /dev/block/mmcblk0p3
swapon: /dev/block/mmcblk0p3: Function not implemented

using the latest "2.6.34_AVS-800mV_BFS_1113Mhz_062310.zip".

Any ideas/help?

P.S. Not that I really badly need swap. Just wanted to experiment and see if there is any real benefit from using it. Have been using wildmonks's 800 and 925 mV kernels, both CFS and BFS with great success recently. Kudos for great work and stable fast kernels.

P.P.S. And yes, the .config pulled from the phone running "2.6.34_AVS-800mV_BFS_1113Mhz_062310.zip" kernel shows "# CONFIG_SWAP is not set".
[Nexus One Android Development] wildmonks:
Wow, thanks for catching that! I must have inadvertently selected "no"' for swap while I was building it. I'll be sure to change that in the next build. Really appreciate it you telling me this. :)

EDIT: Actually the more I think about this, the more I wonder if I should enable this as this was mainly for the dream/sapphire platform. I dunno why I added this commit to the source haha. But anyway, I do want to support your experiment so I hastily compiled a kernel for you with swap. Not sure if it will work tho.. I have never personally played around with linux swapping subsystem before...

2.6.34_AVS-800mV_CFS_1113Mhz_swap_062510.zip

UPDATE:

Smedentsev has shared with me his results with swap enabled and it looks like it doesn't work with Android's Low Memory Killer that's also in the kernel. I rather not disable that as both smedentsev and I agree it does a really good job keeping memory free. So incase anyone is wondering, I will not enable swap in the next release.
[Nexus One Android Development] smedentsev:
Thanks!

2: wildmonks

Thanks a lot, I would greatly appreciate that. I can probably build the kernel myself but packaging it into the right update file with the right structure seems like a tedious task until you already have all the right tools and experience. So I better rely on someone who have done many times already ;)

What concerns me is that there is ticket in Cyanogen's bug track - issue #1318 (sorry for no link - being new user I'm not allowed post external links), exactly about swap. With the status of "WontFix" and a comment "And it's going to stay disabled" (this is about CONFIG_SWAP=off). So there might have been a reason for that and may be enabling it may break something.
[Nexus One Android Development] mtw4991:
@Wildmonks

Just to report in on the 0623_800_BFS....not noticing much difference between BFS n CFS fwiw. Battery is very good. OC'd to 1.075, sleep 245/245 and I got 1 1/2 hours at 100% with moderate usage. I'm currently at 17 hours 30 minutes with 45% battery left>>>3.1% per hour drain with all systems on, nothing disabled and SystemPanel monitoring the whole time. Lots of twitter, reading XDA, Market, etc.

Display 50%

Cell Standby 21%

Voice calls 12%

Phone Idle 9%

Android Sys 4%

Twitter 2%

Linpack scores of 40-41, Quadrant 1745, SetCPU short bench 163 lowest

Nice Work Man!
[Nexus One Android Development] wildmonks:
Ah, very cool. Glad to know that the 0623_800_BFS version is working out well for you. :)
[Nexus One Android Development] mtw4991:
Oops, Wildmonk, I've found an issue. I double checked my SD card and it shows the 925 BFS that I flashed. HOWEVER, in the About Phone, the kernel shows up as 800 BFS, not 925! Which one am I using, lol. Seems like they were named incorrectly....late night?;)
[Nexus One Android Development] wildmonks:
Oops, looks like I forgot the change the version string when I compiled that version. I verified with the kmsg log that the 925 BFS is indeed set to 925mV min so the filename is accurate. But yah, when you go into the About phone menu, it displays it incorrectly. I'll have to be more diligent in that regards...
[Nexus One Android Development] mtw4991:
also noted, with FRF83 and/or BFS kernel, OS Monitor won't open...tries to open but then back to home screen but doesn't FC in the popup sense.
[Nexus One Android Development] wildmonks:
Strange, it does open for me. (FRF83 w/ 925mV BFS) Try reinstalling?

edit: using stock FRF83 from paulobrien
[Nexus One Android Development] fruitsalt:
thank for all the info, it was really helpfull in understanding the difference.

I flashed the 800mV Bfs on my nexus one and its running flawlessly,love the resposiveness of the rom and the keyboard especially with this kernel. heres some non scientific but well watched results:

its been off charge for over 13 hours and still have 65% battery left.

Usage Stats:

used it for browsing for about 20 mins

calls about 25 mins

a few text messages

checks 5 email accounts every hour

google tlk (used for about 20-30 mins) and voice been running in the background constantly.

flashed two different roms, before reverting back to normal, so that makes it 3 flashes on the same charge.

did one nandroid backup.

one nandroid restore.

and must have played around with the other roms and differnet apps from market for about 40 mins.

did linkpack with/without overclock.

did quadrent test with/without overclock.

all browsing and downloads have been on 3g, havent used wifi at all.

doing all that and im still on 65% is amazing, usually i have to put it on charge by doing just half that. ( and thats pretty much my daily routine lol)

Other results:

linpack 44+ with overclock and 39-41 without.

Quadrent 1774 with overclock and 1449 without

setcpu short bench: 142ms with overclock and 172 without.

downloadspeed test : 1.5 Mb/s down and 1.2 Mb/s with only two bars, (the fastest download i have ever gotten is 4.2 Mb/s down and 2.5 up)

Rom info:

using rodriquezstyle_r18_2.6 using adw launcher

setcpu 245/225 sleep; 984/245 default.

apps running in the bakground:google talk, google voice, set cpu, task manager,trackball alert pro,email, gmail, clock,nimbuzz.

all other apps are on autokill :-P

my radio is pretty stable on 3g ( no switching to edge) however did note that the bars i have are less then before, it hasnt effected the browsing speed , im gona try the 950mv BFS to see if that makes a difference, but i am pretty happy with the current results.

I also wanted to check out the cfs 950mV one to compare and see how it runs on my phone, however mediafire says file not found, do u have an alternate link.

thanks again for this awesome kernel and all your help.
[Nexus One Android Development] stage3turbo:
Kernal Animation Boot Loop At 1113Mhz

Hi I am new to posting on forums (this is my first post) so forgive me if its in the wrong place.

I am running Froyo FRF83 on my Nexus One with the latest radio V32.36.00.28U_4.06.00.12_7

When ever I install any kernel (on previous Builds as well) all runs like clockwork upto 1075Mhz

If I up it to the full 1113Mhz using set Cpu v1.60 after a few minutes my phone will go into continous nexus one animation bootloop (loads animation, then goes into software when try to do anything it goes back to animation bootloop)

Any Help would be greatly appreciated...

Thanking the community in Advance....
[Nexus One Android Development] cdmove:
OP,

thanks for doing this and I'd like to request a .34 uv + oc kernel without the audio boost tweak!!

Thanks again1!
[Nexus One Android Development] dictionary:
Be a bit more specific. 800mV? 925mV? BFS? CFS?

Just trying to help ya.
[Nexus One Android Development] wildmonks:
I'd gladly make one for you! But yah.. please specify. Unfortunatly it takes me almost 50 minutes to compile each version... I dont have a fast computer :(
[Nexus One Android Development] daveid:
Thank you, flashing soon, I look forward to being able to hear callers without distortion and discomfort.
[Nexus One Android Development] nazrin313:
I flashed the CFS 925 froyo version

Just checked my phone...slept for 5 or so hours and the battery is down 94%.....not so bad I guess...will be using it (my daily usage pattern) today
[Nexus One Android Development] irishrally:
Did anyone else see that the "clear" button in the notifications pull down is gone? I'm using 925CFS? I'd rather it be there.

EDIT: The "clear" button is there sometimes, but you can't clear usb debugging, usb mount or voicemail.
[Nexus One Android Development] eViL D::
Trying to compile, anyone know of this error?

No rule to make target `net/ipv4/netfilter/ipt_ecn.o', needed by `net/ipv4/netfilter/built-in.o'. Stop.
[Nexus One Android Development] cdmove:
is the sd remount still a problem with .34?
[Nexus One Android Development] Daswolven:
I got a rather significant performance boost in benchmarks on the 800 BFS Froyo over pershoots OC. Anyone care to enlighten me on why this is? :)
[Nexus One Android Development] nazrin313:
Found a bug...now my phone keeps on randomly rebooting...happened 3 times already today....

Battery life is still good..7 hours of moderate and heave use...(approx: display now on for a good one hour - random reboots resetted my counter) and im still on 76%
[Nexus One Android Development] irishrally:
Just got 1717 on the Quadrant benchmark, higher than any other kernel I've tried. Using CFS 925mV.
[Nexus One Android Development] wildmonks:
The USB debugging and USB mount notification always stayed there for me when I have my Nexus connected to the computer but they disappear when its not connected. I thought that was normal behavior on stock google roms. I don't know about that voicemail notification though... Have you tried clearing your voicemail out to see if it goes away? (I use google's voice service so I don't see the standard voicemail notification)

I honestly don't really know. My only guess is because of the BFS as that is the only difference. The overclock code itself should be nearly identical. It could also be the difference in compilers. :confused:

That could be caused by the cpu not receiving enough voltage. I can try increasing voltage to 1300mV. Currently its set to max 1275mV which matches pershoot max. The reboots can also be caused by the BFS itself. Like what daveid said, BFS still has a long way to go which is why you'll probably never see it on any of Google's official builds.
[Nexus One Android Development] wildmonks:
What source are you using? Cyanogen's or intersectRaven's? If your using intersectRaven's try using these configs.

If your still having errors, maybe its the compiler you are using. I used to get a lot of similar errors when I tried using codeSourcery's compiler. Finally had to give up and use the standard gcc compilers (currently using gcc 4.5).
[Nexus One Android Development] wildmonks:
Wow, that's really awesome! Uh.. that kinda blows my theory of BFS having to do with the improvement out of the water....
[Nexus One Android Development] zizoty:
Gotta try this kernel since i only get 1414 from pershoot kernel. 1717 is a crazy ass number.

Edit: Just tried the cfs 925 and clocked 1490. I don't know how you get 1717. What Rom are you using?
[Nexus One Android Development] irishrally:
Paul's Froyo release with CM Quick Rooter and the 925CFS. I ran it 4 or 5 times and averaged around 1600.

There is a lot more to a kernel than doing well on benchmarks though, but it would be nice to understand what causes the increase, if it turns out to be present in many N1s.

EDIT: Try setting min and max to 1113mhz in setcpu and also set to performance, not on demand. I was conncected to wifi, not sure if that requires less cpu resources than 3G data running in the background.
[Nexus One Android Development] gn00my:
awesome kernels :-) thanks for your work

oh btw , got a score of 1434 on quadrant with 2.6.34_AVS-925mV_CFS_1113Mhz_060110 using froyo
[Nexus One Android Development] OrganizedFellow:
I've done some benchmark testing.

Device is my Nexus One with FRF50 with radio from Modaco.

This is my daily use device, so nothing was done to optimize anything (with SetCPU as the only exception).

I thought about doing this with a fresh Froyo install, but I wanted to get "real world"/daily use values, with a device running widgets, etc.

I have 33-35 apps installed, a few widgets, and with average daily use (9am til atleast 11pm).

I plug my phone into charger close to 12am each night when it has about 10-20% battery.

Plenty of SMS/MMS throughout the day, 2-3 hours of web browsing, no YouTube, lots of Facebook updates via text & replies via m.facebook.com, Gmail, no Twitter, no games except for Solitaire :)

----- ----- ----- ----- ----- ----- ----- ----- ----- -----

A few days ago, I downloaded and installed all four of the kernels offered by intersectRaven's Kernel - http://bit.ly/d4rk1R, ofcourse, one by one.

Tonight I tested just one from Hybrid AVS + 1113Mhz Overclock - http://bit.ly/cOvFEe, the CFS:925 version. As that one seemed the most recommended/used.

I used the following apps:

BenchmarkPi	http://www.cyrket.com/p/android/gr.androiddev.BenchmarkPi/

Linpack	http://www.cyrket.com/p/android/com.greenecomputing.linpack/

Quadrant http://www.cyrket.com/p/android/com.aurorasoftworks.quadrant.ui.standard/

All tests performed while charging and at a minimum of 90%.

I did three tests with each kernel (15 tests).

Test#1: reboot, wait 60 seconds, run Test#1.

Test#2: run immediately after exiting Test#1, run Test#2.

Test#3: kill all tasks, wait 5 seconds, run Test#3.

I did the above for each of the five kernels, with each of the three apps.

The numbers shared below are the averages of Test#1, Test#2 and Test#3, per app, per kernel.

(Almost forgot, SetCPU is set at max/max, and Governor set to performance for all tests.)

These are my results:

intersectRaven's Kernel BFS:925mV BenchmarkPi 1,373.75

intersectRaven's Kernel BFS:800mV BenchmarkPi 1,287.75

intersectRaven's Kernel CFS:925mV BenchmarkPi 1,399.25

intersectRaven's Kernel CFS:800mV BenchmarkPi 1,247.50

HybridAVS+1113MhzOver...CFS:925mV BenchmarkPi 734.50

intersectRaven's Kernel BFS:925mV Linpack 17.58

intersectRaven's Kernel BFS:800mV Linpack 15.83

intersectRaven's Kernel CFS:925mV Linpack 16.55

intersectRaven's Kernel CFS:800mV Linpack 15.54

HybridAVS+1113MhzOver...CFS:925mV Linpack 34.60

intersectRaven's Kernel BFS:925mV Quadrant 1,480.33

intersectRaven's Kernel BFS:800mV Quadrant 1,410.33

intersectRaven's Kernel CFS:925mV Quadrant 1,363.33

intersectRaven's Kernel CFS:800mV Quadrant 1,422.33

HybridAVS+1113MhzOver...CFS:925mV Quadrant 1,391.67

----- ----- ----- ----- ----- ----- ----- ----- ----- -----

Obviously the overclocked kernel kicks ass in nearly all the tests.

It doubled the average scores in BenchmarkPi & Linpack.

MY QUESTION IS:

But why does it get such similar scores as the others when benchmarked with Quadrant

***MY SILLY DISCLAIMER***

There are many factors not mentioned here (running apps, how many beers I've had, etc.

et cetera yadda yadda yaaa ... ya know?
[Nexus One Android Development] flak0:
I can confirm this also. I'm getting over 1600 in quadrant. proof below

got 60+fps during the planets sequence in quadrant.

this along with the picture above was posted from my nexus using opera mini 5.
[Nexus One Android Development] irishrally:
Your OC results for benchmarkpi seems unusually low, as do your non-OC results for Linpack.
[Nexus One Android Development] wildmonks:
My pleasure fruitsalt. And thank you for sharing your experience/findings :)

Oh and yes, I do have a mirror at http://drop.io/wildmonks

Do you experience this with pershoot's kernels as well or is it just "any" of mine?

Also if possible, after it happens again, can you pull and share your "last_kmsg" log? (It's located in the /proc folder).

Edit: Ah, I see you also posted this question on pershoot's thread so disreguard my first question, sorry about that...
[Nexus One Android Development] stage3turbo:
Hi this also happens with pershoots kernals as well.

Could you please provide information on how I can retrieve the log file

Thanks

P
[Nexus One Android Development] wildmonks:
If your not familar with adb (Android Debug Bridge) then the easiest way is to use a file browsing app (like ASTRO) to copy the file to your SD card and then from there copy it to your computer. Again, you'll find the "last_kmsg" file in the "/proc" directory. In that log, it might contain clue as to why your phone entered a boot loop.
[Nexus One Android Development] wildmonks:
Fixed this small cosmedic mistake. It will now report the correct kernel version in the "About phone" menu.

2.6.34_AVS-925mV_BFS_1113Mhz_062310_v2.zip
[Nexus One Android Development] wildmonks:
Update:

-Changes since kernel date 062310:

Added the following commit from IR's repository:

-sched: reduce sysctl_sched_latency to 3ms

-ondemand: Solve a big performance issue by counting IOWAIT time as busy

-ondemand: Make the iowait-is-busy-time a sysfs tunable

2.6.34_AVS-800mV_CFS_1113Mhz_062610.zip

2.6.34_AVS-925mV_CFS_1113Mhz_062610.zip

2.6.34_AVS-800mV_BFS_1113Mhz_062610.zip

2.6.34_AVS-925mV_BFS_1113Mhz_062610.zip

2.6.34_AVS-925mV_CFS_1113Mhz_NoAudBoost_062610.zip

(No audio boost version, for those that don't like the increased volume during calls.)
[Nexus One Android Development] THATTON:
Thank you sir! Downloading now!
[Nexus One Android Development] mtw4991:
installed 0626-925_BFS and Quadrant is slower than previous version, plus it ran once then got stuck on black scree of death, lol. rebooting and trying again....
[Nexus One Android Development] wildmonks:
Here's my Quadrant for comparison on 0626-925_BFS. I've seen higher (18xx) but still respectable.

Black screen of death? That's a first x_x lol. I haven't encountered that one yet
[Nexus One Android Development] mtw4991:
Yeah, BSOD...didn't know what else to call it. It installed just fine, opened just fine, went to run benchmark and kinda hung for a few seconds then opened and 10/12 was already running. Completed benchmarking 1 time, then hit the back button and it went black and I had to reboot to get it to open again. Also, OS Monitor installed just fine, but will not open...just goes back to the home screen??? Everything else is fine.
[Nexus One Android Development] stage3turbo:
WildMonks Is The Man!

Hi,

Just wanted to say a BIG Thank You to Wildmonks.

He is very supportive and quick to reply to messages and not to forget very Knowledgeable.

A credit to these forums!! :D
[Nexus One Android Development] wildmonks:
I'm trying to replicate your errors without success...:( Weird that those 2 apps are now giving you problems. Think you can send me a dmesg log after it happens?
[Nexus One Android Development] wildmonks:
Oh.. now you're making me blush :o Lolz!

I try the best I can. Its always a learning process for me here which is why I enjoy being here :)
[Nexus One Android Development] SimFox3:
monks, 0626_NoAudioBoost is working great. I don't have the other tool, but OSMonitor is also working without any issues...
[Nexus One Android Development] wildmonks:
You know, I'm thinking of dropping 33.5 kernel versions and making BFS/CFS 800/925 combos with the NoAudioBoost. I think I'll do that after I make a new compiling script.
[Nexus One Android Development] mtw4991:
sure, but not sure how to do that:o
[Nexus One Android Development] wildmonks:
Here are the command line tools for adb (Android Debug Bridge) for windows.

Unzip and open a command prompt where you unziped the files.

Execute this command:

adb shell dmesg

You'll see the log appear on the screen. Cut and paste into a text file and post. (or use pastebin.com).

You will have to execute this command right after the error occurs because windows's command prompt doesn't scroll back very far.

Uh.. btw, I'm no where are good as pershoot and IR when it comes to looking for errors in the logs but I'll try my best.. :o
[Nexus One Android Development] mtw4991:
Ok, I got it. Already have SDK on my desktop, just hadn't pulled logs using adb before but its not complicated, lol. Charging to 100% full now as I got down to 1%@3498mV before it died:p, looks like it's calibrated pretty damn good!:eek: I'll report the log a couple of hours.
[Nexus One Android Development] wildmonks:
Hehe, I'd say your battery is perfectly calibrated now. :p

Good job!