I'm just playing around with my script right now. It seems if you put -readcount
it DRAMATICALLY increases the performance !
I have a set of logfiles I'm running my script on for test purposes. It consists
of 91 logfiles,
taking up 87mb of space.
With -readcount 500 the script plows through them in 10 seconds flat.
Without -readcount... well, now I understand why my original script performs
like a mule on the
Nrnberg Ring. It takes 9 minutes 22 seconds !!!
That's ... an insane difference ! 562 seconds without -readcount. 10 seconds
with. I ran the script
twice, just to verify that it wasn't a one time deal. 9 minutes 17 seconds
the second time without
Only worry I have, is that when I set -readcount to 500, there was a difference
in the output. Without
-readcount, the list was full, with readcount, 2 names were missing in the
list. But upping -readcount
to 1000 fixed it. Any take on what might've happened there ?
Seems blockreading is a good thing after all :)
Jacob Saaby Nielsen