Re: [hackers] Re: [PATCH] dd: Use sigaction(2) to obviate select(2)

From: Eric Pruitt <>
Date: Sun, 8 Oct 2017 13:08:05 -0700

On Sun, Oct 08, 2017 at 01:01:55PM -0700, Michael Forney wrote:
> I am curious why ubase dd is using splice instead of just read/write
> (as you noted most other implementations do). Unless there is a big
> performance win, I would think that simplicity and portability would
> be preferable.

I did some digging through the commit history when I created this patch
to find out why: the ubase dd(1) implementation is based on which implements the techniques
described in to improve the
performance of dd(1). That is not to say I agree the added complexity is
worth the performance improvement, but I at least understand the
motivation and think it's a reasonable goal.

Received on Sun Oct 08 2017 - 22:08:05 CEST

This archive was generated by hypermail 2.3.0 : Sun Oct 08 2017 - 22:12:27 CEST