fix issues with NC
Signed-off-by: Benjamin Hesmans <benjamin.hesmans@uclouvain.be>
This commit is contained in:
parent
bb33748de3
commit
fe68f5ab82
@ -34,9 +34,9 @@ class MpExperienceNC(MpExperience):
|
|||||||
def prepare(self):
|
def prepare(self):
|
||||||
MpExperience.prepare(self)
|
MpExperience.prepare(self)
|
||||||
self.mpTopo.commandTo(self.mpConfig.client, "rm " + \
|
self.mpTopo.commandTo(self.mpConfig.client, "rm " + \
|
||||||
MpExperienceNCPV.CLIENT_NC_LOG )
|
MpExperienceNC.CLIENT_NC_LOG )
|
||||||
self.mpTopo.commandTo(self.mpConfig.server, "rm " + \
|
self.mpTopo.commandTo(self.mpConfig.server, "rm " + \
|
||||||
MpExperienceNCPV.SERVER_NC_LOG )
|
MpExperienceNC.SERVER_NC_LOG )
|
||||||
|
|
||||||
def getNCServerCmd(self, id):
|
def getNCServerCmd(self, id):
|
||||||
s = "dd if=/dev/urandom ibs=" + self.ddibs + \
|
s = "dd if=/dev/urandom ibs=" + self.ddibs + \
|
||||||
@ -51,7 +51,7 @@ class MpExperienceNC(MpExperience):
|
|||||||
return s
|
return s
|
||||||
|
|
||||||
def getNCClientCmd(self, id):
|
def getNCClientCmd(self, id):
|
||||||
s = MpExperienceNCPV.NC_BIN + " " + \
|
s = MpExperienceNC.NC_BIN + " " + \
|
||||||
" -p " + self.ncClientPort[id] + " " + \
|
" -p " + self.ncClientPort[id] + " " + \
|
||||||
self.mpConfig.getServerIP() + " " + \
|
self.mpConfig.getServerIP() + " " + \
|
||||||
self.ncServerPort + " " + \
|
self.ncServerPort + " " + \
|
||||||
|
@ -42,6 +42,7 @@ class MpParamXp(MpParam):
|
|||||||
defaultValue[RMEM] = "10240 87380 16777216"
|
defaultValue[RMEM] = "10240 87380 16777216"
|
||||||
defaultValue[KERNELPM] = "fullmesh"
|
defaultValue[KERNELPM] = "fullmesh"
|
||||||
defaultValue[KERNELPMC] = "fullmesh"
|
defaultValue[KERNELPMC] = "fullmesh"
|
||||||
|
defaultValue[KERNELPMS] = "fullmesh"
|
||||||
defaultValue[USERPMC] = "fullmesh"
|
defaultValue[USERPMC] = "fullmesh"
|
||||||
defaultValue[USERPMS] = "fullmesh"
|
defaultValue[USERPMS] = "fullmesh"
|
||||||
defaultValue[USERPMCARGS] = ""
|
defaultValue[USERPMCARGS] = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user