mirror of
				https://github.com/masonr/yet-another-bench-script.git
				synced 2025-10-31 13:46:17 +00:00 
			
		
		
		
	added read speed disclaimer
This commit is contained in:
		| @@ -12,7 +12,7 @@ This script isn't an attempt to be a golden standard. It's just yet another benc | |||||||
|  |  | ||||||
| ## Tests Conducted | ## Tests Conducted | ||||||
|  |  | ||||||
| * **dd** - the dd utility is utilized to test disk performance. Both write and read speeds are evaluated by writing to and reading from a test file. Disclaimer: read speeds may be heavily influenced by cache depending on configuration of the host. | * **dd** - the dd utility is utilized to test disk performance. Both write and read speeds are evaluated by writing to and reading from a test file. \*Disclaimer: read speeds may be heavily influenced by cache depending on configuration of the host. | ||||||
| * **iperf3** - the industry standard for testing download and upload speeds to various locations. This script utilizes iperf3 with 8 parallel threads and tests both download and upload speeds. If an iperf server is busy after 10 tries, the speed test for that location/direction is skipped. | * **iperf3** - the industry standard for testing download and upload speeds to various locations. This script utilizes iperf3 with 8 parallel threads and tests both download and upload speeds. If an iperf server is busy after 10 tries, the speed test for that location/direction is skipped. | ||||||
|  |  | ||||||
| ## Example Output | ## Example Output | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								yabs.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								yabs.sh
									
									
									
									
									
								
							| @@ -71,7 +71,7 @@ if [ -f "$DATE.test" ]; then | |||||||
| 	printf "%-6s | %-10s | %-10s | %-10s | %-10s\n" " " "Test 1" "Test 2" "Test 3" "Avg" | 	printf "%-6s | %-10s | %-10s | %-10s | %-10s\n" " " "Test 1" "Test 2" "Test 3" "Avg" | ||||||
| 	printf "%-6s | %-10s | %-10s | %-10s | %-10s\n" | 	printf "%-6s | %-10s | %-10s | %-10s | %-10s\n" | ||||||
| 	printf "%-6s | %-10s | %-10s | %-10s | %-10s\n" "Write" "${DD_WRITE_TEST_RES[0]}" "${DD_WRITE_TEST_RES[1]}" "${DD_WRITE_TEST_RES[2]}" "${DD_WRITE_TEST_AVG} ${DD_WRITE_TEST_UNIT}"  | 	printf "%-6s | %-10s | %-10s | %-10s | %-10s\n" "Write" "${DD_WRITE_TEST_RES[0]}" "${DD_WRITE_TEST_RES[1]}" "${DD_WRITE_TEST_RES[2]}" "${DD_WRITE_TEST_AVG} ${DD_WRITE_TEST_UNIT}"  | ||||||
| 	printf "%-6s | %-10s | %-10s | %-10s | %-10s\n" "Read" "${DD_READ_TEST_RES[0]}" "${DD_READ_TEST_RES[1]}" "${DD_READ_TEST_RES[2]}" "${DD_READ_TEST_AVG} ${DD_READ_TEST_UNIT}"  | 	printf "%-6s | %-10s | %-10s | %-10s | %-10s\n" "Read*" "${DD_READ_TEST_RES[0]}" "${DD_READ_TEST_RES[1]}" "${DD_READ_TEST_RES[2]}" "${DD_READ_TEST_AVG} ${DD_READ_TEST_UNIT}"  | ||||||
|  |  | ||||||
| else | else | ||||||
| 	echo -e "You do not have write permission in this directory\nSwitch to a different directory to test disk speed.\nSkipping dd tests." | 	echo -e "You do not have write permission in this directory\nSwitch to a different directory to test disk speed.\nSkipping dd tests." | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user