*extremely* slow text processing on Redhat 9

2003-06-24 Thread Tao Chen
Am I the only one who noticed this ? 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, runni

Re: *extremely slow* text processing on Redhat 9

2003-06-24 Thread Bill Tangren
Reuben D. Budiardja wrote: export LC_ALL=C export LANG=c Where can I place both of these so that all users who log in will have them set by default? Maybe something like /etc/profile or /etc/bashrc (if you're using bash). RDB Thanks! Bill -- redhat-list mailing list unsubscribe mailto:[E

Re: *extremely slow* text processing on Redhat 9

2003-06-24 Thread Reuben D. Budiardja
On Tuesday 24 June 2003 09:41 am, Bill Tangren wrote: > Ian Mortimer wrote: > >>Am I the only one who noticed this ? > > > > No. See: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=69900 > > and related bugzilla entries. > > > >>Since awk, sed, grep all run extremely slow on both of my Redh

Re: *extremely slow* text processing on Redhat 9

2003-06-24 Thread Bill Tangren
Ian Mortimer wrote: Am I the only one who noticed this ? No. See: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=69900 and related bugzilla entries. 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 librar

Re: *extremely slow* text processing on Redhat 9

2003-06-23 Thread Cameron Simpson
On 21:20 23 Jun 2003, Bret Hughes <[EMAIL PROTECTED]> wrote: | > 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://

Re: *extremely slow* text processing on Redhat 9

2003-06-23 Thread Bret Hughes
On Mon, 2003-06-23 at 18:43, Cameron Simpson wrote: > On 16:16 23 Jun 2003, Tao Chen <[EMAIL PROTECTED]> wrote: > | Am I the only one who noticed this ? > > No. > > Yep. It's the UTF-8 stuff, which is inherently more expensive to parse. > Set your locale to "C" thus: > > export LC_ALL=C >

Re: *extremely slow* text processing on Redhat 9

2003-06-23 Thread Tao Chen
Thank you, Ian and Cameron ! After export LC_ALL=C, the script is flying, before: 29 minutes after : 2 minutes Now I feel the new P4 is worth the money :-) Tao -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Re: *extremely slow* text processing on Redhat 9

2003-06-23 Thread Cameron Simpson
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

Re: *extremely slow* text processing on Redhat 9

2003-06-23 Thread Ian Mortimer
> Am I the only one who noticed this ? No. See: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=69900 and related bugzilla entries. > 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 > h

*extremely slow* text processing on Redhat 9

2003-06-23 Thread Tao Chen
Am I the only one who noticed this ? 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, runni