Ready for NAS4Free on ODROID-C1

Daisuke Aoyama aoyama at peach.ne.jp
Tue Feb 24 13:55:23 UTC 2015


Hi all,

I fix problem and improve intr code.
Now iperf3 reached to over 400Mbps.
I'm doing stress test by read/write 5GB movie file via USB HDD.
Also starting widely test both rpi and oc1 on official project forum.

I miss previous mail, USB HDD is formatted by NTFS.
So, NAS4Free can use NTFS USB drive without any additional tool/step.
I retest on UFS formatted USB HDD. It seems all score is better than RPi at 900MHz.
But it still slower writing than expected.

RPi version old log is here:
http://shell.peach.ne.jp/aoyama/archives/3016

Changes:
Add recent g_eli_key.c.patch.
Implement more effective CPU affinity and GIC affinity.
Reduce platform code in arm shared source. (still remain)
Improve Ether and SDHC intr code.
Fix MicroSD timeout if boot from eMMC and reboot it.

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.1349-20150224.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.

For more info, please read previous mail:
http://lists.freebsd.org/pipermail/freebsd-arm/2015-February/010357.html

Current affinity/priority setting:
----------------------------------------------------------------------
GIC priority / GIC affinity / used for IRQ/ithread
0x10 CPU0 TimerF
0x10 CPU1 TimerG (reserved)
0x10 CPU2 TimerH (reserved)
0x10 CPU3 TimerI (reserved)
0x30 CPU0 Other IRQs
0x30 CPU1 SDHC, SDIO
0x30 CPU2 Ether
0x50 CPU3 USB0, USB1

Explicitly thread(taskqueue) CPU affinity
CPU2 Ether RX/TX (may not need...)
----------------------------------------------------------------------

Detailed result:
----------------------------------------------------------------------
# iperf3 -c 172.18.0.135 -w32k
Connecting to host 172.18.0.135, port 5201
[  4] local 172.18.0.136 port 27797 connected to 172.18.0.135 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  47.6 MBytes   400 Mbits/sec
[  4]   1.00-2.00   sec  47.7 MBytes   400 Mbits/sec
[  4]   2.00-3.00   sec  47.9 MBytes   402 Mbits/sec
[  4]   3.00-4.00   sec  47.7 MBytes   401 Mbits/sec
[  4]   4.00-5.00   sec  48.2 MBytes   404 Mbits/sec
[  4]   5.00-6.00   sec  48.0 MBytes   403 Mbits/sec
[  4]   6.00-7.00   sec  48.1 MBytes   403 Mbits/sec
[  4]   7.00-8.00   sec  48.0 MBytes   403 Mbits/sec
[  4]   8.00-9.00   sec  48.0 MBytes   403 Mbits/sec
[  4]   9.00-10.00  sec  48.0 MBytes   402 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec   479 MBytes   402 Mbits/sec                  sender
[  4]   0.00-10.00  sec   479 MBytes   402 Mbits/sec                  receiver

-----------------------------------------------------------------------
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.709 MB/s
          Sequential Write :     5.817 MB/s
         Random Read 512KB :    21.654 MB/s
        Random Write 512KB :     5.287 MB/s
    Random Read 4KB (QD=1) :     2.852 MB/s [   696.3 IOPS]
   Random Write 4KB (QD=1) :     1.085 MB/s [   264.9 IOPS]
   Random Read 4KB (QD=32) :     2.674 MB/s [   652.7 IOPS]
  Random Write 4KB (QD=32) :     0.924 MB/s [   225.6 IOPS]

  Test : 100 MB [Z: 9.2% (41.4/451.1 GB)] (x5)
  Date : 2015/02/24 9:03:38
    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
 



More information about the freebsd-arm mailing list