"sqlio -kW -b64" - Writing 64-KB Block Test
How to perform tests for writing 64 KB files? My Website allows users to upload picture files with an average of 64 KB per file.
If you want to know how your environment performs on writing 64 KB files, you can use the following SQLIO options:
Below is a test result SQLIO with above options on a Dell computer hard disk with Windows 8:
C:\fyicenter\SQLIO>sqlio -LS -kW -b64 -i64 -f64 -t1 -s300 1 thread writing for 300 secs to file testfile.dat using 64KB IOs over 4096KB stripes with 64 IOs per run size of file testfile.dat needs to be: 268435456 bytes initialization done CUMULATIVE DATA: throughput metrics: IOs/sec: 487.31 MBs/sec: 30.45 latency metrics: Min_Latency(ms): 0 Avg_Latency(ms): 1 Max_Latency(ms): 280 histogram: ms: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24+ %: 59 13 11 6 3 3 1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0
As you can see, this Dell computer is capable to write 487 files of 64 KB per second to the hard disk in a single thread without any buffering.
The average latency of writing a 64-KB block is about 1 milliseconds. In other words, your users should be able to upload a file to your Website in 1 millisecond if we ignore the impact of the Web server software.
Comparing to the data reading test in the previous tutorial, the result might be a surprise to many of us. This Dell computer writes data at a speed of 30.45 MBs/sec, but reads data at a speed of 8.77 MBs/sec. So writing data is 3.5 times faster than reading data!
Usually, hard disks are capable to read faster than write. But in the case of 64-KB block I/O tests, operating system caching mechanism helps writing more than reading. See next tutorials on performance impact of block size.
2019-08-23, 463👍, 0💬
What are browser popup ads for Firefox? Browser popup ads are new browser windows opened by Websites...
Where to find answers to frequently asked questions on Google Chrome? I want to know how to install ...
How to download and install SoapUI on Windows systems? Here are the steps to download and install So...
How to use my iPhone and iPad to set up and manage Chromecast device on my TV? I have a Chromecast d...
What is "Send to Bluetooth" in Microsoft Word? Should I disable it? "Send to Bluetooth" is a COM Add...