根据aws文件。 1PIOPS = reads and writes in I/O sizes of 16KB blocks.
我的问题是,我需要多less时间才能将1GB数据复制到500 PIOPS的卷上?
1GB= 1024*1024 KB = 1048576KB
所需时间
t = 1GB /(500*16 KB) = 47 seconds.
但是我能够在19秒内写入1GB的文件。
我使用以下命令生成文件:
openssl rand -out sample.txt -base64 $(( 2**30 * 3/4 ))
然后发射下面的命令。
同步 ; 时间copy.bash sample.txt
其中copy.bash具有以下内容。
cp $1 $2/ sync
计算数据时我做错了什么?