From owner-freebsd-arm@FreeBSD.ORG Wed Apr 1 18:01:07 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 B1B91EDE for ; Wed, 1 Apr 2015 18:01:07 +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 788DF1F5 for ; Wed, 1 Apr 2015 18:01:06 +0000 (UTC) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id EBB9E6811E for ; Thu, 2 Apr 2015 02:52:34 +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 BD90268118 for ; Thu, 2 Apr 2015 02:52:34 +0900 (JST) Message-ID: <321545F0A44F48A282D8B324BCE19C88@ad.peach.ne.jp> From: "Daisuke Aoyama" To: References: <1DA948EA255F4963ACBC0EBE7D046401@ad.peach.ne.jp> <34D37D2811D246BEB11080D19F03FECE@ad.peach.ne.jp> <579F7C2BEACC4FF684780E575AC9C474@ad.peach.ne.jp> <0A8B79848FD143F09B549230F7F890D5@ad.peach.ne.jp> In-Reply-To: <0A8B79848FD143F09B549230F7F890D5@ad.peach.ne.jp> Subject: Re: New kernel of NAS4Free for ODROID-C1 is released. Date: Thu, 2 Apr 2015 02:52:45 +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: Wed, 01 Apr 2015 18:01:07 -0000 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