Subject: CVS commit: syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 10/28/2001 22:47:16
Module Name:	syssrc
Committed By:	jdolecek
Date:		Sun Oct 28 20:47:16 UTC 2001

Modified Files:
	syssrc/sys/kern: sys_pipe.c

Log Message:
Avoid using microtime(9) for atime/mtime, we don't need to have it
THAT accurate and microtime(9) is painlessly slow on i386 currently.
This speeds up small transfers much. The gain for large transfers
is less significant, but notable too.
Bottleneck was found by Andreas Persson (Re: kern/14246).

Performance improvement with PIII on 661 Mhz according to hbench (with
PIPE_MINDIRECT=8192):

buffersize     before    after
512            17        49
1024           33        110
2048           52        143
4096           77        163
8192           142       190
64K            577       662
128K           372       392


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 syssrc/sys/kern/sys_pipe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.