responses inline in '[ ]' On Oct 21, 2013, at 1:20 PM, Dave King <djk...@gmail.com> wrote: [Yes to both questions above.]
[ Your previous question was correct. But here is a simple command line count: find /var/db/riak/leveldb/0 -name '*.sst' | wc -l Substitute your favorite numbered directory for the "/0" in my example.]
[The underlying goal is cover your working set of files via max_open_files, then give the remainder of memory to the cache_size (again size by vnode). I have attached a spreadsheet for Riak 1.4 that helps with the calculations. This sizing issue is a royal pain the tush. Riak 2.0 will simplify this greatly. You tell it the total amount of memory that leveldb can use, no matter how many vnodes, no matter whether active anti-entropy is used. Everything is then calculated and dynamically updated as file counts change and as vnode counts on a server change. Look forward to that in 2.0.]
|
leveldb_sizing_1.4.xls
Description: Binary data
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com