4c695cbb83954a50a5f87231f26464a0292508a9,perfkitbenchmarker/linux_packages/redis_enterprise.py,,TuneProxy,#Any#,133

Before Change



def TuneProxy(vm):
  Tune the number of redis proxies on the server vm.
  command = [
      "sudo /opt/redislabs/bin/rladmin tune",
      "proxy all",
      "max_threads", str(FLAGS.enterprise_redis_proxy_threads),
      "threads", str(FLAGS.enterprise_redis_proxy_threads),
  ]
  vm.RemoteCommand(" ".join(command))
  vm.RemoteCommand("sudo /opt/redislabs/bin/dmc_ctl restart")


def PinWorkers(vm):

After Change



def TuneProxy(vm):
  Tune the number of Redis proxies on the server vm.
  vm.RemoteCommand(
      "sudo /opt/redislabs/bin/rladmin tune "
      "proxy all "
      "max_threads {proxy_threads} "
      "threads {proxy_threads} ".format(
          proxy_threads=str(FLAGS.enterprise_redis_proxy_threads)))
  vm.RemoteCommand("sudo /opt/redislabs/bin/dmc_ctl restart")


def PinWorkers(vm):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 4c695cbb83954a50a5f87231f26464a0292508a9
Time: 2019-06-26
Author: ruwa@google.com
File Name: perfkitbenchmarker/linux_packages/redis_enterprise.py
Class Name:
Method Name: TuneProxy


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 4c695cbb83954a50a5f87231f26464a0292508a9
Time: 2019-06-26
Author: ruwa@google.com
File Name: perfkitbenchmarker/linux_packages/redis_enterprise.py
Class Name:
Method Name: CreateCluster


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: f57a568b58f15ede3aeb10538d85e7f1f7e22fec
Time: 2020-04-17
Author: liubrandon@google.com
File Name: perfkitbenchmarker/linux_benchmarks/openfoam_benchmark.py
Class Name:
Method Name: _RunCase