====== Overview ======
This wiki page shows cloudshell2 performance.
RAID0, RAID1, SPAN, and PM mode separately thereby set the mode switch on the cloudshell2 board
and added a test condition installed software RAID mdadm in the JBOD(PM) to compare with hardware RAID and software RAID.
====== Test environment ======
** Hardware **
* [[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G149142327280|CloudShell2]]
* 3.5" 4TB WD Red NAS HDD x 2
** Software **
* Ubuntu ( Kernel : Linux odroid 4.9.28-38 ) : Samba, dd(data dump) command
* HELIOS LanTest utility
* Software setting followed by [[http://odroid.com/dokuwiki/doku.php?id=en:xu4_cloudshell2:software_settings|here]]
====== Test Result ======
**Watch this result out, HELIOS LanTest shows RAID 0 mode is the similar performance with RAID 0 of HW or SW. However, \\
In general, the result shows that hardware RAID is about more than 10% faster than software RAID mdadm.**
===== HW RAID 0 =====
{{:en:xu4_cloudshell2:hw-raid0.png?600|}}
root@odroid:/media/hdd# dd if=./urandom.test of=/dev/null iflag=direct bs=8M
384+0 records in
384+0 records out
3221225472 bytes (3.2 GB, 3.0 GiB) copied, 17.889 s, 180 MB/s
===== HW RAID 1 =====
{{:en:xu4_cloudshell2:hw-raid1.png?600|}}
root@odroid:/media/hdd# dd if=./urandom.test of=/dev/null iflag=direct bs=8M
384+0 records in
384+0 records out
3221225472 bytes (3.2 GB, 3.0 GiB) copied, 21.7006 s, 148 MB/s
===== HW SPAN =====
{{:en:xu4_cloudshell2:hw-span.png?600|}}
root@odroid:/media/hdd# dd if=./urandom.test of=/dev/null iflag=direct bs=8M
384+0 records in
384+0 records out
3221225472 bytes (3.2 GB, 3.0 GiB) copied, 20.1366 s, 160 MB/s
===== HW PM =====
{{:en:xu4_cloudshell2:pcdirectconn_pm_hdd1.png?600|}}
root@odroid:/media/hdd2# dd if=./urandom.test of=/dev/null iflag=direct bs=8M
384+0 records in
384+0 records out
3221225472 bytes (3.2 GB, 3.0 GiB) copied, 17.8035 s, 181 MB/s
===== HW PM and SW RAID 0 ( mdadm ) =====
{{:en:xu4_cloudshell2:mdadm-raid0.png?600|}}
root@odroid:/media/hdd# dd if=./urandom.test of=/dev/null iflag=direct bs=8M
384+0 records in
384+0 records out
3221225472 bytes (3.2 GB, 3.0 GiB) copied, 23.8105 s, 135 MB/s
===== HW PM and SW RAID 1 ( mdadm ) =====
{{:en:xu4_cloudshell2:mdadm-raid1.png?600|}}
root@odroid:/media/hdd# dd if=./urandom.test of=/dev/null iflag=direct bs=8M
384+0 records in
384+0 records out
3221225472 bytes (3.2 GB, 3.0 GiB) copied, 48.9907 s, 65.8 MB/s
===== READ TEST ( JBOD(PM) under the Windows 10 via Samba ) =====
{{:en:xu4_cloudshell2:cloudshell2_hdd_read.png?400|}}
===== WRITE TEST ( JBOD(PM) under the Windows 10 via Samba ) =====
{{:en:xu4_cloudshell2:cloudshell2_hdd_write.png?400|}}
===== CloudShell 2 and LVM2 =====
Additional performance test with LVM2 for easier storage upgrade in the future by crazyquark at https://forum.odroid.com/viewtopic.php?f=147&t=27679 \\
Thank you crazyquark \\
{{:en:xu4_cloudshell2:lan-test_lvm2.png?600|}}