Rosenbaum, Larry M. writes: > > From: Loren Wilton [mailto:[EMAIL PROTECTED] > > Subject: Re: Poor performance with v3.2.0 > > > > It would be interesting on some system experiencing this slowdown to > put > > 'use bytes' back into SA and see what happens with the performance. > This > > wouldn't be any sort of a solution, but it would be an interesting > data > > point. > > Interesting indeed. I added "use bytes" and performance is much > improved. It's approximately back to where it was with v3.1.8. So what > does this all mean?
Did you have a massive volume of "Malformed UTF-8" warning messages in the syslog output? I have a theory that this would indeed cause major slowdowns, since every warning message has to be transmitted via UDP to the syslogd daemon, who then writes it synchronously to disk. That is a pretty slow operation, and causes I/O. --j. > In case it matters, here's the output of "perl -V": > > Summary of my perl5 (revision 5 version 8 subversion 8) configuration: > Platform: > osname=solaris, osvers=2.9, archname=sun4-solaris > uname='sunos email 5.9 generic_118558-39 sun4u sparc > sunw,sun-fire-v210 ' > config_args='-Dcc=gcc -d' > hint=recommended, useposix=true, d_sigaction=define > usethreads=undef use5005threads=undef useithreads=undef > usemultiplicity=undef > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='gcc', ccflags ='-fno-strict-aliasing -pipe > -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64', > optimize='-O', > cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement > -I/usr/local/include' > ccversion='', gccversion='3.4.6', gccosandvers='solaris2.9' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=8 > alignbytes=8, prototype=define > Linker and Libraries: > ld='gcc', ldflags =' -L/usr/local/lib ' > libpth=/usr/local/lib /usr/lib /usr/ccs/lib > libs=-lsocket -lnsl -ldl -lm -lc > perllibs=-lsocket -lnsl -ldl -lm -lc > libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' > cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' > > > Characteristics of this binary (from libperl): > Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO > Built under solaris > Compiled at May 4 2007 15:28:54 > @INC: > /usr/local/lib/perl5/5.8.8/sun4-solaris > /usr/local/lib/perl5/5.8.8 > /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris > /usr/local/lib/perl5/site_perl/5.8.8 > /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris > /usr/local/lib/perl5/site_perl/5.8.7 > /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris > /usr/local/lib/perl5/site_perl/5.8.5 > /usr/local/lib/perl5/site_perl > .