Victor Kirkebo wrote: > Please find the webrev at > http://cr.opensolaris.org/~vk136562/memcached-1.2.5-CR6717705/
Two questions: 1. Have you determined that -xO5 generates the best performing code on both SPARC and Intel. The fact that -xO5 is the highest optimization level doesn't always mean it generates the fastest, best performing code. Aggressive inlining can sometimes lead to cache thrashing, which ends up having the exact opposite effect from the one intended. 2. ./configure --prefix=/usr Wouldn't it be better to say: PREFIX=/usr ./configure --prefix=$(PREFIX) \ [ ... ] --localstatedir=/var \ [ ... ] By default, ./configure sets ${localstatedir} to ${prefix}/var. This will translate to /usr/var. If memcached needs to create temporary files in ${localstatedir}/tmp, it won't work (/usr/var/tmp can't exist in Solaris). What ./configure really means by ${localstatedir} is /var (and use /var/tmp for temporary, run-time files). My suggestion would be to change the call to ./configure and explicitly indicate the location of ${localstatedir} as /var. --Stefan --- Stefan Teleman Sun Microsystems, Inc. Stefan.Teleman at Sun.COM