Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 2015 02:52:45 +0900
From:      "Daisuke Aoyama" <aoyama@peach.ne.jp>
To:        <freebsd-arm@freebsd.org>
Subject:   Re: New kernel of NAS4Free for ODROID-C1 is released.
Message-ID:  <321545F0A44F48A282D8B324BCE19C88@ad.peach.ne.jp>
In-Reply-To: <0A8B79848FD143F09B549230F7F890D5@ad.peach.ne.jp>
References:  <1DA948EA255F4963ACBC0EBE7D046401@ad.peach.ne.jp> <34D37D2811D246BEB11080D19F03FECE@ad.peach.ne.jp> <579F7C2BEACC4FF684780E575AC9C474@ad.peach.ne.jp> <0A8B79848FD143F09B549230F7F890D5@ad.peach.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

NAS4Free image is uploaded to project directory. You can download it from fast Sourceforge 
mirror.
https://sourceforge.net/projects/nas4free/files/NAS4Free-ARM/9.3.0.2.1364/

Now MicroSD card get RAW I/O over 60MB/s.

Main changes(ODROID-C1 only):
use USB driver patch v1.2.
use KERNBASE=0x80000000
use VM_KMEM_SIZE=750m
use MAXPHYS=1m (experimental)
use vm.pmap.sp_enabled=0 (sp=1 doesn't work under heavy load)
use vfs.zfs.arc_max=550m
enable UHS-I SDR104 by default (experimental)
add HS200 to eMMC (enabled by default)
increase SDHC buffer to 1m(2048blocks)
change max clock of SDHC/eMMC to 200MHz (actual 850/5=170MHz)
add CPU max/min freq. (max 1608MHz to min 816MHz. You need enable powerd)
improve ether performance under heavy load. (ithread CPU 99.9%, read/write at same time)

How to update with boot partition:
----------------------------------------------------------------------
You need updating ubldr since kernel base is changed.

1. mount partition
    # mkdir /msdos
    # mount -t msdosfs /dev/mmcsd0s1 /msdos

2. download new boot files
    # fetch -o /tmp/boot-update.tar.gz 
http://www.peach.ne.jp/archives/nas4free/boot/boot-update-oc1-20150331.tar.gz

3. extract to mounted directory
    # cd /msdos
    # tar zxvf /tmp/boot-update.tar.gz

4. umount partition
    # cd
    # umount /msdos

5. update firmware by normal way from "System|Firmware" in WebGUI.

After auto rebooting, you can use new version.


Some test result:
----------------------------------------------------------------------
MicroSD Samsung 32GB PRO (card spec: R:90MB/s W:80MB/s)
-> RAW R:67.1MB/s W:60.5MB/s @ 170MHz/SDR104/4bit

[root@odroidc1 ~]# dd if=/dev/mmcsd0 of=/dev/null bs=1m count=64
64+0 records in
64+0 records out
67108864 bytes transferred in 0.999250 secs (67159233 bytes/sec)
[root@odroidc1 ~]# dd if=/dev/zero of=/dev/mmcsd0s2b bs=1m count=64
64+0 records in
64+0 records out
67108864 bytes transferred in 1.108881 secs (60519446 bytes/sec)

eMMC module (obtained from Hardkernel)
-> RAW R:116.5MB/s W:18.9MB/s @ 170MHz/HS200/8bit

[root@odroidc1 ~]# dd if=/dev/mmcsd1 of=/dev/null bs=1m count=64
64+0 records in
64+0 records out
67108864 bytes transferred in 0.575916 secs (116525438 bytes/sec)
[root@odroidc1 ~]# dd if=/dev/zero of=/dev/mmcsd1s2b bs=1m count=64
64+0 records in
64+0 records out
67108864 bytes transferred in 3.550163 secs (18903037 bytes/sec)

SMB on UFS/USB HDD (2.5 inch/5400 rpm/8MB cache)
-> R:12.1MB/s W:21.1MB/s @ 1GB test

SMB on ZFS/USB HDD (3.5 inch/7200rpm/16MB cache)
-> R:9.1MB/s W:7.0MB/s @ 1GB test
----------------------------------------------------------------------

Regards,
-- 
Daisuke Aoyama
 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?321545F0A44F48A282D8B324BCE19C88>