mpExperienceDITG: packets of 1428 bytes
This commit is contained in:
parent
7c6d22e38b
commit
d7e3307348
@ -40,6 +40,7 @@ class MpExperienceDITG(MpExperience):
|
|||||||
todo : param LD_PRELOAD ??
|
todo : param LD_PRELOAD ??
|
||||||
"""
|
"""
|
||||||
self.kbytes = self.xpParam.getParam(MpParamXp.DITGKBYTES)
|
self.kbytes = self.xpParam.getParam(MpParamXp.DITGKBYTES)
|
||||||
|
self.constant_packet_size = self.xpParam.getParam(MpParamXp.DITGCONSTANTPACKETSIZE)
|
||||||
self.mean_poisson_packets_sec = self.xpParam.getParam(MpParamXp.DITGMEANPOISSONPACKETSSEC)
|
self.mean_poisson_packets_sec = self.xpParam.getParam(MpParamXp.DITGMEANPOISSONPACKETSSEC)
|
||||||
self.constant_packets_sec = self.xpParam.getParam(MpParamXp.DITGCONSTANTPACKETSSEC)
|
self.constant_packets_sec = self.xpParam.getParam(MpParamXp.DITGCONSTANTPACKETSSEC)
|
||||||
self.bursts_on_packets_sec = self.xpParam.getParam(MpParamXp.DITGBURSTSONPACKETSSEC)
|
self.bursts_on_packets_sec = self.xpParam.getParam(MpParamXp.DITGBURSTSONPACKETSSEC)
|
||||||
@ -55,7 +56,9 @@ class MpExperienceDITG(MpExperience):
|
|||||||
s = MpExperienceDITG.ITGSEND_BIN + " -a " + self.mpConfig.getServerIP() + \
|
s = MpExperienceDITG.ITGSEND_BIN + " -a " + self.mpConfig.getServerIP() + \
|
||||||
" -T TCP -k " + self.kbytes + " -l " + MpExperienceDITG.DITG_TEMP_LOG
|
" -T TCP -k " + self.kbytes + " -l " + MpExperienceDITG.DITG_TEMP_LOG
|
||||||
|
|
||||||
if self.mean_poisson_packets_sec != "0":
|
if self.constant_packet_size != "0":
|
||||||
|
s += " -c " + self.constant_packet_size
|
||||||
|
elif self.mean_poisson_packets_sec != "0":
|
||||||
s += " -O " + self.mean_poisson_packets_sec
|
s += " -O " + self.mean_poisson_packets_sec
|
||||||
elif self.constant_packets_sec != "0":
|
elif self.constant_packets_sec != "0":
|
||||||
s += " -C " + self.constant_packets_sec
|
s += " -C " + self.constant_packets_sec
|
||||||
|
@ -51,6 +51,7 @@ class MpParamXp(MpParam):
|
|||||||
VLCFILE = "vlcFile"
|
VLCFILE = "vlcFile"
|
||||||
VLCTIME = "vlcTime"
|
VLCTIME = "vlcTime"
|
||||||
DITGKBYTES = "ditgKBytes"
|
DITGKBYTES = "ditgKBytes"
|
||||||
|
DITGCONSTANTPACKETSIZE = "ditgConstantPacketSize"
|
||||||
DITGMEANPOISSONPACKETSSEC = "ditgMeanPoissonPacketsSec"
|
DITGMEANPOISSONPACKETSSEC = "ditgMeanPoissonPacketsSec"
|
||||||
DITGCONSTANTPACKETSSEC = "ditgConstantPacketsSec"
|
DITGCONSTANTPACKETSSEC = "ditgConstantPacketsSec"
|
||||||
DITGBURSTSONPACKETSSEC = "ditgBurstsOnPacketsSec"
|
DITGBURSTSONPACKETSSEC = "ditgBurstsOnPacketsSec"
|
||||||
@ -135,6 +136,7 @@ class MpParamXp(MpParam):
|
|||||||
defaultValue[VLCFILE] = "bunny_ibmff_360.mpd"
|
defaultValue[VLCFILE] = "bunny_ibmff_360.mpd"
|
||||||
defaultValue[VLCTIME] = "0"
|
defaultValue[VLCTIME] = "0"
|
||||||
defaultValue[DITGKBYTES] = "10000"
|
defaultValue[DITGKBYTES] = "10000"
|
||||||
|
defaultValue[DITGCONSTANTPACKETSIZE] = "1428"
|
||||||
defaultValue[DITGMEANPOISSONPACKETSSEC] = "0"
|
defaultValue[DITGMEANPOISSONPACKETSSEC] = "0"
|
||||||
defaultValue[DITGCONSTANTPACKETSSEC] = "0"
|
defaultValue[DITGCONSTANTPACKETSSEC] = "0"
|
||||||
defaultValue[DITGBURSTSONPACKETSSEC] = "0"
|
defaultValue[DITGBURSTSONPACKETSSEC] = "0"
|
||||||
|
Loading…
Reference in New Issue
Block a user