yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] Terepin:
WOOT, VR scheduler rocks! Can't wait to use your VR kernel!
[Desire Android Development] beanbean50:
+1

Mr Coutts had one a while ago but a couple of people complained it was too loud so he turned it back down, I was in disbelief as they could have easily turned the volume down whereas we cannot turn it up anymore than 100%...!
[Desire Android Development] coutts99:
If I recall correctly, I lowered the minimum gain, I think the maximum gain stayed the same. I may be wrong though.
[Desire Android Development] beanbean50:
I could hardly hear the phone ring after that tweak and had to switch to neo's kernel...but now back with your one as sebera's bat fix is the best, as for the sound, well, nevermind can't have the best of both worlds I suppose !
[Desire Android Development] melethron:
What fs? Intrernal (yaffs2).

I had better results with "deadline" than all others (+200 points). But im pretty sure this is because i use jfs. deadline is recommended very often for jfs. Woti also benched on ext4 and had also good results with vr.

I think the speed increase from VR is mainly because it uses one queue for read/write. I also was disappointed by SIO. I think it has some large overhead. Missing merging like on noop (it has the feature but in the publication woti posted it is stated that merging practically never happens on noop.

Could you bench deadline? Im interrested how it behaves on your fs (whatever your /data/data is on). Ill also test it later on btrfs/reiserfs (need to test some script stuff with booting btrfs anyway). If it is good on btrfs/reiserfs i make it default for all other fs than jfs (jfs will be deadline still).
[Desire Android Development] coutts99:
Bench was on /data, I don't use data2something at the minute so it would have been yaffs2.

I didn't do deadline as it wasn't in the kernel I was using at that time :) I'll do that one later. Just got the test my aosp kernel on froyo then I can nandroid back and do it.
[Desire Android Development] melethron:
Did you do "echo 0 > /sys/block/mtdblock5/queue/rotational" before bench or was it set to default (1)?
[Desire Android Development] coutts99:
I was copy and pasting this when changing scheduler -:

echo noop > /sys/block/mmcblk0/queue/scheduler;
echo 1 > /sys/block/mmcblk0/queue/rotational;

for i in 0 1 2 3 4 5;
do
echo noop > /sys/block/mtdblock$i/queue/scheduler;
echo 0 > /sys/block/mtdblock$i/queue/rotational;
done;

So yes :)
[Desire Android Development] melethron:
k, not even sure what scheduler respects that setting but still better to set it IMO.
[Desire Android Development] melethron:
I set vr as scheduler for nand. BTW: checked nand:

cat /sys/block/mtdblock4/queue/iosched/
fifo_batch read_expire writes_starved
front_merges write_expire

rev_penality can only be set on mtd 5 and if "cat" some stuff on mtd 1 2 3 4: like

bash-3.2# cat /sys/block/mtdblock4/queue/iosched/fifo_batch

i get a reboot ...

anyway. Next version:

echo " +++ Changing scheduler behaviour for mtd";
for i in 1 2 3 4 5;
do
echo vr > /sys/block/mtdblock$i/queue/scheduler;
echo 0 > /sys/block/mtdblock$i/queue/rotational;
done;
echo 1 > /sys/block/mtdblock5/queue/iosched/rev_penalty
ioschedmtd=`cat /sys/block/mtdblock5/queue/scheduler`;
echo " $ioschedmtd"
echo " ";

at least for nand.

I benched jfs on sd:

Deadline:

2899

3103

2491

V(R) (R=0 aka. SSTF aka. rev_penalty 1)

2405

2416

2398
[Desire Android Development] Moe5508:
Are we expecting any ROM release from Melethron today? DroidZone's Data2SD installer runs really well and stable but applied on Baadnewz's 1.8 release still caused some missing apps for me...apps which where symlinked to install to SDEXT. Or maybe I should run the process again?
[Desire Android Development] coutts99:
Deadline comes in with a very good 2824.40, just marginally behind VR!
[Desire Android Development] melethron:
Hmm i think i leave deadline default then since it is not an experimental scheduler and is used broadly for ssd. It can still be change to vr (or any other) on the rom (with config file).
[Desire Android Development] coutts99:
Have you got a link to that pdf you had about that scheduler for ssd? You posted it somewhere the other day but I can't find it.

I was going to email and ask them if they would let me have the code :)
[Desire Android Development] melethron:
http://dropzone.tamu.edu/techpubs/2009/TAMU-ECE-2009-02.pdf
[Desire Android Development] Paradoxxx:
Any Kernel? Or a way to mod it? A .zip something please ! Thx :-)
[Desire Android Development] melethron:
Uploading ROM atm ....

Here is the Changelog:

v0.6

- rebase RUU_Ace_HTC_WWE_1.72.405.3

- Alignment now as zip with for following formats: Ext3, Ext4, ReiserFS, BRTFS, JFS

- Recovery "Clockwork" 2.5.0.7 with Support for: Ext2, Ext3, Ext4, ReiserFS, BRTFS, JFS

- Completly reworked the scripts:

- --User config file on SD-card now (see /sdcard/Avaritia for features) with

- --Some tweaks and filesystem check of all supported filesystems now

- New Kernel "3rd-deadly-sin" based on coutts99 Kernel (same source ... different .config):

- - Filesytems: Ext2, Ext3, Ext4, ReiserFS, BRTFS, JFS, XFS (module), Nilfs2 (module)

- - I/O: Scheduler: noop, Deadline, CFQ, BFQ, SIO, V(R) (+ setup with userconfig)

- - Some minor other stuffs ( check "adb shell zcat /proc/config.gz" ;) )

- - SVS with query Undervolting by snq (+ setup with userconfig)

- - Optional CFS Version

- Life-on-the-edge changed: Its now based on ownheres sqlite3 hack - (+ setup with userconfig)

- Custom Bootanimation

- Rewrote install script (edify/updater binary)

- Added Apps: Astrofilemanager

- Updated Apps

- Many things i forgot because i accidentally deleted the changelog.txt while cleaning up the rom folder ...XD

Thanks: Coutts99 for the Kernel and ownhere for the Filesystem Utils
[Desire Android Development] Fightspit:
After pressing many times F5, here it is ! :D

Edit: Hmm, I hesitate between BTRFS, JFS and ReiserFS... What is your preference ?

Edit2: Should I backup the content of my SDCARD (especially in the 1st partition FAT32) on my PC, coz I am bit lazy :D
[Desire Android Development] coutts99:
Well done mele!

Btw send me your .config out of curiosity :)
[Desire Android Development] biliskner:
Good thing it's 8am here. Got all day to play with 0.6 :D
[Desire Android Development] basher52:
Iam using 0.5v and getting android.core FCs often after Calls. Maybe an Swap Issue, iam using 256 Swap and 1Gig of ext4. Gonna move to 0.6 tomorrow without swap.

All in all great job, thanks :)
[Desire Android Development] martino2k6:
I'd like to know this too as my 32GB card just came in today :)
[Desire Android Development] grooltor:
I don't understand why you DEVs keep on porting Desire HD ROMs instead of Desire Z ones... rotating Rosie is something I couldn't live without :D

Could you do an Avaritia ROM based on Vision instead of Ace? With all the bells and whistles of course ;)
[Desire Android Development] MATRIKS:
Finnaly you made it. I just wanna know which partition is quickest?

Thank you,you made my day:p
[Desire Android Development] Terepin:
Dude, don't use again words like "Z", "rotating rosie" or "Vision" in this thread. EVER! :D
[Desire Android Development] Fightspit:
According to this PDF about Filesystem performand on a SSD (flash NAND):

http://www.usenix.org/events/lsf08/tech/shin_SSD.pdf

NILFS get the best result over BTRFS and then ReiserFS but JFS is not tested...

Anyway, XFS get the worst result (except in IO benchmarks) :/
[Desire Android Development] Fightspit:
-nevermind-
[Desire Android Development] MATRIKS:
Error 404!

/melethron/Avaritia_HD/Avaritia_HD_v0.6_alpha.zip%22

File Not Found!

:confused:
[Desire Android Development] Terepin:
Look at the end of the link...
[Desire Android Development] melethron:
^ this .....

Nilfs support is available as module. Speed is not that awesome but still good. But it sucks because it has HUGE battery drain because of constant snapshot feauture.

F5
[Desire Android Development] Moe5508:
+1...same here.
[Desire Android Development] Terepin:
melethron, remove those quotes at the end of the link...

EDIT: Erm, where is LOTE? I'd like to use my phone.
[Desire Android Development] Moe5508:
Yes, please. Thanks, downloading now. Correct link is this: http://files.c0urier.net/melethron/Avaritia_HD/Avaritia_HD_v0.6_alpha.zip:D
[Desire Android Development] MATRIKS:
Downloading:d
[Desire Android Development] melethron:
Updated the alignment zips: Ext3 is fixed and works. Added stride to format on ext3/4 (i still dont think it helps really but ownhere and sibere use it .... ). And i also added unmount to the update script to make sure they all work.

Sorry...
[Desire Android Development] melethron:
see changelog. I changed life-on-the-edge to ownhere's sqlite3 fsync skip (as compare able effect to loop without the bugs of loop like reboot etc). Its an option in the config file. Change:

~ Lote=off

to

~ Lote=on

You can use astro for that. its included and has texteditor.
[Desire Android Development] Fightspit:
So, I have to redownload the ROM ?
[Desire Android Development] melethron:
No.... sorry ....

I meant the alignment zips:

http://files.c0urier.net/melethron/index.php?dir=Avaritia_HD/alignment/
[Desire Android Development] grooltor:
Z, rotating rosie and Vision! Ahahahahahah ;)

Man, aren't you using the (great) Z v06 ROM by coolexe? Me too :D

Just wondering why Ace ROMs are favourite against Vision... they're basically the same, apart from rosie (rotating), settings (bigger font) and music player (no coverflow... better IMHO, with coverflow you can't use shuffle, a feature I use a lot).
[Desire Android Development] martino2k6:
Awesome, formatting my card to fat32 + btrfs and will install tomorrow!
[Desire Android Development] Fightspit:
I finally choose the JFS which has the least CPU usage :D

EDIT: My phone is booting... I like the blue circle boot animation :)

Should I wait a lot of time ? How long ? :D

Answer: 5 mins !

EDIT2: The infamous HTC white screen is displaying, waiting for the pin code menu...

EDIT3: I entered the pin code, now I am waiting the HTC 1st time configuration...

EDIT4: At the same time, I am doing an ADB logcat and I get many times "dalvikvm: bad cgroup on data something", is it normal ?

EDIT5: The config setup is displaying but going to the next step takes a lot of time.

EDIT6: Waiting for the HTC Home screen to appear...

EDIT7: WOW, after almost exactly 1 hour, Here is the Home screen !
[Desire Android Development] biliskner:
Always use logcat. Then you can see what your phone is doing :)
[Desire Android Development] melethron:
I wanted to rebase to Z..... but this where the reason i didn't want it :

Avaritia Z some day maybe ....
[Desire Android Development] xavierjohn22:
At last 0.6, he he. thanks.
[Desire Android Development] chronicfathead:
Flashing at the minute. Very polished installer;)

Backed up SD card, mounted in recovery, copied JFS file and flashed, then flashed Rom file.

.......

Unlock screen, white screen with HTC logo

......

Seems to be thinking a lot, trying to settle down.

......

Setup wizard has started, yay.

Lol

From Wikipedia:
[Desire Android Development] Fightspit:
Look at my previous post ;)
[Desire Android Development] jondalar:
Or for those of us who use the desire mounted horizontally a lot just the rotate-it-already-blimey.apk to this one. :rolleyes:
[Desire Android Development] jkond:
I get boot loop with both of recoveries...
[Desire Android Development] melethron:
Also from wikipedia:

Not funny if it gets unmounted while writing inodes. Its completly Reliabilty on servers with battery backed hard drives ... you have one battery ... and if you pull that ... ;)
[Desire Android Development] chronicfathead:
Still going slow, but I am syncing all my apps from google. I would expect this to slow it down while it stores them to the SD card. Hopefully should fly when it's finished.

26 apps trying to download at the same time!

Noted. Why can't I get the song from Top Gun out of my head... Danger Zone!

If it goes wrong, flash, flash and flash again.....weeee.

I think I need to go to bed!
[Desire Android Development] Terepin:
After one hour I can say this: unusable. Going back to Z.
[Desire Android Development] Fightspit:
As I said before, it takes one hour to get the home screen and it doesn't really lag at all (yet :D )
[Desire Android Development] melethron:
Results of filesystems vary great between microsd. Ext3 should be the most compatible fs and is meant as default.

... :/
[Desire Android Development] Terepin:
OK, I'll try Ext3 tomorrow, now I need sleep. Badly (0:27am here).
[Desire Android Development] chronicfathead:
Do you recommend one FS over another?

I was going to stick with EXT4, but decided to have a mess around with JFS as it sounds quite good. ReiserFS doesn't offer any real benefits over Ext4 from what I could tell.
[Desire Android Development] Fightspit:
My phone is currently sync-ing my google and facebook accounts.

So sometimes I get spike lag when I remove or add apps on the home screen.
[Desire Android Development] jkond:
ok, i flashed back original CWM 2507 and all ok.

Formated btrfs with gparted and flashed...

About 10 mins till i see the home screen.

Rom seems quite fast :) ...synced, market, all ok.

@mel,,,why your recoveries dont work with me? any idea? i flashed with fastboot.

...and what if i use original CWM...i just cant nandroid?

ps: u forgot to add trackpad 2 unlock !!? :P

another1: status and bottom bar does not change when changing scenes.
[Desire Android Development] melethron:
About recovery. I just repacked that with coutts kernel. I see if i can make (or if im to stupid to patch it myself) some else compiles me one for recovery.

About buttom/top bar ... Thats not scenes, ... that is skins ;)

Ill pack a zip for trackpad tomorrow
[Desire Android Development] melethron:
Btw. Nandroid backup -> flash fs zp -> nandroid restore...
[Desire Android Development] jkond:
THANKS!!

Well Rom feels very smooth and fast...nice job!

I dont seem to find (maybe i am the stupid here :s) lote on/off...am looking in 98avaritia-userconf...
[Desire Android Development] melethron:
File is on sd-card. Check the /sd-card/avaritia/ folder. Can be changed there.

No need to play with init.d/ the script reads the config file on boot.
[Desire Android Development] jkond:
Yepp...i know! just seemed logical to be there...

thanks again.. rom is really awesome! and btrfs is waaay faster than reiserfs.

at least on my sd.
[Desire Android Development] Lanbase:
It's running great, I'll leave the

Sqlite hack untoutched 4 now,

If its only tap results....

Thanx 4 sharing your alfa rom.

Sent from my HTC Desire
[Desire Android Development] Paradoxxx:
Nice, downloading now, gonna test under ReiserFS /Swap :-)
[Desire Android Development] Nitin985:
This is about your alignment zip, I'm running *(z) and I want to convert my 1.96gb ext3 partition to ext4 without a pc , its already aligned with your previous Rom so will it still format and if it does how will I go about installing it
[Desire Android Development] Fightspit:
I have a big issue on database writing which is aroud 2 or 3 per seconds even after running many times Tap benchmark:

Test on JFS but I think it is a problem of the class 10 sdcard since your 1st ROM. But, the perfs on read/write seems to be good :)

Edit: That is why I get constant spikes lags.
[Desire Android Development] mendozinas:
UOT list updated: Avaritia HD v0.6 ROM
[Desire Android Development] melethron:
It will increase also usage in some cases. If your card has slow sqlite speed. For me its not a real difference but sqlite performance on my card is pretty good. If you have some lag spikes then try it.

Yes. It formats in any case. Installing is easy. Flash ... and done. It does everything in recovery.

Thx
[Desire Android Development] melethron:
I have like 60 dbwrites on a class 2 with jfs.

Try sqlite fsync skip (Life on the edge) maybe.
[Desire Android Development] MATRIKS:
GOING BACK TO v0.5
[Desire Android Development] MATRIKS:
Can anyone tell me how to make NILFS2 partition
[Desire Android Development] Fightspit:
I will try this.
[Desire Android Development] Terepin:
Changing FS - no effect. Enabling LOTE - no effect. Unusable, going back to Z.
[Desire Android Development] Fightspit:
Which sdcard do you have ?
[Desire Android Development] MATRIKS:
Anyone NILFS2 :(
[Desire Android Development] biliskner:
Getting a stack of these

http://xdaforums.com/showpost.php?p=10466115&postcount=1051

Constant

E/IPCThreadState( 1304): Bad cgroup data {↑■‼}

E/dalvikvm( 455): Cannot get policy, owner thread id=468

E/dalvikvm( 455): Cannot get policy, waiter thread id=872

E/dalvikvm( 455): Bad cgroup data {ºj!¿ÿ≡▐J}

E/dalvikvm( 455): Bad cgroup data {ºj!¿ÿ≡▐J}

E/dalvikvm( 455): Cannot get policy, owner thread id=468

E/dalvikvm( 455): Cannot get policy, waiter thread id=473

E/dalvikvm( 455): Bad cgroup data {ºj!¿h⌂èÇ}

E/dalvikvm( 455): Bad cgroup data {ºj!¿h⌂èÇ}

E/dalvikvm( 455): Cannot get policy, owner thread id=468

E/dalvikvm( 455): Cannot get policy, waiter thread id=1001

E/dalvikvm( 455): Bad cgroup data {►☺}

E/dalvikvm( 455): Bad cgroup data {►☺}

Not sure if that is normal :)

Reformatted to JFS with 128MB swap (I don't remember 0.5 giving those errors). Will keep testing. Looks good so far.
[Desire Android Development] Lanbase:
Meletron, just a few questions.

Can I use the reboot option in the

powermenu without risk

of dataloss (I havent used it yet, but maybe there's no problem since its native on hd roms?)

The Avaritia config file is only used on boot right?, so I reccon I can change it with phone running and just reboot for the changes to take effect.

Do the setcpu settings overide things in config? Are there any incompatible settings (do's and dont's) I am not quite clear on that yet.

Trackball wakeup please ;)

About sqlite hack, I didn't notice any real performance increase when i aplied it on A0.5, maybe

because i was was/am on reiserfs

and the differrence is more on ext3, my db writes did go up from 30 to 210. But as long as the phone is fast, I dont care about that. Anyway its easy to turn on/off now so time will tell...

Grtz lanbase
[Desire Android Development] Fightspit:
WOW, with LOTE, I get better results :)

So you can add in your 1st post that a class 10 sdcard works well only on LOTE.

Anyway, is it still possible to restart or shutdown the phone normally without to corrupt the JFS partition ?
[Desire Android Development] melethron:
What fs did you test?

Nilfs2 is in as a module. You need to change the the script to use it (insmod nilfs module). mkfs.nilfs to make a partition and nilfs_cleanerd is included. You also need nilfs_cleanerd.

But believe me even if its faster it has a HUGE battery drain and its not even worth drying it. I included it only for benching. But for daily use it is AWFULL. It will add 1-2% battery drain per hour (!!!!!!) when the phone is idle and even more when used. It almost halves the battery life ....
[Desire Android Development] Terepin:
A-DATA 16GB class 6 MicroSDHC card.
[Desire Android Development] Fightspit:
Holy **** ! second run of TAP benchmark, I get more 100 in DB write/s
[Desire Android Development] melethron:
Sd-card have very different results. Thats why included so many optional options to get the best out of every sd-card. If data2sd is still to slow on your sd then its better to use an app2sd rom.

Its "normal" in the sense that everyone has this. 1.72 base uses cgroups and BFS has no cgroups support. I tested CFS Kernel and BFS was faster even with the errors. To get rid of these errors with a BFS Kernel the source of dalvik VM needs to be edited. You can also use the CFS Kernel posted in the second thread. CFS works fine with Cgroups (Kernel is setup proberly to work with it).

I even think of reverting the rebase and going back to 1.35.... Using cgroups to manage interactivity is not a good idea IMO. You can read through the thread and coutts kernel thread for more info about BFS/CFS/Cgroups.

Hibernate is native not the reboot. There is always a risk of data loss when you use it but its much lower than it was before.

Yes, config is only on boot. As it is described in the config.

Atm i noticed that the config overwrites the setcpu settings on boot. I need to change the script so it doesnt change cpu clock if set cpu is installed. For now write your desire OC and scheduler in the config. Set cpu battery profile and normal Profile still works (so after boot it's config settings, screen of setcpu setting, screen back on again setcpu)

Its not really class dependent. It depends on stuff like "erase block size", controller, wear-leveling algorithms. The results can be very different even on the same "class".
[Desire Android Development] MATRIKS:
JFS,BTRFS with Swap
[Desire Android Development] paulove:
@melethron

I installed the 0.6 rom with ext4, and all was fine.

Then i reinstalled with btrfs, and I am missing the custom apps you

included... :confused::confused::confused:

(It is not an issue for me, but I am a bit curios)

paulove
[Desire Android Development] melethron:
Btw. More info about nilfs2. Its logbased structured and if you would get good results from that a "copy-on-write" fs would have the same benefit. BTRFS is a cow filesystem and has ssd_spread optimization. So a card that would benefit from nilfs2 would also benefit from btrfs. Mine doesnt and also newer SSD disk don't ( check this: http://jmleddy.wordpress.com/2010/08/15/nilfs2-a-file-system-to-make-ssds-quiet/)
[Desire Android Development] MATRIKS:
One more question will this kerne work fine with v 0.5
[Desire Android Development] melethron:
You need the recovery with support for btrfs for that because it installs to sd-ext. You can also get the apps from the *.zip and copy them to sd and install them.
[Desire Android Development] melethron:
Yes. Its coutts kernel (just with some more stuff compiled in).
[Desire Android Development] MATRIKS:
Thank you for all your replys
[Desire Android Development] jkond:
Btrfs, no swap, lote=on.

Transcend 8gb class 6.

20110118T131306: Benchmark on /data (6 iterations)

DB writes: 151(6) Writes/s

DB reads: 245(25) Reads/s

DB deletes: 267(13) Deletes/s

File writes 10k: 1996(321) kB/s

File writes 1M: 4514(424) kB/s

File reads 10k: 4526(6) kB/s

File reads 1M: 9391(33) kB/s

File write overhead: 2.793(0.832) ms

File read overhead: 1.144(0.005) ms

Database overall: 442(19)

File overall: 1347(38)

StressWrite 1M: 3994(302) kB/s

StressRead 1M: 5915(330) kB/s

StressWrite 10k: 661(171) kB/s

StressRead 10k: 1765(373) kB/s

Stress overall: 854(113)
[Desire Android Development] skullz:
Been using v0.6 for a day and I must say its really solid this build. Only 1 thing I found that listening to music lags while the screen is off..Is it to do with the kernel throttling to 245mhz by default?
[Desire Android Development] Lanbase:
I think it is even throtling down to 128mhz by default (without setcpu), I haven't tried yet with mp3 playback , will try that now.

grtz
[Desire Android Development] Lanbase:
I use the following commands to check cpu freq in adb shell;

# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

128000

And

# cat /proc/cpuinfo

cat /proc/cpuinfo

Processor : ARMv7 Processor rev 2 (v7l)

BogoMIPS : 84.92

Features : swp half thumb fastmult vfp edsp thumbee neon

CPU implementer : 0x51

CPU architecture: 7

CPU variant : 0x0

CPU part : 0x00f

CPU revision : 2

Hardware : bravo

Revision : 0083

Serial : 0000000000000000

#

Is that correct output? Or should I use another command, both commands where executed with screen off -->> mp3 playback on & adb wireless shell connnection & connected to ac charger.

No problems with lag on mp3 playback.