Пример #1
0
 def _7_1_1_and_7_2():
     for us in CHOSEN_DYN_uss:
         us_tdf = int(round(us * python_config.TDF))
         sg.seq(
             sync=SYNC,
             name="7-1-1_seq-dyn-all-{}us".format(us),
             edr=edr,
             odr=odr,
             ptn=DYN_PTN.format(us_tdf, "*"),
             key_fnc=lambda fn: fn.split("-")[8],
             dur=DUR_us,
             flt=lambda idx, label, ccs=ORDER_VARS: label in ccs,
             order=ORDER_VARS,
             msg_len=msg_len,
             cir_lat_s=CIR_LAT_s,
             log_pos=LOG_POS)
         buffers_graphs.util(
             sync=SYNC,
             name="7-2_util-lat-dyn-all-{}us_util".format(us),
             edr=edr,
             odr=odr,
             ptn=DYN_PTN.format(us_tdf, "*"),
             key_fnc=lambda fn: fn.split("-")[8],
             xlb="TCP variant",
             srt=False,
             xlr=45,
             lbs=12,
             flt=lambda key: key != "retcp",
             num_racks=NUM_RACKS_FAKE,
             msg_len=msg_len)
Пример #2
0
 def _8_2():
     buffers_graphs.util(sync=SYNC,
                         name="8-2_util-lat-static-retcp_util",
                         edr=edr,
                         odr=odr,
                         ptn=STATIC_PTN_CUR.format("*", "retcp"),
                         key_fnc=lambda fn: int(fn.split("-")[3]),
                         order=ORDER_STATIC_UTIL,
                         xlb="Static buffer size (packets)",
                         num_racks=NUM_RACKS_FAKE,
                         msg_len=msg_len)
Пример #3
0
 def _5_2():
     buffers_graphs.util(
         sync=SYNC,
         name="5-2_util-lat-static-{}_util".format(CHOSEN_TCP),
         edr=edr,
         odr=odr,
         ptn=STATIC_PTN_CUR.format("*", CHOSEN_TCP),
         key_fnc=lambda fn: fn.split("-")[3],
         xlb="Static buffer size (packets)",
         order=ORDER_STATIC_UTIL,
         num_racks=NUM_RACKS_FAKE,
         msg_len=msg_len)
Пример #4
0
 def _6_2():
     buffers_graphs.util(
         sync=SYNC,
         name="6-2_util-lat-dyn-{}_util".format(CHOSEN_TCP),
         edr=edr,
         odr=odr,
         ptn=DYN_PTN.format("*", CHOSEN_TCP),
         key_fnc=lambda fn: int(round(float(fn.split("-")[7])
                                      / python_config.TDF)),
         xlb="Resize time ($\mu$s)",
         xlr=45,
         lbs=12,
         num_racks=NUM_RACKS_FAKE,
         msg_len=msg_len)
Пример #5
0
 def _10_2():
     buffers_graphs.util(
         sync=SYNC,
         name="10-2_util-lat-vary-day-dyn-retcp_util",
         edr=edr,
         odr=odr,
         ptn=DYN_PTN.format(CHOSEN_STATIC_SMALL, "retcp", "*", "*"),
         key_fnc=lambda fn: int(
             round(float(fn.split("-")[13]) / python_config.TDF)),
         xlb="Circuit uptime ($\mu$s)",
         xlr=45,
         lbs=12,
         num_racks=NUM_RACKS_FAKE,
         msg_len=msg_len)
Пример #6
0
 def _4_2():
     buffers_graphs.util(
         sync=SYNC,
         name="4-2_util-lat-current-all_util",
         edr=edr,
         odr=odr,
         ptn=STATIC_PTN_CUR.format(CHOSEN_STATIC_SMALL, "*"),
         key_fnc=lambda fn: fn.split("-")[8],
         xlb="TCP variant",
         srt=False,
         xlr=45,
         lbs=12,
         flt=lambda key: key != "retcp",
         num_racks=NUM_RACKS_FAKE,
         msg_len=msg_len)
Пример #7
0
 def _9_2():
     buffers_graphs.util(
         sync=SYNC,
         name="9-2_util-lat-dyn-retcp_util",
         edr=edr,
         odr=odr,
         ptn=DYN_PTN_CUR.format("*", "retcp"),
         key_fnc=lambda fn: int(
             round(float(fn.split("-")[7]) / python_config.TDF)),
         flt=lambda key, order=ORDER_DYN_RETCP_UTIL: key in order,
         order=ORDER_DYN_RETCP_UTIL,
         xlb="Resize time ($\mu$s)",
         lbs=12,
         num_racks=NUM_RACKS_FAKE,
         msg_len=msg_len)