News for hackers. Stuff that matters.
Re:Show HN: Badger – an embeddable, persistent key-value sto... by ntoshev on Monday June 26, 2017 @06:58AM (#14635751)
Apparently the way LMDB does I/O is exercising slower (more complex?) code paths in the virtualization implementation code compared to LevelDB, and virtualization overhead is significant in these benchmarks (actually slows down execution several times).

LMDB does mmap while LevelDB does plain file I/O.

Re:Show HN: Badger – an embeddable, persistent key-value sto... by valarauca1 on Monday July 03, 2017 @05:20PM (#14691489)
It depends on the hypervisor. XEN/AWS uses and older slower path for memory allocation then the modern KVM/Intel-EPT allows.

Every `malloc` under XEN (that can't be satisfied with unused memory already mapped into that processes userspace) requires a hyper call.

This VMM approach was _largely_ depreciated about 6 years ago when Intel created page table bits that let the bare metal OS give the VM a _range_ of memory it can virtually re-map, but AWS hasn't adopted this.