Kodi Community Forum

Full Version: OpenELEC Testbuilds for RaspberryPi Part 2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Results of restoring a tar backup of /storage from SSD on a Ubuntu 13.10 PC to a USB3.0 32GB memory stick:

Code:
Source: tar.gz, uncompressed data size: 2154MB (23685 files)

Restore to ext4:
        #1:         #2:         #3:
real    5m54.159s   4m32.889s   5m30.590s
user    0m13.574s   0m13.317s   0m13.322s
sys     0m5.485s    0m5.535s    0m5.422s

Average: 5m 18 (6.7MB/s)

Restore to f2fs:
        #1:         #2:         #3:
real    3m0.133s    3m3.485s    3m28.295s
user    0m13.255s   0m13.363s   0m13.485s
sys     0m4.779s    0m4.720s    0m4.493s

Average: 3m 10 (11.3MB/s)

f2fs is the clear winner here, almost double the write performance compared with ext4.

Testing on-Pi (1GHz/512MB) write performance with same 32GB drive:

Code:
ext4:
# du -sk /storage/.xbmc/userdata/Thumbnails
1132112 /storage/.xbmc/userdata/Thumbnails
# find /storage/.xbmc/userdata/Thumbnails -type f | wc -l
20032
# time sh -c "cp -r /storage/.xbmc/userdata/Thumbnails /storage/downloads && sync"

        #1:         #2:         #3:
real    5m 27.57s   5m 54.58s   5m 25.62s
user    0m 1.67s    0m 1.72s    0m 1.49s
sys     0m 37.13s   0m 37.70s   0m 37.78s

        rm:         rm:         rm:
real    0m 4.49s    0m 4.52s    0m 4.53s
user    0m 0.31s    0m 0.32s    0m 0.36s
sys     0m 3.59s    0m 3.59s    0m 3.57s

Average: 5m 35 (3.3MB/s)

f2fs:
# du -sk /storage/.xbmc/userdata/Thumbnails
1212624 /storage/.xbmc/userdata/Thumbnails
# find /storage/.xbmc/userdata/Thumbnails -type f | wc -l
20032
# time sh -c "cp -r /storage/.xbmc/userdata/Thumbnails /storage/downloads && sync"

        #1:         #2:         #3:
real    3m 27.98s   3m 34.52s   3m 35.85s
user    0m 1.70s    0m 1.51s    0m 1.49s
sys     0m 28.71s   0m 30.08s   0m 30.09s

        rm:         rm:         rm:
real    0m 3.58s    0m 5.94s    0m 3.88ss
user    0m 0.31s    0m 0.37s    0m 0.33s
sys     0m 2.99s    0m 3.38s    0m 3.02s

Average: 3m 32 (5.7MB/s)

Testing on-Pi read performance:
Code:
# time sh -c "tar cf - -C /storage/.xbmc/userdata/Thumbnails . >/dev/null"

ext4 (1.13GB data, 20032 files):
        #1:         #2:         #3:
real    1m 8.80s    1m 9.11s    1m 9.10s
user    0m 1.95s    0m 1.96s    0m 1.95s
sys     0m 16.39s   0m 16.48s   0m 16.34s

Average: 1m 8 (16.6MB/s)

f2fs (1.21GB data, 20032 files):
        #1:         #2:         #3:
real    1m 29.13s   1m 28.74s   1m 28.78s
user    0m 2.30s    0m 2.03s    0m 2.00s
sys     0m 17.63s   0m 17.50s   0m 17.75s

Average: 1m 28 (13.8MB/s)

All on-Pi tests performed with xbmc.bin disabled, thus maximising CPU available for IO.

f2fs wins hands down on write performance, but is trumped by ext4 when reading.

allan87 raises a valid point, and when booting with f2fs /storage on USB, OpenELEC would experience a problem while booting about 50% of the time - the Pi didn't crash, but the boot sequence would never complete. The last boot messages to appear before slowing to a crawl:
Code:
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.

(a few others messages appear subsequently, about 4 or 5 mintues later, probably as a result of timeouts)

so there is some instability to be expected when using f2fs, at least in my experience.

Personally, I'll be sticking with ext4 as I would rather not roll a dice each time I reboot the system but f2fs does show a great deal of promise. Smile
Error. Ignore this post.
I cannot delete music library in the last build

The music part is terrible in this build! Xbmc and music is not good!
I'm having issues streaming video files over the internet - after a certain picture quality threshold (ie. anything not grainy as hell), the video will play for between 2-5 minutes, and then freeze my Pi. Any ideas? This is only evident with the latest Millhouse Gotham build (afaik it's evident in all Gotham builds), older Frodo builds work fine. Cheers.

Edit: I seem to have fixed it using the following advancedsettings.xml. Also note that my OpenElec install is a USB install.

Code:
<advancedsettings>
    <network>
        <buffermode>1</buffermode>
        <cachemembuffersize>0</cachemembuffersize>
        <readbufferfactor>4.0</readbufferfactor>
    </network>
</advancedsettings>
Interesting benchmarks here, looks like f2fs could be really useful when it's more mature!

Out of interest how does ext4 without journaling, compare to the usual ext4 and f2fs ?
Can we please have a new build with the latest fixes for live tv subtitles ?
(2013-12-20, 17:27)Jönke Wrote: [ -> ]Can we please have a new build with the latest fixes for live tv subtitles ?

OK I'll upload a new build shortly (got my dates wrong on original reply)
New OpenELEC Gotham build: #2012 (Obsolete)

Code:
rpi512:~ # uname -a
Linux rpi512 3.12.5 #1 PREEMPT Fri Dec 20 13:40:20 GMT 2013 armv6l GNU/Linux
rpi512:~ # vcgencmd version
Dec  2 2013 20:30:23
Copyright (c) 2012 Broadcom
version 0334d765c5cb144589b4d7a4ac68ae8f136491e1 (clean) (release)
rpi512:~ # lsb_release
OpenELEC_Gotham (Milhouse) - Version: devel-20131220135623-r16601-g3ded391

Based on tip of XBMC master (b3616297d6) and tip of OpenELEC master (3ded391359) with the following modifications:
  • Includes these newclock3 commits (except for eabf8af which I've replaced with a static spinner)
  • Excludes the fernetmenta patches (due to conflict)
OpenELEC Gotham now includes libcec 2.1.4 as standard.
(2013-12-20, 17:56)MilhouseVH Wrote: [ -> ]New OpenELEC Gotham build
Please test Spectrum visualisation.
Should have more fps/lower cpu.
(2013-12-20, 17:56)MilhouseVH Wrote: [ -> ]New OpenELEC Gotham build: #2012

This works ULTRA here.
Nice work

got it running from an f2fs storage.

movie-sd open in 4 sec (this took me 6 sec in Milhouse recent builds in same file)
since gui sound i need a way to change notify.wav Wink

edit:
see some running out of sync in rtmp
Hey guys,

Sorry this might be a noob question:
I am running the latest gotham build (2013-10-02) and was trying to install another skin. My problem is that most of the skins are shown as "defect". This goes for all skins except PM3HD, Quartz and re-Touched.
I am used to Amber und would like to use that Skin, but if i try to install it it says "Dependencies not met". If I move my mouse on Amber for some strange reason it says on the right side: "Version: 1.3.0", but i think there is already 1.5 released.

Is my "add-on"-thingy not on a current state?

Also tried to install Amber1.5.4 as zip-File, but i get the same error.

Thanks in advance!
@nowayz: your Gotham build is very old, try the build I posted 3 posts above yours.
(2013-12-20, 17:46)MilhouseVH Wrote: [ -> ]
(2013-12-20, 17:27)Jönke Wrote: [ -> ]Can we please have a new build with the latest fixes for live tv subtitles ?

OK I'll upload a new build shortly (got my dates wrong on original reply)

Thanx but this build is not working without live tv freezings.
Hey guys, i wanted to try f2fs, so i formatted my 16gb transcend jet flash usb 3.0 to f2fs in gparted 0.17. The problem is afterwards it says file system type is unknown, and i have no way of getting my backup of xbmc on f2fs. I have to be on ext4 for it to work.

How did you guys get f2fs on your usb's successfully?

Also in the MilhouseVH builds is there a way to put your subscriptions from video add-ons, under a "tv shows" and "movies" menu? MilhouseVH has the fastest builds to me, and it would be perfect if subscriptions where working (for me).
Have you tried mounting it on your PC from a command line? gparted also showed the partition as unknown (after formatting it as f2fs), but mounting it at the command line worked fine.