Skip to content

Commit

Permalink
initial buffer 4k
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Kostin committed Feb 28, 2019
1 parent 80eb12a commit 67dc07c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ceph-gobench.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func main() {
for i := uint64(0); i < 2*params.threadsCount; i++ {
buffs = append(buffs, make([]byte, params.blocksize))
}
startbuff := make([]byte, params.blocksize)
startbuff := make([]byte, 4096)
for num := range buffs {
_, err := rand.Read(buffs[num])
if err != nil {
Expand Down

0 comments on commit 67dc07c

Please sign in to comment.