Subject: Re: Alternative to memory maps for large (> 10GB) files on ix86.
To: None <alicia@cyberstation.ca>
From: Jarle Greipsland <jarle@runit.sintef.no>
List: port-i386
Date: 10/16/2000 15:12:30
Alicia da Conceicao writes:
> Is there an efficent alternative to memory maps for huge (> 10 GB) files
> on NetBSD ix86, that can be used for many random database accesses.  I am
> hoping for a solution which doesn't involve many, many seeks & reads, or
> constant loading & unloading of memory maps containing small sections of
> each file?

Have you looked at pread(2)/preadv(2) and pwrite(2)/pwritev(2)?
					-jarle