On Tue, 26 Oct 2004, Greg Stark wrote:
> I see mmap or O_DIRECT being the only viable long-term stable states. My
> natural inclination was the former but after the latest thread on the subject
> I suspect it'll be forever out of reach. That makes O_DIRECT And a Postgres
> managed cache the only real choice. Having both caches is just a waste of
> memory and a waste of cpu cycles.
I don't see why mmap is any more out of reach than O_DIRECT; it's not
all that much harder to implement, and mmap (and madvise!) is more
widely available.
But if using two caches is only costing us 1% in performance, there's
not really much point....
cjs
--
Curt Sampson <cjs@cynic.net> +81 90 7737 2974 http://www.NetBSD.org Make up enjoying your city life...produced
byBIC CAMERA