Hi,

We’re using the below versions with RHEL 6.4.

riak-cs-control-1.0.2-1.el6.x86_64
riak-1.4.10-1.el6.x86_64
riak-cs-1.5.2-1.el6.x86_64
stanchion-1.5.0-1.el6.x86_64

I’m uploading a 3GB ISO from my windows client (s3 browser 4-4-5) not using 
multipart. The windows s3 browser doesn’t seem to work with multipart with 
either Ceph or Riak CS. I’ve read elsewhere relating to ceph that this is to do 
with the way the http line ends are terminated. So I just assumed it’s the same 
with Riak CS.
Using the same 3GB ISO  and linux S3 client (which I believe defaults to 
multipart) installed locally on one of the Riak CS nodes, I achieve slightly 
better speeds of 4-5MB/s.
Prior to setting this up on Physical hardware we setup a 4 node cluster within 
our cloudstack environment and attained the same speeds. It feels like 
something is throttling somewhere.

Thanks for your help

Dave
From: Luke Bakken [mailto:lbak...@basho.com]
Sent: 08 November 2014 15:33
To: David Meekin
Cc: riak-users@lists.basho.com
Subject: Re: RiakCS poor s3 upload speeds 2MB/s

Hi David,

Could you please provide a bit more information?

* The version of Riak and Riak CS you are using
* A description of the files you are uploading. What size are they and are you 
using multipart uploads?

Thanks
--
Luke Bakken
Engineer / CSE
lbak...@basho.com<mailto:lbak...@basho.com>

On Fri, Nov 7, 2014 at 6:41 AM, David Meekin 
<david.mee...@autotrader.co.uk<mailto:david.mee...@autotrader.co.uk>> wrote:
Hi,

I’ve setup a test 4 node RiakCS cluster on HP BL460c hardware and I can’t seem 
to get S3 upload speeds above 2MB/s
I’m connecting direct to RiackCS on one of the nodes so there is no load 
balancing software in place.
I have also installed s3cmd locally onto one of the nodes and the speeds 
locally are the same.
These 4 nodes also run a test CEPH cluster with RadosGW and s3 uploads to CEPH 
achieve 125MB/s
Any help would be appreciated as I’m currently evaluating both CEPH and RiakCS.

Configs below:

%%%RIACK – app.config
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ft=erlang ts=4 sw=4 et
[
%% Riak Client APIs config
{riak_api, [
            {pb_backlog, 256},
            {pb, [ {"172.19.153.180", 8087 } ]}
            ]},

%% Riak Core config
{riak_core, [

              {default_bucket_props, [{allow_mult, true}]},

              {ring_state_dir, "/var/lib/riak/ring"},

              {http, [ {"172.19.153.180", 8098 } ]},
              {https, [{ "172.19.153.180", 8096 }]},
              {ssl, [
                     {certfile, "/etc/riak/cert.pem"},
                     {keyfile, "/etc/riak/key.pem"}
                    ]},

              {handoff_port, 8099 },

              {dtrace_support, false},

              {platform_bin_dir, "/usr/sbin"},
              {platform_data_dir, "/var/lib/riak"},
              {platform_etc_dir, "/etc/riak"},
              {platform_lib_dir, "/usr/lib64/riak/lib"},
              {platform_log_dir, "/var/log/riak"}
             ]},

%% Riak KV config
{riak_kv, [
            {add_paths, ["/usr/lib64/riak-cs/lib/riak_cs-1.5.2/ebin"]},
            {storage_backend, riak_cs_kv_multi_backend},
            {multi_backend_prefix_list, [{<<"0b:">>, be_blocks}]},
            {multi_backend_default, be_default},
            {multi_backend, [
              {be_default, riak_kv_eleveldb_backend, [
              {max_open_files, 50},
              {data_root, "/var/lib/riak/leveldb"}
            ]},
            {be_blocks, riak_kv_bitcask_backend, [
              {data_root, "/var/lib/riak/bitcask"}
            ]}
            ]},


            {anti_entropy, {on, []}},

            {anti_entropy_build_limit, {1, 3600000}},
            {anti_entropy_expire, 604800000},

            {anti_entropy_concurrency, 2},
            {anti_entropy_tick, 15000},

            {anti_entropy_data_dir, "/var/lib/riak/anti_entropy"},

            {anti_entropy_leveldb_opts, [{write_buffer_size, 4194304},
                                         {max_open_files, 20}]},

            {mapred_name, "mapred"},

            {mapred_2i_pipe, true},

            {map_js_vm_count, 8 },
            {reduce_js_vm_count, 6 },
            {hook_js_vm_count, 2 },

            {js_max_vm_mem, 8},

            {js_thread_stack, 16},

            {http_url_encoding, on},

            {vnode_vclocks, true},

            {listkeys_backpressure, true},

            {fsm_limit, 50000},

            {object_format, v1}
           ]},

%% Riak Search Config
{riak_search, [
                {enabled, false}
               ]},

%% Merge Index Config
{merge_index, [
                {data_root, "/var/lib/riak/merge_index"},

                {buffer_rollover_size, 1048576},

                {max_compact_segments, 20}
               ]},

%% Bitcask Config
{bitcask, [
             {io_mode, erlang},

            {data_root, "/var/lib/riak/bitcask"}
           ]},

%% eLevelDB Config
{eleveldb, [
             {data_root, "/var/lib/riak/leveldb"}
            ]},

%% Lager Config
{lager, [
            {handlers, [
                           {lager_file_backend, [
                               {"/var/log/riak/error.log", error, 10485760, 
"$D0", 5},
                               {"/var/log/riak/console.log", info, 10485760, 
"$D0", 5}
                           ]}
                       ] },

            {crash_log, "/var/log/riak/crash.log"},

            {crash_log_msg_size, 65536},

            {crash_log_size, 10485760},

            {crash_log_date, "$D0"},

            {crash_log_count, 5},

            {error_logger_redirect, true},

            {error_logger_hwm, 100}
        ]},

%% riak_sysmon config
{riak_sysmon, [
         {process_limit, 30},
         {port_limit, 2},

         {gc_ms_limit, 0},
         {heap_word_limit, 40111000},

         {busy_port, true},
         {busy_dist_port, true}
        ]},

%% SASL config
{sasl, [
         {sasl_error_logger, false}
        ]},

%% riak_control config
{riak_control, [
                {enabled, true},

                {auth, userlist},

                {userlist, [{"admin", "password"}
                           ]},

                {admin, true}
                ]}
].


%%%RiakCS – app.config
%% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 et
[
%% Riak CS configuration
{riak_cs, [
              %% == Basic Configuration ==

              %% Riak CS http/https port and IP address to listen at
              %% for object storage activity
              {cs_ip, "172.19.153.180"},
              {cs_port, 8080 } ,
              {riak_ip, "172.19.153.180"},
              {riak_pb_port, 8087 } ,
              {stanchion_ip, "172.19.153.180"},
              {stanchion_port, 8085 },
              {stanchion_ssl, false },
              {anonymous_user_creation, true},
              {admin_key, "_UJJOXXQEXW3XAWUGSQD"},
              {admin_secret, "8bkzcxZDIKsmjJUhEEJkpcM6g5_X7gSazryBGA=="},

              {cs_root_host, "s3.amazonaws.com<http://s3.amazonaws.com>"},
              {connection_pools,
               [
                {request_pool, {128, 0} },
                {bucket_list_pool, {5, 0} }
               ]},
             {rewrite_module, riak_cs_s3_rewrite },
             {auth_module, riak_cs_s3_auth },
              {fold_objects_for_list_keys, true},

              {n_val_1_get_requests, true},
              {cs_version, 10300 },
              {access_log_flush_factor, 1},
              {access_log_flush_size, 1000000},
              {access_archive_period, 3600},
              {access_archiver_max_backlog, 2},
              {storage_schedule, []},
              {storage_archive_period, 86400},
              {usage_request_limit, 744},
              {leeway_seconds, 86400},
              {gc_interval, 900},
              {gc_retry_interval, 21600},
              {gc_paginated_indexes, true},

              {trust_x_forwarded_for, false},
              {dtrace_support, false}

             ]},

{webmachine, [
               {server_name, "Riak CS"},

               {log_handlers, [
                               {webmachine_log_handler, ["/var/log/riak-cs"]},
                               {riak_cs_access_log_handler, []}
                              ]}
              ]},

{lager, [
          {handlers, [
                      {lager_console_backend, info},
                      {lager_file_backend, [{file, 
"/var/log/riak-cs/error.log"},
                                            {level, error},
                                            {size, 10485760},
                                            {date, "$D0"},
                                            {count, 5}]},
                      {lager_file_backend, [{file, 
"/var/log/riak-cs/console.log"},
                                            {level, info},
                                            {size, 10485760},
                                            {date, "$D0"},
                                            {count, 5}]}
                     ]},
          {crash_log, "/var/log/riak-cs/crash.log"},
          {crash_log_msg_size, 65536},

          {crash_log_size, 10485760},

          {crash_log_date, "$D0"},

          {crash_log_count, 5},

          {error_logger_redirect, true}
         ]},

{sasl, [
         {sasl_error_logger, false}
        ]}
].

Thanks,

Dave

Tel: +441616699154<tel:%2B441616699154>   Mob: +44 7525 
405543<tel:%2B44%207525%20405543>

[cid:image001.png@01CFFCC9.E3DD4930]

Tel: +441616699154   Mob: +44 7525 405543

[cid:42ac75.png@d4deaeeb.4b950055]

________________________________________

This e-mail is sent on behalf of Auto Trader Group Limited, Registered Office: 
Auto Trader House, Cutbush Park Industrial Estate, Danehill, Lower Earley, 
Reading, Berkshire, RG6 4UT (Registered in England No. 4768833). This email and 
any files transmitted with it are confidential and may be legally privileged, 
and intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please notify the sender. 
This email message has been swept for the presence of computer viruses.

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com<mailto:riak-users@lists.basho.com>
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


________________________________________


This e-mail is sent on behalf of Auto Trader Group Limited, Registered Office: 
Auto Trader House, Cutbush Park Industrial Estate, Danehill, Lower Earley, 
Reading, Berkshire, RG6 4UT (Registered in England No. 4768833). This email and 
any files transmitted with it are confidential and may be legally privileged, 
and intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please notify the sender. 
This email message has been swept for the presence of computer viruses. 

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to