2015年12月24日 星期四

dd 所需要的時間計算

target device = X
target device speed = Y  (要先測試才知道)

公式:
 (X*1024) / Y = Z Secs

取得Y (紅字) 也是一樣,
( 先用dd做小檔案備份,取得讀寫速度 )
$ dd if=dummy of=dummy2
2097152 + 0 records in
2097152 + 0 records out
1073741824 bytes (1.1 GB) copied, 53.0985 s,  20.2 MB/s

以 500GB 為例:
( 500*1024 )/20 = 25600 seconds =~ 425 minutes =~ 7 hours

ref : linuxquestions

沒有留言:

張貼留言