CPU test tools and test methods
1.Super Pi and Unixbench
Super Pi is a CPU-intensive benchmark tool. Is mainly a comparison of floating-point computing capabilities.
Principle: Calculates the n digits after the Pi decimal point.
Unixbench:unix System Benchmark Suite. Test Project Dhrystone test
Focus string processing, used to test linker compilation, code optimization, memory cache, wait state, integer data type. Whetstone test: Test the efficiency and speed of floating-point arithmetic. A large number of C language math functions File copy test pipe throughput test: Pipeline throughput Test pipe-based context switching pipeline-based contextual interaction test process Creation processes create test shell feet This test: The number of times a process can start and stop a shell script in a minute System call Overhead: program repeats, repeatedly calls Getpid graphical graphics test memory test tools and test methods
The performance difference between VM and physical machine is mainly embodied in memory consumption and release, because the memory consumption and release of virtual machine need to be operated on the virtual machine once, but also to operate on the host one time, actually mapped two times.
2.Memtester and memtest86+ Network test Tools and test methods
Network IO is the difficulty and hotspot in virtualization.
Recommended use cases for network IO testing:
-TCP Throughput Test
-TCP Connection Number test
-TCP But connected multi-trading test
-TCP Contract Rate test
-UDP throughput Test
-UDP packet Rate test
-Business model Network simulation test
Test Tools
3.Netperf disk IO test tools and test methods
Test content includes:
-benchmark: More generic, such as 4K random write IOPS
-business model test: The Cache has a significant impact on Io speed.
4. Test tools: Fio and IOMETER,IOZONE,DD commands
IOZone are for file system performance testing tools.