On 16:16 23 Jun 2003, Tao Chen <[EMAIL PROTECTED]> wrote:
| Am I the only one who noticed this ?
No.
| I installed R9 (with latest patch from RHN) on a new P4 box ( 2.4GHz, 1GB
| memory).
| Run an awk script on a 1GB file, it took about 25 minutes run on an AIX box
| with 300+ MHz cpu,
| but more than 29minutes on this R9. Same P4 box, same script, same text
| file, running with AT&T's UWIN
| on Windows XP, only takes 9 minutes ( which is what I expect from this
| 2.4GHz CPU).
[...]
| Since awk, sed, grep all run extremely slow on both of my Redhat 9 boxes,
| I can't think of any reason other than the text processing library or kernel
| has some serious performance bug.
Yep. It's the UTF-8 stuff, which is inherently more expensive to parse.
Set your locale to "C" thus:
export LC_ALL=C
and try your tests again.
There has been some progress with this. See here:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=82032
Cheers,
--
Cameron Simpson <[EMAIL PROTECTED]> DoD#743
http://www.cskk.ezoshosting.com/cs/
Think of me as CVS with a brain and with some taste. - Linus Torvalds
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list