From 2c6736f92fc7d2f310714473ea84ceff57e01da2 Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Mon, 4 Nov 2013 23:14:11 +0000 Subject: shred: write larger chunks when possible * src/shred.c (dopass): When not needing to write periodic patterns, use a 64KiB block size to reduce the number of write system calls. --- NEWS | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index b4804a286..bb35583b6 100644 --- a/NEWS +++ b/NEWS @@ -87,8 +87,9 @@ GNU coreutils NEWS -*- outline -*- Reservoir sampling is used to limit memory usage based on the number of outputs, rather than the number of inputs. - shred once again uses direct I/O where available. - [Regression introduced in coreutils-6.0] + shred once again uses direct I/O where available, and increases write block + size from 12KiB to 64KiB when possible. + [Direct I/O regression introduced in coreutils-6.0] split --line-bytes=SIZE, now only allocates memory as needed rather than allocating SIZE bytes at program start. -- cgit v1.2.3-70-g09d2