Flabby
2016-03-18 12:55:23 UTC
Hi,
I'm wondering that why leveldb use mmap based writing at firstïŒ then
replace it with stdio based writing.
According to 1.15 Release Note
<https://groups.google.com/forum/#!searchin/leveldb/stdio$20write/leveldb/VM5nYLvLVME/Ri8MThbM4I0J> .
' Has a minor impact (0.5 microseconds) on microbenchmarks for
asynchronous writes. Synchronous writes speed up from 30ms to 10ms on
linux/ext4.'
1). I think asynchronous or synchronous writes means wether to use
fsync for the write operation, is it thatïŒ
2). If so, I prefer the mmap version, because asynchronous writes
is much more common for my situation, what's your opion?
Also, I'm new to leveldb benchmark, how can I benchmark this?
Thanks.
I'm wondering that why leveldb use mmap based writing at firstïŒ then
replace it with stdio based writing.
According to 1.15 Release Note
<https://groups.google.com/forum/#!searchin/leveldb/stdio$20write/leveldb/VM5nYLvLVME/Ri8MThbM4I0J> .
' Has a minor impact (0.5 microseconds) on microbenchmarks for
asynchronous writes. Synchronous writes speed up from 30ms to 10ms on
linux/ext4.'
1). I think asynchronous or synchronous writes means wether to use
fsync for the write operation, is it thatïŒ
2). If so, I prefer the mmap version, because asynchronous writes
is much more common for my situation, what's your opion?
Also, I'm new to leveldb benchmark, how can I benchmark this?
Thanks.
--
You received this message because you are subscribed to the Google Groups "leveldb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leveldb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "leveldb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leveldb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.