3 ms·
Yep. But our benchmarks are from this year, and they show the same thing. The situation might improve when Linux gets support for hugepages on (regular) file-
by cmccabe 13y ago
Yep. But our benchmarks are from this year, and they show the same thing.
The situation might improve when Linux gets support for hugepages on (regular) file-backed mmaps.
- justin66 13y agoWhat is it you're working on exactly? I'm having some trouble putting it together from context but I'm wondering if you're talking about manipulating files using mmap from... the JVM? That's kind of interesting.
- cmccabe 13y agoUsing mmap in Java is not really that interesting-- you just use FileChannel#map, which has been around for a long time. There is no need even for JNI. The only remotely "interesting" part is that Java doesn't provide munmap, so you have to work around that. This whole thread makes me very sad. I might have to write a "Mythbusters" post about Hadoop at some point.