You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/django_workload/README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,15 @@ If running on ARM platform, please use the job `django_workload_arm`:
78
78
./benchpress_cli.py run django_workload_arm -r standalone
79
79
```
80
80
81
+
## Running Django_workload_arm_mini and Django_workload_mini
82
+
83
+
These jobs are shrunken versions of the Django_workload_arm and Django_workload jobs. They reuse the dataset generated by the full Django_workload_arm and Django_workload jobs and have a shorter runtime because they run only one iteration with the number of repetitions set to 100.
84
+
To run these jobs follow the following steps:
85
+
86
+
1. Run either Django_workload_arm or Django_workload (not the mini versions).
87
+
This will generate the necessary dataset and store it in /data/cassandra/data. We recommend to keep a backup of this data to avoid data loss.
88
+
2. Run Django_workload_arm_mini or Django_workload_mini on the emulator or real system. These mini jobs will reuse the dataset generated in the previous step.
89
+
81
90
## Reporting
82
91
83
92
Once the benchmark finishes on the django benchmarking machine, benchpress will
Copy file name to clipboardExpand all lines: packages/mediawiki/README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,6 +133,22 @@ you can run the following:
133
133
./benchpress_cli.py run oss_performance_mediawiki_mlp -i '{"scale_out": 3}'
134
134
```
135
135
136
+
## Running oss_performance_mediawiki_mini
137
+
138
+
This job is a shrunken version of oss_performance_mediawiki job. To run it, you can simply execute the following command:
139
+
140
+
```bash
141
+
./benchpress run oss_performance_mediawiki_mini
142
+
```
143
+
144
+
The oss_performance_mediawiki_mini job introduces additional options that allow you to:(i) reuse the temporary folder between runs, (ii) adjust the load generator seed, (iii) configure load generation durations for warmup, (iv) set the interval for JIT retranslation, and (v) specify a deterministic number of warmup iterations.
145
+
146
+
To reuse the temporary directory, run the oss_performance_mediawiki_mini job once and locate the path to the temp folder in the log output. Then, use that path for subsequent runs by specifying the temp_dir option. For example:
147
+
148
+
```bash
149
+
./benchpress run oss_performance_mediawiki_mini -i '{"temp_dir":"/tmp/hhvm-nginxtIdDIr"}'
150
+
```
151
+
136
152
### Reporting
137
153
138
154
After the benchmark finishes, benchpress will report the benchmark results in the
2. Make sure that you get the latest version of DCPerf. If you use DCPerf from Github,
389
+
please check out the latest commit in `v2-beta` branch. If you use the DCPerf fbpkg
390
+
internally, please do `fbpkg.fetch cea.chips.benchpress` to get the latest version. If
391
+
you've installed SparkBench with an older version of DCPerf, we recommend you clean and
392
+
re-install SparkBench.
393
+
394
+
3. If you have run SparkBench with a different dataset, please remove the data from previous runs so that SparkBench can rebuild database with the new dataset:
4. Create the /flash23 folder. Copy the bpc_t93586_s2_synthetic_5GB or bpc_t93586_s2_synthetic_1GB in the /flash23 folder. Note that SparkBench mini does not
402
+
require the high I/O throughput as the regular version, so it's OK to put `/flash23`
403
+
folder on your system drive.
404
+
405
+
5. Run `spark_standalone_remote_mini` job on a real machine. This will create data in `/flash23/warehouse` and `<benchpressPath>/benchmarks/spark_standalone/spark-2.4.5-bin-hadoop2.7/metastore_db`. Create a backup of these two folders. By default, this job uses the 5GB dataset. If you want to use the 1GB dataset, run the job with specifying the
406
+
`dataset_name` parameter like this:
407
+
408
+
```bash
409
+
./benchpress run spark_standalone_remote_mini -i '{"dataset_name":"bpc_t93586_s2_synthetic_1GB"}'
410
+
```
411
+
412
+
6. Run Spark mini on a real machine/emulator for the second time to reuse data, with the same commands and options (See [Reusing database on another machine](#reusing-database-on-another-machine).
413
+
375
414
## Reusing database on another machine
376
415
377
416
Building database takes a considerable amount of time, so it's advisable to consider
0 commit comments