First testing target of the two is a 2.5TB RAID (/ssd, with 12 2.5" SSD, XFS)
Another is a 400GB PCIe SSD (/ssd2, ext4).
Both of them connect to a server. It has only GbE network, so NFS performance on them will be limited by network.
All clients uses GbE.
All server and clients uses CentOS 6.4.
Test is done with Bonnie++, 4 types of tests are:
1. Large file sequential (>1GB)
2. 1MB files creation, 1024 files
3. 100KB files creation , 2048 files
4. 10KB files creation, 4096 files
Read tests are done only on large files. These hosts have large RAM, I can create larger file ( > 2x of RAM size is recommended) to fill the cache and get correct performance. But doing so on file creation test costs too much time, so... (In short I'm lazy on this)
Another post on Bonnie++ will be here soon ;)
Let's see local SSD performance (all speed unit in MB/s)
1GB | 1MB | 100K | 10K | ||
read | write | write | write | write | |
/ssd | 739.02 | 699.54 | 631.00 | 173.50 | 21.04 |
/ssd2 | 1223.17 | 1152.45 | 831.00 | 644.20 | 104.50 |
Woo! We have over 1.2GB/s speed on PCIe SSD!
The high IOPs of SSD really wins when small files are used.
The SSD RAID, however, suffers from the RAID controller and lose to single SSD.
Maybe this model is not optimized for SSD operation, so do not imply this on all RAID machines.
The high IOPs of SSD really wins when small files are used.
The SSD RAID, however, suffers from the RAID controller and lose to single SSD.
Maybe this model is not optimized for SSD operation, so do not imply this on all RAID machines.
Getting through NFS slows down of course. Let's see the result of 1 client, 8 clients simultaneously, and 16 clients simultaneously:
(I forgot to take the large file read on multiple clients test. Spare me since they will be GbE limit...)
NFS test | 1GB | 1MB | 100K | 10K | ||
read | write | write | write | write | ||
1 client | /ssd | 117.74 | 102.00 | 77.00 | 33.40 | 6.56 |
/ssd2 | 113.09 | 101.25 | 75.00 | 56.50 | 17.39 | |
8 clients | /ssd | 110.87 | 112.00 | 118.10 | 64.60 | |
/ssd2 | 105.94 | 111.00 | 115.70 | 66.32 | ||
16 clients | /ssd | 111.10 | 102.00 | 119.40 | 95.76 | |
/ssd2 | 80.47 | 108.00 | 117.90 | 103.26 |
Comparing performance on NFS and local disk shows the network overhead is heavy when small files are used.
No comments:
Post a Comment