[hackers] [ubase] dd doesn't handle reading from high latency files well

2017-09-05 Thread Eric Pruitt
While testing a shell script with sbase and ubase, I ran into a problem where dd would chew up my CPU whenever it read from a slow file. I noticed this when running "dd" in a pipeline with "/dev/random" while my system was low on entropy. Here are the timing outputs from ubase's dd compared to GNU

[hackers] [sbase] [PATCH] Add missing getconf.h dependency to sbase-box

2017-09-05 Thread Eric Pruitt
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git Makefile Makefile index 1c39fef..0e421e7 100644 --- Makefile +++ Makefile @@ -233,7 +233,7 @@ dist: clean gzip sbase-$(VERSION).tar rm -rf sbase-$(VERSION) -sbase-box: $(LIB) $(SRC) +sbase-box: $(LIB)