[ceph-users] Re: bluestore_rocksdb_options

2020-06-20 Thread Frank R
I would use 8 if I have max_write_buffer_number set to 8 as each write_buffer will have it's own WAL. If max_write_buffer_number is 1 I would use recycle_log_file_num=1. RocksDB tuning can get somewhat complex, see: https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide On Sat, Jun 20,

[ceph-users] Re: bluestore_rocksdb_options

2020-06-20 Thread Seena Fallah
Do you have any reason for this value? :)) On Sat, Jun 20, 2020 at 9:24 PM Frank R wrote: > With ceph I have always used it to set the number of WALs to recycle, > ie to recycle 8 WALs I use: > > " > recycle_log_file_num=8 > " > > On Sat, Jun 20, 2020 at 12:47 PM Seena Fallah > wrote: > > > >

[ceph-users] Re: bluestore_rocksdb_options

2020-06-20 Thread Frank R
With ceph I have always used it to set the number of WALs to recycle, ie to recycle 8 WALs I use: " recycle_log_file_num=8 " On Sat, Jun 20, 2020 at 12:47 PM Seena Fallah wrote: > > Yes here I found it’s a boolean (= true) > Will this true convert to 1? > > On Sat, Jun 20, 2020 at 9:15 PM Frank

[ceph-users] Re: bluestore_rocksdb_options

2020-06-20 Thread Seena Fallah
Yes here I found it’s a boolean (= true) Will this true convert to 1? On Sat, Jun 20, 2020 at 9:15 PM Frank R wrote: > also see: > > https://github.com/facebook/rocksdb/wiki/WAL-Performance > > " > Options.recycle_log_file_num = true will keep a pool of WAL files and > try to reuse them. When

[ceph-users] Re: bluestore_rocksdb_options

2020-06-20 Thread Frank R
also see: https://github.com/facebook/rocksdb/wiki/WAL-Performance " Options.recycle_log_file_num = true will keep a pool of WAL files and try to reuse them. When writing to an existing log file, random writes are used from size 0. Before writes hit the end of the file, the file size doesn't

[ceph-users] Re: bluestore_rocksdb_options

2020-06-20 Thread Frank R
I believe it is the number of WALs that should be reused and should be equal to write_buffer_number but don't quote me. On Sat, Jun 20, 2020 at 11:35 AM Seena Fallah wrote: > > Hi. I found a default rocksdb option in bluestore that I can't find in > facebook rocksdb. > recycle_log_file_num this