u"LightGreen", u"LightSeaGreen", u"LightSkyBlue", u"Maroon",
u"MediumSeaGreen", u"SeaGreen", u"LightSlateGrey"]
-REGEX_NIC = re.compile(r'(\d*ge\dp\d\D*\d*)-')
+REGEX_NIC = re.compile(r'(\d*ge\dp\d\D*\d*[a-z]*)-')
def generate_plots(spec, data):
plot,
params=[u"latency", u"throughput", u"parent", u"tags", u"type"]
)[0][0]
+ elif plot.get(u"filter", None):
+ data = input_data.filter_data(plot, continue_on_error=True)
else:
job = list(plot[u"data"].keys())[0]
build = str(plot[u"data"][job][0])
logging.error(u"No data.")
return
+ desc = {
+ u"LAT0": u"No-load.",
+ u"PDR10": u"Low-load, 10% PDR.",
+ u"PDR50": u"Mid-load, 50% PDR.",
+ u"PDR90": u"High-load, 90% PDR.",
+ u"PDR": u"Full-load, 100% PDR.",
+ u"NDR10": u"Low-load, 10% NDR.",
+ u"NDR50": u"Mid-load, 50% NDR.",
+ u"NDR90": u"High-load, 90% NDR.",
+ u"NDR": u"Full-load, 100% NDR."
+ }
+
graphs = [
u"LAT0",
u"PDR10",
logging.info(f" Generating the graph: {name_link}")
- desc = {
- u"LAT0": u"No-load.",
- u"PDR10": u"Low-load, 10% PDR.",
- u"PDR50": u"Mid-load, 50% PDR.",
- u"PDR90": u"High-load, 90% PDR.",
- u"PDR": u"Full-load, 100% PDR.",
- u"NDR10": u"Low-load, 10% NDR.",
- u"NDR50": u"Mid-load, 50% NDR.",
- u"NDR90": u"High-load, 90% NDR.",
- u"NDR": u"Full-load, 100% NDR."
- }
-
fig = plgo.Figure()
layout = deepcopy(plot[u"layout"])
bgcolor: "rgba(255, 255, 255, 0)"
bordercolor: "rgba(255, 255, 255, 0)"
xaxis:
- type: "log"
+ type: "linear"
title: "<b>Percentile [%]</b>"
titlefont:
size: 14
autorange: False
fixedrange: False
- range: [1e-6, 3]
+ range: [0, 100]
gridcolor: "rgb(230, 230, 230)"
linecolor: "rgb(220, 220, 220)"
linewidth: 1
showline: True
showticklabels: True
tickcolor: "rgb(220, 220, 220)"
- tickvals: [1, 2, 1e1, 20, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8]
- tickangle: 315
- ticktext: [0, 50, 90, 95, 99, 99.9, 99.99, 99.999, 99.9999, 99.99999, 99.999999]
+ tickvals: [0, 25, 50, 75, 100]
+ ticktext: [0, 25, 50, 75, 100]
tickfont:
size: 14
yaxis:
- title: "<b>Packet Latency [uSec]</b>"
+ title: "<b>One-Way Latency per Direction [uSec]</b>"
titlefont:
size: 14
gridcolor: "rgb(230, 230, 230)"
'NF_DENSITY' and
'VHOST' and
'VXLAN' and
- 'CHAIN' a
+ 'CHAIN' and
'IMIX' and
'2T1C' and
'NDRPDR'"
output-file-links: "{DIR[LAT,VPP]}/2n_skx.rst"
target-links: "../../_static/vpp"
data: "plot-vpp-hdrh-lat-2n-skx"
+ filter: "'2T1C' and 'NIC_Intel-XXV710'"
layout:
layout: "plot-hdrh-latency-by-percentile"
output-file-links: "{DIR[LAT,VPP]}/3n_skx.rst"
target-links: "../../_static/vpp"
data: "plot-vpp-hdrh-lat-3n-skx"
+ filter: "'2T1C' and 'NIC_Intel-XXV710'"
layout:
layout: "plot-hdrh-latency-by-percentile"
output-file-links: "{DIR[LAT,VPP]}/2n_clx.rst"
target-links: "../../_static/vpp"
data: "plot-vpp-hdrh-lat-2n-clx"
+ filter: "'2T1C' and 'NIC_Mellanox-CX556A'"
layout:
layout: "plot-hdrh-latency-by-percentile"
output-file-links: "{DIR[LAT,VPP]}/3n_hsw.rst"
target-links: "../../_static/vpp"
data: "plot-vpp-hdrh-lat-3n-hsw"
+ filter: "'1T1C' and 'NIC_Intel-XL710'"
layout:
layout: "plot-hdrh-latency-by-percentile"
output-file-links: "{DIR[LAT,VPP]}/3n_tsh.rst"
target-links: "../../_static/vpp"
data: "plot-vpp-hdrh-lat-3n-tsh"
+ filter: "'1T1C' and 'NIC_Intel-X520-DA2'"
layout:
layout: "plot-hdrh-latency-by-percentile"