Mark, I believe by “12w” he means Chinese “12万”, which is 120K. However, it doesn’t feel like “too slow” to me, given that the drive can do 190K IOPs. So that’s a typo for 12K I guess?
From: '韩光阳' via rocksdb <roc...@googlegroups.com>
Sent: Thursday, October 20, 2022 7:39 PM
To: rocksdb <roc...@googlegroups.com>
Subject: Re: How can I improve the readrandom performance?
Thanks for your responds, As you can see below, I used 1 thread for write, then 64 thread for read, which is the best config I have test. I also used the blobdb for my large value KV entry, however, the read performance is similar with or without
ZjQcmQRYFpfptBannerStart
|
ZjQcmQRYFpfptBannerEnd
--
You received this message because you are subscribed to the Google Groups "rocksdb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
rocksdb+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rocksdb/2cc6e5fc-e41a-4079-a7ae-f460737e7b75n%40googlegroups.com.
What kind of relationship should there be between SSD fio 4K readrandom performance and rocksdb readrandom performance?
Could you share some results you got on your platform? Like your SSD IOPs and the best RocksDB readramdom results?
It depends on configuration. That’s why Mark asked you for RocksDB configuration.
If you use default configuration with 4KB blocks, your analysis is correct. Some block reads will span to two blocks and do two 4KB I/Os. There is a configuration you could do aligned I/O (https://github.com/facebook/rocksdb/blob/main/include/rocksdb/table.h#L528-L529) and in this way you can avoid two 4KB blocks per request.
It’s hard to speculate what happens in the BlobDB case. I think providing full configuration will be helpful. Since there is no way to align a 4KB blob to a 4KB block (if you don’t compress it or it is not compressible), so you would almost always need to read 8KB for a blob.
Thanks,
Siying
From: '韩光阳' via rocksdb <roc...@googlegroups.com>
Sent: Friday, October 21, 2022 12:00 PM
To: rocksdb <roc...@googlegroups.com>
Subject: Re: How can I improve the readrandom performance?
Yes, “12w” means Chinese “12万”, i. e. 120K ops of rocksdb readrandom 16B+32B bench, for 16B+4KiB bench, the best result I have ever got is 60K ops. You just said it is not slow for a 190K iops SSD, I believe that's ture, but I need more evidence
To view this discussion on the web visit https://groups.google.com/d/msgid/rocksdb/975ef7ed-ab1c-4a3b-88d7-16a2ee7e206cn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rocksdb/BYAPR15MB286925FFF675286EEE3BB80CE12D9%40BYAPR15MB2869.namprd15.prod.outlook.com.
You received this message because you are subscribed to a topic in the Google Groups "rocksdb" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rocksdb/ahYhGiFxc3I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rocksdb+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rocksdb/14fc45fa-ddd4-4984-bc77-363e7efa08e2n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rocksdb/40538bb9-b3f7-47bb-aa97-0cda9221c64cn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rocksdb/f72a1117-1f4c-471a-88d7-65d82f103e06n%40googlegroups.com.