[Xapian-discuss] redundant disk access in xapian-tcpsrv

Rocco Caputo rcaputo at pobox.com
Wed Jun 28 07:08:29 BST 2006


On Jun 27, 2006, at 23:03, Olly Betts wrote:
>
> Slightly odd that you're getting llseek and read from strace though.
> Xapian should use pread instead if it's available, and I'd expect  
> pread
> to be a syscall.  What platform is this?  What do the PREAD related  
> bits
> of config.h say?

The database is hosted on
Linux (host) 2.6.9-22.ELsmp #1 SMP (date) x86_64 x86_64 x86_64 GNU/Linux

The remote client is running on
FreeBSD (host) 4.11-20060316 FreeBSD 4.11-20060316 #0: (date) (src) i386

The config.h "pread" bits:

/* Define to the version of this package. */
#define PACKAGE_VERSION "0.9.6"

/* explicit prototype needed for pread (if any) */
/* #undef PREAD_PROTOTYPE */

/* explicit prototype needed for pwrite (if any) */
/* #undef PWRITE_PROTOTYPE */

-- 
Rocco Caputo - rcaputo at pobox.com





More information about the Xapian-discuss mailing list