Skip to content

Instantly share code, notes, and snippets.

@dpgoetz
Created August 12, 2015 19:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpgoetz/529e870db14345176c7a to your computer and use it in GitHub Desktop.
Save dpgoetz/529e870db14345176c7a to your computer and use it in GitHub Desktop.
dfg@saio4:~/go/src/github.com/openstack/swift/go/bench$ hummingbird dbench
Usage: [configuration file]
The configuration file should look something like:
[dbench]
address = http://localhost:6010/
concurrency = 15
object_size = 131072
num_objects = 5000
num_gets = 30000
do_replicates = false
delete = yes
minimum_partition_number = 1000000000
dfg@saio4:~/go/src/github.com/openstack/swift/go/bench$ vi dbench.conf
dfg@saio4:~/go/src/github.com/openstack/swift/go/bench$ hummingbird dbench dbench.conf
PUTs: 50 @ 1380.58/s
Failures: 0
Mean: 0.00994s (85.3% RSD)
Median: 0.00862s
85%: 0.01808s
90%: 0.02050s
95%: 0.02514s
99%: 0.03597s
GETs: 3000 @ 4470.81/s
Failures: 0
Mean: 0.00327s (905.7% RSD)
Median: 0.00014s
85%: 0.00018s
90%: 0.00020s
95%: 0.00028s
99%: 0.17139s
DELETEs: 50 @ 2773.32/s
Failures: 0
Mean: 0.00441s (148.9% RSD)
Median: 0.00030s
85%: 0.01471s
90%: 0.01553s
95%: 0.01589s
99%: 0.01803s
dfg@saio4:~/go/src/github.com/openstack/swift/go/bench$ ps axf | grep obj
120232 pts/0 S+ 0:00 \_ grep --color=auto obj
115991 ? Ssl 9:56 /usr/local/bin/hummingbird run object /etc/swift/object-server
116018 ? Ssl 28:28 /usr/local/bin/hummingbird run object-replicator /etc/swift/object-server
dfg@saio4:~/go/src/github.com/openstack/swift/go/bench$ hummingbird stop object; swift-init object start
Object server stopped.
WARNING: Unable to modify file descriptor limit. Running as non-root?
WARNING: Unable to modify max process limit. Running as non-root?
Starting object-server...(/etc/swift/object-server/1.conf)
Starting object-server...(/etc/swift/object-server/2.conf)
Starting object-server...(/etc/swift/object-server/3.conf)
Starting object-server...(/etc/swift/object-server/4.conf)
dfg@saio4:~/go/src/github.com/openstack/swift/go/bench$ hummingbird dbench dbench.conf
PUTs: 50 @ 528.81/s
Failures: 0
Mean: 0.02667s (34.9% RSD)
Median: 0.02457s
85%: 0.03972s
90%: 0.04245s
95%: 0.04421s
99%: 0.04609s
GETs: 3000 @ 1066.17/s
Failures: 0
Mean: 0.01404s (18.2% RSD)
Median: 0.01315s
85%: 0.01653s
90%: 0.01751s
95%: 0.01908s
99%: 0.02273s
DELETEs: 50 @ 760.58/s
Failures: 0
Mean: 0.01851s (25.4% RSD)
Median: 0.01891s
85%: 0.02232s
90%: 0.02564s
95%: 0.02786s
99%: 0.02992s
dfg@saio4:~/go/src/github.com/openstack/swift/go/bench$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment