Skip to content

Commit 04e4fa6

Browse files
committed
Checkpoint.
1 parent 2315efa commit 04e4fa6

File tree

7 files changed

+5
-7
lines changed

7 files changed

+5
-7
lines changed
File renamed without changes.
File renamed without changes.

perf/get_put.erl

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-module(get_put).
2-
-compile(export_all).
2+
-export([confirm/0]).
33
-include_lib("eunit/include/eunit.hrl").
44

55
-define(HARNESS, (rt_config:get(rt_harness))).
@@ -9,7 +9,8 @@ confirm() ->
99
HostList = rt_config:get(rt_hostnames),
1010
Count = length(HostList),
1111

12-
_Config = rtperf:standard_config(Count),
12+
Config = rtperf:standard_config(Count),
13+
lager:info("Generated configuration is: ~p", [Config]),
1314

1415
[Nodes] = rt:build_clusters([Count]),
1516
lager:info("Built cluster: ~p", [Nodes]),

priv/reporting/report.sh

-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ fi
1212
D1=`basename "$1"`
1313

1414
#generate our comparison graph
15-
echo gnuplot -e "dir1=\"$1\"; outfilename=\"${D1}-report.png\";" priv/reporting/summarize1.gpl
1615
gnuplot -e "dir1=\"$1\"; outfilename=\"${D1}-report.png\";" priv/reporting/summarize1.gpl

run-perf-test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22

3-
cp riak_test.config.example ~/.riak_test.config && make clean && make && ./riak_test -c rtperf -t get_put -v
3+
cp examples/riak_test.config.perf ~/.riak_test.config && make clean && make && ./riak_test -c rtperf -t get_put -v

src/observer.erl

-2
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,6 @@ message_queues([Pid|Pids], Threshold, VNodeMap, Queues) ->
388388
get_network() ->
389389
{ok, RX} = file:read_file("/sys/class/net/eth0/statistics/rx_bytes"),
390390
{ok, TX} = file:read_file("/sys/class/net/eth0/statistics/tx_bytes"),
391-
% {ok, RX} = file:read_file("/sys/class/net/eth1/statistics/rx_bytes"),
392-
% {ok, TX} = file:read_file("/sys/class/net/eth1/statistics/tx_bytes"),
393391
{to_integer(RX), to_integer(TX)}.
394392

395393
get_disk2() ->

src/rt_bench.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ bench(Config, NodeList, TestName, Runners, Drop) ->
7272
{0, R} = rtssh:ssh_cmd(LG, Cmd, false),
7373
lager:info("bench run finished, on ~p returned ~p",
7474
[LG, R]),
75-
% {0, _} = rtssh:ssh_cmd(LG, "rm -r "++BBTmp++"/"),
75+
{0, _} = rtssh:ssh_cmd(LG, "rm -r "++BBTmp++"/"),
7676
Owner ! {done, ok}
7777
catch
7878
Class:Error ->

0 commit comments

Comments
 (0)