def METHOD_NAME(self):
    if (self.rw == 'randrw' or self.rw == 'rw') and self.rwmixwrite > 0:
        self.cfgName = "%s_mixwrite%d_%s_%03djobs_iops%06d.cfg" % (self.rw, self.rwmixwrite, self.bsrange, self.numjobs, self.iops)
    elif (self.rw == 'randrw' or self.rw == 'rw') and self.rwmixread > 0:
        self.cfgName = "%s_mixread%d_%s_%03djobs_iops%06d.cfg" % (self.rw, self.rwmixread, self.bsrange, self.numjobs, self.iops)
    else:
        self.cfgName = "%s_%s_%03djobs_iops%06d.cfg" % (self.rw, self.bsrange, self.numjobs, self.iops)
    f = open(self.cfgPath + '/' + self.cfgName, "w")
    f.write("[global]\n")
    f.write("rw=%s\n" % self.rw)
    if (self.rw == 'randrw' or self.rw == 'rw') and self.rwmixwrite >0:
        f.write("rwmixwrite=%d\n" % self.rwmixwrite)
    elif (self.rw == 'randrw' or self.rw == 'rw') and self.rwmixread >0:
        f.write("rwmixread=%d\n" % self.rwmixread)
    f.write("direct=%d\n" % self.direct)
    f.write("size=%s\n" % self.size)
    f.write("numjobs=%d\n" % self.numjobs)