This is the mail archive of the
mailing list for the Cygwin project.
RE: pipe improvements in snapshot
- From: "Gary R. Van Sickle" <g dot r dot vansickle at worldnet dot att dot net>
- To: <cygwin at cygwin dot com>
- Date: Thu, 12 Dec 2002 00:08:17 -0600
- Subject: RE: pipe improvements in snapshot
> W98/SE. With the current cygwin1.dll I tried
> time cat <hugefile> | nice -0 dd of=/dev/null
> time cat <hugefile> | nice --1 dd of=/dev/null
> where hugefile ~ 100MB, and got times roughly 1m20s with the 2nd instruction
> marginally faster. Then switched to the snapshot cygwin1-20021210.dll and
> shaved a minute yes a minute off the times. Then tried creating new files as
> time cat <hugefile> | nice -0 dd of=hugefile2
> time cat <hugefile> | nice --1 dd of=hugefile3
> (this took about 30s each) and checked md5sums. Not a byte out of place.
> P.S. Thanks to thomas for these good diagnostic scripts.
OH. MY. GOD.
If I understand the problem and solution (which I marginally do), and Win9x vs.
WinNT/XP (which nobody really does), this ***~2.66x*** speedup should be even
greater on NT/XP.
I'm giddy with anticipation over what this might do to configure times etc.
This may be the coolest thing since sliced time.
Gary R. Van Sickle
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html