SPUG: 64 bit Perl
Jay Scherrer
jay at scherrer.com
Fri Jun 10 09:43:23 PDT 2005
Peter,
I don't know yet if they have fixed Perl6's md5 test.
But if you do any big functions the 64 bits help. I am learning to use
the 128 bits for media. If you want I can send you the white papers
describing the added registers. But from what I gather most operands
default to 32 bit unless specified through the Rex prefix. If you know
of some tests to base your decision let me know.
Here's my version print of perl.
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=linux, osvers=2.6.10-1.770_fc3, archname=x86_64-linux-multi-
ld
uname='linux gimly 2.6.10-1.770_fc3 #1 thu feb 24 18:09:38 est 2005
x86_64 x 86_64 x86_64 gnulinux '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=defi ne
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=define
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGE FILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include -
I/usr/include/gdb m'
ccversion='', gccversion='3.4.2 20041017 (Red Hat 3.4.2-6.fc3)',
gccosandver s=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='long double', nvsize=16,
Off_t='off_t', lse eksize=8
alignbytes=16, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lbind -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lbind -lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.4.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.4'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -
Wl,-rpath, /usr/local/lib/perl5/5.8.6/x86_64-linux-multi-ld/CORE'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_64_BIT_INT USE_64_BIT_ALL
USE_LONG_DOUB LE USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Mar 18 2005 10:13:28
@INC:
/usr/local/lib/perl5/5.8.6/x86_64-linux-multi-ld
/usr/local/lib/perl5/5.8.6
/usr/local/lib/perl5/site_perl/5.8.6/x86_64-linux-multi-ld
/usr/local/lib/perl5/site_perl/5.8.6
/usr/local/lib/perl5/site_perl
.
Jay Scherrer
On Fri, 2005-06-10 at 02:55 -0700, Yitzchak Scott-Thoennes wrote:
> On Thu, Jun 09, 2005 at 03:59:45PM -0700, Peter Darley wrote:
> > Folks,
> > I'm very ignorant about the internals of Perl, and I've run into a
> > consideration that I just don't have a clue about.
> > Is there likely to be any benefit to a 64 bit machine instead of a 32 bit
> > one, in terms of speed of Perl on it, or is that just throwing money down
> > the drain? Any input would be appreciated.
>
> WAG: just throwing money down the drain.
> _____________________________________________________________
> Seattle Perl Users Group Mailing List
> POST TO: spug-list at pm.org
> SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list
> MEETINGS: 3rd Tuesdays, Location: Amazon.com Pac-Med
> WEB PAGE: http://seattleperl.org/
More information about the spug-list
mailing list