def METHOD_NAME(host, port, timeout = 600):
    with memcached_workload_common.make_memcache_connection({"address": (host, port), "mclib": "pylibmc", "protocol": "text"}) as mc:
        temp = 0
        time_limit = time.time() + timeout
        while not temp and time.time() < time_limit:
            try:
                temp = mc.set("test", "test")
                print temp
            except Exception, e:
                print e
                pass
            time.sleep(1)
        goodsets = 0
        goodgets = 0
        for i in range(num_keys):
            try:
                if mc.set(str(i), str(i)):
                    goodsets += 1
            except:
                pass
        for i in range(num_keys):
            try:
                if mc.get(str(i)) == str(i):
                    goodgets += 1
            except:
                pass
        return goodsets, goodgets