s3-performance
In [3]:
%matplotlib inline
import matplotlib.pyplot as plt # side-stepping mpl backend
import json
In [4]:
f = open("/Users/chris/Projects/openstack/underlay_dev2/scripts/s3bench/output.1.json")
data = json.load(f)
In [15]:
plt.xlabel("probe")
plt.ylabel("response / nanoseconds")
plt.plot(data["download"])
Out[15]:
In [16]:
plt.xlabel("probe")
plt.ylabel("response / nanoseconds")
plt.plot(data["upload"])
Out[16]:
In [18]:
sum(data["upload"])/len(data["upload"])/1000/1000
Out[18]:
In [19]:
sum(data["download"])/len(data["download"])/1000/1000
Out[19]:
In [20]:
max(data["download"])/1000/1000
Out[20]:
In [21]:
max(data["upload"])/1000/1000
Out[21]:
In [22]:
f = open("/Users/chris/Projects/openstack/underlay_dev2/scripts/s3bench/output.2.json")
data = json.load(f)
In [23]:
plt.xlabel("probe")
plt.ylabel("response / nanoseconds")
plt.plot(data["download"])
Out[23]:
In [24]:
plt.xlabel("probe")
plt.ylabel("response / nanoseconds")
plt.plot(data["upload"])
Out[24]:
In [28]:
f = open("/Users/chris/Projects/openstack/underlay_dev2/scripts/s3bench/output.3.json")
data = json.load(f)
In [29]:
plt.xlabel("probe")
plt.ylabel("response / nanoseconds")
plt.plot(data["download"])
Out[29]:
In [30]:
plt.xlabel("probe")
plt.ylabel("response / nanoseconds")
plt.plot(data["upload"])
Out[30]:
In [31]:
f = open("/Users/chris/Projects/openstack/underlay_dev2/scripts/s3bench/output.4.json")
data = json.load(f)
In [32]:
plt.xlabel("probe")
plt.ylabel("response / nanoseconds")
plt.plot(data["download"])
Out[32]:
In [33]:
plt.xlabel("probe")
plt.ylabel("response / nanoseconds")
plt.plot(data["upload"])
Out[33]: