Skip to content

Commit

Permalink
increasing the buffersize (#361)
Browse files Browse the repository at this point in the history
there are warnings from mbuffer:
"mbuffer: warning: high value of number of blocks(10696): increase block size for better performance"
with 256k mbuffer is happy.
  • Loading branch information
moetiker authored and oetiker committed Jun 15, 2018
1 parent 1a4e66a commit 972c74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ZnapZend/ZFS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ has connectTimeout => sub { 30 };
has propertyPrefix => sub { q{org.znapzend} };
has sshCmdArray => sub { [qw(ssh),
qw(-o batchMode=yes -o), 'ConnectTimeout=' . shift->connectTimeout] };
has mbufferParam => sub { [qw(-q -s 128k -W 600 -m)] }; #don't remove the -m as the buffer size will be added
has mbufferParam => sub { [qw(-q -s 256k -W 600 -m)] }; #don't remove the -m as the buffer size will be added
has scrubInProgress => sub { qr/scrub in progress/ };

has zLog => sub { Mojo::Exception->throw('zLog must be specified at creation time!') };
Expand Down

0 comments on commit 972c74d

Please sign in to comment.