def METHOD_NAME(self):
    """
    Setup scripts/disks to memory hog
    """
    smm = SoftwareManager()
    self.memsize = self.params.get(
        'memory_size', default=None)
    if not self.memsize:
        self.memsize = int(memory.meminfo.MemFree.b * 0.9)
    self.file_type = self.params.get('file_type', default=None)
    deps = ['gcc']
    detected_distro = distro.detect()
    if detected_distro.name in ["Ubuntu", "debian"]:
        deps.extend(['libnuma-dev'])
    elif detected_distro.name in ["centos", "rhel", "fedora"]:
        deps.extend(['numactl-devel'])
    else:
        deps.extend(['libnuma-devel'])
    if self.file_type:
        if self.file_type == 'nvdimm':
            deps.extend(['ndctl'])
            if detected_distro.name == "rhel":
                deps.extend(['daxctl'])
    for package in deps:
        if not smm.check_installed(package) and not smm.install(package):
            self.cancel('%s is needed for the test to be run' % package)
    srcdir = os.path.join(self.workdir, 'memhog')
    if not os.path.exists(srcdir):
        os.makedirs(srcdir)
    for fname in ['memhog.c', 'util.c', 'util.h', 'numaif.h', 'numa.h']:
        fetch_file = self.fetch_asset(
            fname, locations=['https://raw.githubusercontent.com/numactl/'
                              'numactl/master/%s' % fname], expire='7d')
        shutil.copyfile(fetch_file, os.path.join(srcdir, fname))
    if self.file_type:
        if self.file_type == 'nvdimm':
            self.back_file = self.setup_nvdimm()
            disk_size = int(disk.freespace(self.mnt_dir) * 0.95)
        else:
            self.back_file = '/tmp/back_file'
            disk_size = int(disk.freespace('/tmp') * 0.95)
        if self.memsize > disk_size:
            self.memsize = disk_size
        cmd = 'fallocate -l %s %s' % (self.memsize, self.back_file)
        if process.system(cmd, ignore_status=True):
            self.cancel('Could not create file to be backed')
    os.chdir(srcdir)
    if process.system('gcc -lnuma -o memhog memhog.c util.c'):
        self.cancel('Compiling source failed')