c8c2c1c1613641ea9b0161d7a47980d66d5e504c,perfkitbenchmarker/linux_benchmarks/dpb_distcp_benchmark.py,,Run,#Any#,97

Before Change


                     if (FLAGS.distcp_dest_fs != BaseDpbService.HDFS_FS) else
                     "/{}{}".format(run_uri, "/dfsio_destination"))

  start = datetime.datetime.now()
  benchmark_spec.dpb_service.distributed_copy(source_data_dir, destination_dir)
  end_time = datetime.datetime.now()
  run_time = (end_time - start).total_seconds()

  results = []
  metadata = copy.copy(benchmark_spec.dpb_service.GetMetadata())
  metadata.update({"source_fs": FLAGS.distcp_source_fs})

After Change


    A list of samples
  
  run_uri = benchmark_spec.uuid.split("-")[0]
  base_dir = "pkb-" + run_uri
  service = benchmark_spec.dpb_service

  if FLAGS.distcp_source_fs == BaseDpbService.HDFS_FS:
    source_dir = "/{}/".format(base_dir)
  else:
    source_dir = "{}://{}/".format(FLAGS.distcp_source_fs, base_dir)

  // Subdirectory TestDFSO writes data to
  source_data_dir = source_dir + "io_data"

  // Generate data to copy
  // TODO(saksena): Add a generic GenerateData method to dpb_service.
  dpb_testdfsio_benchmark.RunTestDfsio(
      service,
      dpb_testdfsio_benchmark.WRITE,
      source_dir,
      FLAGS.distcp_num_files,
      FLAGS.distcp_file_size_mbs)

  if FLAGS.distcp_dest_fs == BaseDpbService.HDFS_FS:
    destination_dir = "/{}/dfsio_destination/".format(base_dir)
  else:
    destination_dir = "{}://{}/dfsio_destination/".format(
        FLAGS.distcp_source_fs, base_dir)

  result = benchmark_spec.dpb_service.DistributedCopy(
      source_data_dir, destination_dir)

  results = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: c8c2c1c1613641ea9b0161d7a47980d66d5e504c
Time: 2021-03-10
Author: pclay@google.com
File Name: perfkitbenchmarker/linux_benchmarks/dpb_distcp_benchmark.py
Class Name:
Method Name: Run


Project Name: eth-cscs/reframe
Commit Name: 0f1c2a98960c6e3ba8d48e4f00ad358ccb204f07
Time: 2020-09-15
Author: karakasis@cscs.ch
File Name: reframe/core/schedulers/pbs.py
Class Name: PbsJobScheduler
Method Name: _poll_job


Project Name: aws/sagemaker-python-sdk
Commit Name: d0c676488695225233192e9fbe6d0e191c37e125
Time: 2019-08-20
Author: ishaaqc@amazon.com
File Name: src/sagemaker/session.py
Class Name: Session
Method Name: logs_for_job