1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

pigzでプログレスバーを表示させる

Last updated at Posted at 2019-12-30

pvコマンドを使えば出せる。

pvコマンドのインストール

sudo apt install pv

圧縮

pv hoge.fastq | pigz -p 8 > hoge.fastq.gz

備考

ディスクの書き込み速度をmonitorで見ていると、-p 8 でもせいぜい10MiB/s 程度のようある。
おおざっぱに、HDDの書き込み速度が 60〜120 MiB/s 程度、SSDの書き込み速度が 400〜500 MiB/s 程度だとすると、HDDを使っている場合でも -p 16 としても書き込み速度が律速になることはなく、安心してプロセスの数を増やせる気がする。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?