Skip to content

cp: improve throughput with pipe input (Linux only)#11798

Merged
sylvestre merged 1 commit into
uutils:mainfrom
oech3:cp-stream
Apr 14, 2026
Merged

cp: improve throughput with pipe input (Linux only)#11798
sylvestre merged 1 commit into
uutils:mainfrom
oech3:cp-stream

Conversation

@oech3
Copy link
Copy Markdown
Contributor

@oech3 oech3 commented Apr 14, 2026

$ truncate -s 9PB /tmp/huge
$ cat /tmp/huge | target/debug/cp /dev/stdin /dev/stdout | pv>/dev/null
[35.7GiB/s]
$ cat /tmp/huge | cp /dev/stdin /dev/stdout | pv>/dev/null
[9.83GiB/s]

@oech3 oech3 changed the title cp: improve throughput with pipe input cp: improve throughput with pipe input (Linux only) Apr 14, 2026
@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/tty/tty-eof (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/date/date-locale-hour (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/pr/bounded-memory (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tail/tail-n0f (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/expand/bounded-memory is now passing!

@oech3 oech3 marked this pull request as ready for review April 14, 2026 06:00
@sylvestre sylvestre merged commit 1f45676 into uutils:main Apr 14, 2026
167 checks passed
@oech3 oech3 deleted the cp-stream branch April 15, 2026 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants