トップ «前の日記(2021-05-25(Tue)) 最新 次の日記(2021-05-28(Fri))» 編集

屑俺日記

僕の備忘録(PC、UN*X、ネットワーク関連が中心)なんです。
自分の書いたところは適当(な時とか)に書き換えますので御了承を。


2021-05-27(Thu) 月食の見えない次の日は雨

USB 3.0 Type BのRAID1にddrescueで

ddrescue copy

Ubuntuのイメージファイルをコピーしてみた。
スパースを無視したため、時間はかなりかかってしまった。

$ time sudo ddrescue -f $DIR/ubuntu18.04.img $DIR2/ubuntu18.04.img log
GNU ddrescue 1.23
Press Ctrl-C to interrupt
     ipos:   42949 MB, non-trimmed:        0 B,  current rate:   1376 kB/s
     opos:   42949 MB, non-scraped:        0 B,  average rate:    111 MB/s
non-tried:        0 B,  bad-sector:        0 B,    error rate:       0 B/s
  rescued:   42949 MB,   bad areas:        0,        run time:      6m 23s
pct rescued:  100.00%, read errors:        0,  remaining time:         n/a
                              time since last successful read:         n/a
Finished
 
real    6m40.831s
user    0m0.968s
sys     0m35.677s

稼働時間のグラフは不正確なようだ。2分で終わったことになっている。
Remaing time や run time は時々飛んでたりしていた。

MicroPythonもうちょっと

やはり遅さを楽しむとか。

import utime
start = end = 0
start = utime.ticks_ms()
print(2**65536)
print("")
end = utime.ticks_ms()
print(end - start)
...895905719156736
 
24668

リンクはご自由にどうぞ。でもURLや内容が変った場合はあしからず。

index.htmlは ここから。