You're replying to a comment by chkno.

February 02, 2009, 21:30

Before I found pv, I used "buffer -z 512K" to get pipe flow feedback. It doesn't have a concept of total size, so you end up doing the ETA calculations yourself.

Are there any performance ramifications of inserting this into the stream?

Yes, and one way to measure them is to chain several pv's together:

pv -c  /dev/null
#     MB/s
   pv  buffer
1 4430  2950
2  514   580
3  271   296
4  206   213
5  201   197
6  162   157

(buffer comparison included for curiosity's sake.)

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "0day_126": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.