Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Use a soft Raid play multiple SSD hard drive performance and enhance data security     - Mounting Windows shared directory system under the Linux (Linux)

- The difference between IPython and Python (Linux)

- Partition and file system under Linux (Linux)

- Security of data to create a safe .mdb database (Linux)

- Why you should choose Python Programming (Programming)

- ASM required disk format process in Solaris platforms (Linux)

- Android and OpenCV2.4.4 build an image processing framework (2013 edition) (Linux)

- Oracle 12C modify spfile path (Database)

- Oracle11g build physical standby database (Database)

- Android basics summary article (Programming)

- Oracle Client Dedicated and Shared connection mode (Database)

- Oracle 12C RAC on temporary table space Enlighten (Database)

- Build Docker based MongoDB replication cluster environment (Database)

- Linux start the process (Linux)

- SME Linux network security policy server security (Linux)

- Linux system package manager (rpm, yum, source packages installation) (Linux)

- Nagios plugin installation tutorial of Nrpe (Linux)

- Install Websphere MB required system rpm package under Linux (Linux)

- Use OpenSSL to generate a certificate detailed process (Linux)

- Ubuntu Series Installation Docker (Linux)

 
         
  Use a soft Raid play multiple SSD hard drive performance and enhance data security
     
  Add Date : 2018-11-21      
         
       
         
  Disk IO bottleneck for many years, with the SSD hard drive technology has become more sophisticated, the cost of gradual decline, more and more companies began to use SSD hard disk on the server.

Ever since last year added to the notebook SSD interface after a mSata improve overall system performance beyond words!

Monolithic SSD performance has been very good, if not Raid the data security can not be guaranteed. But using ordinary Raid card running SSD hard disk, the bottleneck will be pressed against the Raid card. Both to good performance, but also data security, you can choose tall on: PCIE interface solid state drive (SSD) or flash memory card (FlashCard).

There is no one kind of populist options? The answer is soft Raid, such as mdadm v3.2.5 Linux under.

1, soft Raid can play multiple SSD performance, the more the better the performance of the disk (currently only tested up to five discs)

2, Raid0 best performance, but the least secure

3, Raid5 write performance is poor, resulting in mixed read and write performance is drag you down

4, Raid10 the best solution is a comprehensive performance, capacity, data security

Test scripts are as follows:

#! / Bin / bash -x
yum -y install fio mdadm xfsprogs
mkdir -pv / ssd
umount / ssd
mdadm -S / dev / md0
yes | mdadm -C / dev / md0 -a yes -l 0-n 5 - assume-clean / dev / sd {b, c, d, e, f}
mkfs.xfs -f / dev / md0
mount / dev / md0 / ssd
rm -fv /tmp/fio-*.txt
cat / proc / mdstat
mdadm -D / dev / md0
fio --bs = 512 - ioengine = libaio --userspace_reap --time_based --runtime = 600 - group_reporting --buffered = 0 - direct = 1 - randrepeat = 0 - norandommap --ramp_time = 6-- iodepth = 16 - numjobs = 16 - size = 100G - directory = / ssd --name = randread --rw = randread --filename = fio-test.file --output = / tmp / fio-r.txt # random read
fio --bs = 512 - ioengine = libaio --userspace_reap --time_based --runtime = 600 - group_reporting --buffered = 0 - direct = 1 - randrepeat = 0 - norandommap --ramp_time = 6-- iodepth = 16 - numjobs = 16 - size = 100G - directory = / ssd --name = randwrite --rw = randwrite --filename = fio-test.file --output = / tmp / fio-w.txt # random write
fio --bs = 512 - ioengine = libaio --userspace_reap --time_based --runtime = 600 - group_reporting --buffered = 0 - direct = 1 - randrepeat = 0 - norandommap --ramp_time = 6-- iodepth = 16 - numjobs = 16 - size = 100G - directory = / ssd --name = randmixed --rwmixwrite = 20 --rw = randrw --filename = fio-test.file --output = / tmp / fio-m.txt # 8: 2 mixed read-write
grep --color iops /tmp/fio-*.txt
Note that the default soft Raid will not boot automatically load, you need to generate the configuration file manually.

mdadm --verbose --detail --scan> /etc/mdadm.conf
# ARRAY / dev / md0 level = raid0 num-devices = 5 metadata = 1.2 name = ssd.higkoo.org: 0 UUID = 0dfa7417: 13c1622d: 1dca1dfe: 12a0e0f4
# Devices = / dev / sdb, / dev / sdc, / dev / sdd, / dev / sde, / dev / sdf
"/etc/mdadm.conf" Detailed description can view the help or "rpm -ql mdadm | grep" mdadm.conf "" sample file for the reference.

Then write to fstab Raid partition, it can use / dev / md0 or `ls -l / dev / disk / by-uuid` view its uuid. Writes some data, and then restart verification.!
     
         
       
         
  More:      
 
- Apache2.4.7 make an error [exports.lo] Error 1 Solution (Server)
- Different versions of MongoDB achieve master-slave replication (Database)
- Crawl use Wireshark packet on remote Linux (Linux)
- ActiveMQ5.10.2 version configuration JMX (Linux)
- How to improve the performance of Ruby On Rails (Linux)
- Java inner classes (Programming)
- xCAT error Unable to dispatch hierarchical sub-command to NORESOLUTION: 3001 (Linux)
- Linux upgrade GCC 4.8.1 clear and concise tutorials (Ubuntu 12.04 64-bit version as an example) (Linux)
- The user how to install Notepadqq 0.41.0 under ubuntu and debian (Linux)
- Tecplot Installation under Linux (Linux)
- Setting Wetty do not need an account login command line operations (Linux)
- Linux log management make the system more secure (Linux)
- Linux System Getting Started Learning: After starting in Ubuntu or Debian, enter the command line (Linux)
- Struts2 study notes -Valuestack (value stack) and OGNL expression (Programming)
- Node.js simple interface server (Server)
- C / C ++ language variable scope: local variables, global variables, file-level variables (Programming)
- Analysis of C ++ exception mechanism (Programming)
- Linux kernel IPv6 protocol closed manner (Linux)
- Java Set and List in the relationship and difference (Programming)
- Linux firewall settings instance (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.