This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
> in
>     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.
> Fergus
> 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
Brewer.  Patriot.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]