1 Mechanical HDD Performance Test 1.1 sequential read performance test
Figure 1.1 Mechanical hard drive sequential read test
The above is the mechanical hard disk in the sequential reading of the performance test, the test shows that the average reading speed can reach 84.0mb/s.
1.2 Sequential write performance test
Figure 1.2 Mechanical HDD Sequential write test
The above is the mechanical hard disk in the case of sequential write performance test, the test shows that the average write speed can reach 79.0mb/s.
1.3 Random Read performance test
Figure 1.3 Mechanical HDD Random Read test
The above is the performance test of the mechanical hard disk under random reading condition. The test shows that the average read speed is only 0.033mb/s when the data block is 512 bytes, and the data block size is 4KB, reading speed is only 0.226mb/s.
1.4 Random Write performance test
Figure 1.4 Mechanical HDD Random write test
The above is the performance test of the mechanical hard disk in the random write case. The test shows that the average write speed is only 0.083mb/s when the data block is 512 bytes, and the average write speed is only 0.576mb/s when the block size is 4KB.
1.5 Test Result Analysis
From the above tests can be seen, mechanical hard disk in sequential read and write scenarios have a very good performance, but a random read and write performance is a straight down. The reason is because the mechanical hard disk uses the traditional magnetic head probe structure, the random read and write need frequently seek, also need the head and probe frequent rotation, and the mechanical structure of the head and probe position adjustment is very time-consuming, which seriously affect the speed of the hard disk addressing, and thus affect the random write speed.
2 USB flash drive Performance Test 2.1 USB 2.0 read-write performance test
Figure 2.1 USB 2.0 sequential Read test
Figure 2.2 USB 2.0 Random Read test
Figure 2.3 USB 2.0 Write test
The above is the sequential read-write and Random read-write performance test of USB2.0 interface USB stick, the test display sequential reading and writing speed is 18.665m/s and 8.171m/s, compared to mechanical hard disk is much slower; the random read speed of 512 bytes data block is about 0.689MB/S, 4KB data block under random reading speed of 4.737mb/s, faster than mechanical hard disk, random write because there is no suitable testing tools, can not directly test the performance of 512 bytes and 4KB blocks of data,
Figure 2.3 is the sequential and random write performance tested with Hdbench, but with 1mb/s fixed-size data blocks, the random write performance of the USB flash drive from the test results should be far behind the random read performance. Considering the random reading and writing scenarios of the database, the USB drive of the 2.0 interface cannot meet the performance requirements.
2.2 USB 3.0 Read and write performance test
Figure 2.4 USB 3.0 sequential Read Test
Figure 2.5 USB 3.0 Random Read test
Figure 2.6 USB 3.0 Supplementary test
The USB3.0 interface is an upgraded version of the USB2.0 interface and has a higher data transfer rate than 2.0. The above is the use of USB3.0 interface to read and write performance test, from the test results can be seen, 3.0 interface of the USB flash drive has a great increase in sequential read and write performance, sequential reading can reach the 82.4mb/s, basic and mechanical hard disk performance level, the random read and write performance slightly improved, not very obvious. Considering the high requirements of TC for Random Read and write performance, the USB drive with 3.0 interface is still difficult to meet the performance requirements.
2.3 Test Result Analysis
Combined with the above test results, slow write speed is the main performance bottleneck of the USB drive, especially the random write performance. Considering the random reading and writing of the database, the USB flash drive can not meet the performance requirements.
3 Solid-State drive performance Testing
SSDs, also known as electronic hard disks or solid-state electronic disks, are hard disks made up of control units and solid-state storage units (DRAM or flash chips). SSD storage media are divided into two, one is the use of flash memory (Flash chip) as a storage medium, the other is the use of DRAM as a storage medium, the vast majority of solid state drives are currently using flash media. The storage unit is responsible for storing data, and the control unit is responsible for reading and writing data. Because the SSD does not have the mechanical structure of the ordinary hard disk, there is no seek problem of the mechanical hard disk, so the system can complete the input/output operation to any location storage unit in less than 1ms time.
Among the many SSD brands, the Intel series is relatively mature and representative, following our performance testing of sequential and random read and write for an Intel SSD.
3.1 Sequential read performance test
3.1 Solid-State drive sequential read performance test
The above is the performance test in the case of solid-state drive sequential reading, the test shows that the average reading speed can reach 220.7mb/s.
3.2 Sequential Write performance test
3.2 Solid-State drive sequential write performance test
The above is the performance test in the case of SSD sequential write, the test shows that the average write speed can reach 77.2mb/s.
3.3 Random Read performance test
3.3 Solid-State drive random Read performance test
The above is the performance test of the SSD under random read condition. The test shows that when the data block is 512 bytes, the average reading speed can reach 5.296mb/s, the data block size is 4KB, the reading speed can reach 24.654mb/s.
3.4 Random Write performance test
3.4 Solid-State drive random write performance test
The above is a performance test of a solid state drive in random write situations. The test shows that when the data block is 512 bytes, the average write speed can reach 10.203mb/s and the data block size is 4KB, the average write speed can reach 68.910mb/s.
3.5 Test Result Analysis
From the above test results can be seen, compared to mechanical hard disk and USB drive, solid-state drive in the random read and write performance, the data block at 512 byte size, random reading speed can reach 5.296m/s, the random write speed can reach 10.203m/s, The mechanical hard disk is 151 times times and 125 times times, the performance of continuous reading is also excellent, for 220.7m/s, the performance of continuous write is slightly inferior to mechanical hard disk, but also can reach 77.2m/s.
4 performance comparison and selection of solid state drives for each brand 4.1 SSD performance Comparison
SSDs consist mainly of three components: Host controller, flash memory, cache grain. At present, the performance and life of solid-state drive are mainly affected by the main controller. SSD flash memory and USB flash memory is almost the same, mostly Samsung or Intel production of particles, the performance difference is not very large. The cache particles are ordinary DDR memory particles, but also Korean Samsung or modern chip. Therefore, the biggest impact on SSD performance is the processing power of the main control, the same flash particles with different master chip, performance may be a difference .
SSD's main advantage is reflected in the small file random read and write performance, and if the main control performance, the indicators will be worse than the mechanical hard disk, cottage SSD is a lot of problems, the bottleneck is stuck in the main control, its control chip data processing capacity is limited, many bugs, the optimization of storage debris is unfavorable, Led to a number of unpredictable problems. Currently, the main manufacturers of SSD include: Indilinx, Intel, JMicron, Marvell, Samsung, SandForce, Toshiba and so on. From the online numerous evaluation and user feedback, the use of Intel Master series of solid-state drives, random reading and writing ability is better, is a good choice. Below are the performance reviews for SSDs within four thousand dollars.
Figure 4.1
The test results for random read-write performance clearly show a huge difference between the different masters, and Intel's master performance is excellent, and is not comparable to any other product. The performance of the Corsair F40 with SF Master is also good, but the single-threaded indicator still does not rival Intel. The random reading and writing performance of the other two Shanzhai products is poor.
Mechanical HDD SSD performance comparison