incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Schuller <peter.schul...@infidyne.com>
Subject Re: mmap
Date Thu, 15 Jul 2010 19:20:19 GMT
> I'm convinced. :)  See comments on
> https://issues.apache.org/jira/browse/CASSANDRA-1214

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

Mime
View raw message