cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Schuller <>
Subject Re: mmap
Date Thu, 15 Jul 2010 19:20:19 GMT
> I'm convinced. :)  See comments on

Noted :) To be clear I only mentioned it as an acknowledgement that
everyone didn't necessarily agree with what I was saying.

> The main problem is not the syscall so much as Java insisting on
> zeroing out any buffer you create, which is a big hit to performance
> when you're allocating buffers for file i/o on each request instead of
> just mmaping things.  Re-using those buffers would be possible but
> difficult; I think using mlockall to "fix" the mmap approach is more
> promising.

Ok, makes sense.

/ Peter Schuller

View raw message