20041002 Saturday October 02, 2004

Taking my first AMD 64-bit baby steps

Well, the time has come to take my first 64-bit baby steps on AMD64 (this is old news on 64-bit SPARC processors;-)...so after talking to the architect for the AMD64 port for Solaris on AMD64 Opteron, along with one of the performance gurus, I set out to build squid for 64-bit.

It was actually easier than I thought it would be, but it was still exciting to build a 64-bit binary from sources I had for 32-bit.

Here was my results:

$ ldd ./squid
libm.so.2 => /lib/64/libm.so.2
libresolv.so.2 => /lib/64/libresolv.so.2
libsocket.so.1 => /lib/64/libsocket.so.1
libnsl.so.1 => /lib/64/libnsl.so.1
libc.so.1 => /lib/64/libc.so.1
libmp.so.2 => /lib/64/libmp.so.2
libmd5.so.1 => /lib/64/libmd5.so.1
libscf.so.1 => /lib/64/libscf.so.1
libdoor.so.1 => /lib/64/libdoor.so.1
libuutil.so.1 => /lib/64/libuutil.so.1

$ file ./squid
./squid: ELF 64-bit LSB executable AMD64 Version 1, dynamically linked, not stripped

I'll try and produce something more worthy this weekend. Not that squid is not worthy, because I think it certainly is where a large company with many web servers would want to use a large cache which traditionally couldn't use > 4gig of cache on x86 based architecture due to the 32-bit limitation we've been faced with. squid could turn out to be a very useful program in that regard.

( Oct 02 2004, 12:22:13 AM PDT ) Permalink