• Joined on 2024年04月14日
basinilya commented on issue ivarch/pv#166 2025年10月01日 08:24:52 +02:00
msys64/Cygwin: pv consumes more than prints with --stop-at-size

One question: is it intentional that --size 0 --stop-at-size turns off the limit? Because in dd count=0 it's different

basinilya commented on issue ivarch/pv#166 2025年10月01日 08:17:43 +02:00
msys64/Cygwin: pv consumes more than prints with --stop-at-size

Yes it works, thanks Andrew

basinilya commented on issue ivarch/pv#166 2025年09月30日 07:07:41 +02:00
msys64/Cygwin: pv consumes more than prints with --stop-at-size

I've just got the same results as you. Msys64/Cygwin strace accepts different arguments:

echo abcdefghi 
basinilya commented on issue ivarch/pv#166 2025年09月29日 21:29:21 +02:00
msys64/Cygwin: pv consumes more than prints with --stop-at-size

PS the reason why I don't use dd is that dd only guarantees exact transfer size when iflag=fullblock, but that accumulates the data instead of writing it immediately. PV seemed a perfect alternative.

basinilya opened issue ivarch/pv#166 2025年09月29日 21:24:03 +02:00
msys64/Cygwin: pv consumes more than prints with --stop-at-size
basinilya commented on issue ivarch/pv#87 2024年05月06日 22:13:42 +02:00
Inconsistent buffer filling when writes are stuck, particularly on Cygwin

I also recompiled the Cygwin binary with debug as you suggested and got the same results as you. I asked in the mailing list https://cygwin.com/pipermail/cygwin/2024-May/255941.html

In the...

basinilya commented on issue ivarch/pv#87 2024年05月06日 12:34:49 +02:00
Inconsistent buffer filling when writes are stuck, particularly on Cygwin

displayed output stops entirely for at least 10 seconds

Yes.

Then after the "sleep" finishes, both "pv" instances just sit there updating their progress

For me the entire command...

basinilya reopened issue ivarch/pv#87 2024年05月06日 09:51:08 +02:00
Inconsistent buffer filling when writes are stuck, particularly on Cygwin
basinilya commented on issue ivarch/pv#87 2024年05月06日 09:51:08 +02:00
Inconsistent buffer filling when writes are stuck, particularly on Cygwin

@a-j-wood

I currently only have the Cygwin build of pv 1.8.9 and I noticed a possible problem: pv may fail to flush its buffer after EOF. Please try to reproduce it.

basin@basin /tmp
$...
basinilya commented on issue ivarch/pv#87 2024年04月14日 20:16:54 +02:00
Inconsistent buffer filling when writes are stuck, particularly on Cygwin

I get similar results with:

WSL2 (Ubuntu): 1.6.6-1build2 amd64
Msys2: 1.6.20 x86-64
Cygwin64: 1.8.5
basinilya opened issue ivarch/pv#87 2024年04月14日 12:02:40 +02:00
pv stops filling the buffer if stuck in write call