Sure!
Here is the basho_bench config file I used to benchmark Riak: (recall,
this was testing a single-node cluster)
{mode, max}.
{duration, 4}.
{concurrent, 1}.
{driver, basho_bench_driver_riakclient}.
{code_paths, ["deps/stats",
"/usr/er/riak/deps/riak_kv",
"/usr/er/riak/deps/riak_core"]}.
{key_generator, {int_to_bin, {uniform_int, 1000000}}}.
{value_generator, {fixed_bin, 10000}}.
{riakclient_nodes, ['[email protected]']}.
{riakclient_mynode, ['[email protected]', longnames]}.
{riakclient_replies, 1}.
{operations, [{put, 1}]}.
And for reference, here is the bash_bench config file I used to
benchmark Bitcask:
{mode, max}.
{duration, 4}.
{concurrent, 1}.
{driver, basho_bench_driver_bitcask}.
{key_generator, {int_to_bin, {uniform_int, 1000000}}}.
{value_generator, {fixed_bin, 10000}}.
{operations, [{put, 1}]}.
{code_paths, ["deps/stats", "/usr/er/riak/deps/bitcask"]}.
{bitcask_dir, "/usr/er/bitcask.bench"}.
{bitcask_flags, [{sync_strategy, none}]}.
Thanks,
On Fri, Feb 3, 2012 at 11:05 AM, Ian Plosker <[email protected]> wrote:
> Hussam,
>
> Could you paste the contents of your basho_bench config into an email and
> send it over?
>
> --
> Ian Plosker <[email protected]>
> Developer Advocate
> Basho Technologies
>
> On Thursday, February 2, 2012 at 7:33 PM, Hussam Abu-Libdeh wrote:
>
> Hello,
>
> I am trying to benchmark Riak on a local cluster. I have Riak v1.0.2
> compiled from source. I am benchmarking using Basho's benchmarking
> tool, and I used Riaknostic to help me with configuration. My machines
> are all Dual Xeon with 2GB of RAM and 1Gb ethernet. I get about 50MB/s
> write throughput on the local disks, and the local disks are mounted
> with the noatime flag as Riaknostic suggested.
>
> I benchmarked the write throughput of Bitcask by running a local
> experiment where 1 worker was continuously writing 10K fixed_binary
> objects ( {value_generator, {fixed_bin, 10000}}. ) with the only
> bitcask-specific flag being: {bitcask_flags, [{sync_strategy, none}]}.
> I got about 50 MB/s write throughput from Bitcask, so that is good.
>
> Then I tried to benchmark Riak. I setup a cluster of 8 Riak nodes with
> the same configuration as used for Bitcask. I used the riakclient
> driver from the benchmarking suite, and set the required riak_client
> replies to 1. The client was generating PUT operations continuously
> with 10K binaries as before. I only got a throughput of about 4 MB/s.
> I thought this might be an issue of storing extra copies due to
> replication, so I modified the app.config file on all the nodes to
> specify that N, R, and W are all set to 1. No improvement. I thought
> this could be an issue in the network, so I benchmarked a single-node
> cluster, with the client being local to the same machine (and N,R,W
> all set to 1), and I still got the same low throughput. Finally, out
> of desperation, I even modified the target_n_val parameter to 1 and
> the ring_creation_size to 1 so there is only 1 Bitcask directory, ran
> the experiment with 1 local client, and I still got the same very low
> throughput.
>
> Any help would be greatly appreciated. I have been stuck at this for a
> while now.
>
> Thanks,
>
> --Hussam
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com