From owner-freebsd-arm@FreeBSD.ORG Fri Mar 6 13:00:19 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 528A34E9 for ; Fri, 6 Mar 2015 13:00:19 +0000 (UTC) Received: from moon.peach.ne.jp (moon.peach.ne.jp [203.141.148.98]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 139D0641 for ; Fri, 6 Mar 2015 13:00:18 +0000 (UTC) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id E32456811E for ; Fri, 6 Mar 2015 22:00:09 +0900 (JST) Received: from artemis (unknown [172.18.0.21]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTPSA id DCCA868121 for ; Fri, 6 Mar 2015 22:00:09 +0900 (JST) Message-ID: <579F7C2BEACC4FF684780E575AC9C474@ad.peach.ne.jp> From: "Daisuke Aoyama" To: References: <1DA948EA255F4963ACBC0EBE7D046401@ad.peach.ne.jp> <34D37D2811D246BEB11080D19F03FECE@ad.peach.ne.jp> In-Reply-To: <34D37D2811D246BEB11080D19F03FECE@ad.peach.ne.jp> Subject: Re: Ready for NAS4Free on ODROID-C1 Date: Fri, 6 Mar 2015 22:00:10 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2015 13:00:19 -0000 Hello, I'm trying to fix USB problem. I get best wrting score by USB HDD(UFS) on ODROID-C1(3x faster): root@odroidc1:~ # dd if=/dev/zero of=/mnt/test.dat bs=1m count=16 16+0 records in 16+0 records out 16777216 bytes transferred in 0.823085 secs (20383333 bytes/sec) But it decrease score on RPi, so need more work. I complain read performance on ODROID-C1 now... Also this version include zfs.ko and some tune for ZFS. Now NAS4Free on ARM can handle ZFS pool both RaspberryPi(512MB) and ODROID-C1. It seems you can't get around 300MB ARC. (limit of KERNBASE = 0xc0000000?) I think this is too small for ZFS. NAS4Free use 280MB ARC on ODROID-C1 by default. (160MB ARC on RPi) You can see ARC statistics by zfs-stats command. Changes: Add USB fast writing patch (3x faster but may break some condition on RPi) Replace atomic cas operations. Bundle zfs.ko and opensolaris.ko. Remove platform code from GIC code. Upgrade to samba 4.1.17 and php 5.6.6. You can get latest test image of NAS4Free 9.3.0.2 for ODROID-C1(2GB eMMC or MicroSD card) from: http://www.peach.ne.jp/archives/nas4free/test/NAS4Free-oc1-SD-9.3.0.2.1353-20150306.img.gz Download the image, decompress it, and write it to the eMMC module or MicroSD card of 2GB or more capacity. You need serial console cable or USB keyboard/HDMI display for initial IP address setup. Upgrade image (use it from GUI): http://www.peach.ne.jp/archives/nas4free/test/NAS4Free-oc1-embedded-9.3.0.2.1353-20150306.img.xz For more info, please read previous mail: http://lists.freebsd.org/pipermail/freebsd-arm/2015-February/010357.html http://lists.freebsd.org/pipermail/freebsd-arm/2015-February/010386.html Detailed result: ---------------------------------------------------------------------- ----------------------------------------------------------------------- CrystalDiskMark 3.0.2 Shizuku Edition x64 (C) 2007-2012 hiyohiyo Crystal Dew World : http://crystalmark.info/ ----------------------------------------------------------------------- * MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s] Sequential Read : 22.465 MB/s Sequential Write : 15.902 MB/s Random Read 512KB : 21.521 MB/s Random Write 512KB : 12.485 MB/s Random Read 4KB (QD=1) : 2.792 MB/s [ 681.7 IOPS] Random Write 4KB (QD=1) : 1.300 MB/s [ 317.3 IOPS] Random Read 4KB (QD=32) : 2.313 MB/s [ 564.7 IOPS] Random Write 4KB (QD=32) : 1.119 MB/s [ 273.1 IOPS] Test : 100 MB [Z: 10.9% (49.4/451.1 GB)] (x5) Date : 2015/03/03 1:51:55 OS : Windows 7 Ultimate Edition SP1 [6.1 Build 7601] (x64) NAS4Free/OC1 1512MHz w/TOSHIBA MK5065GSX ---------------------------------------------------------------------- Enjoy NAS4Free world on ARM device. -- Daisuke Aoyama