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
DCPerf:Adding instructions in README for how to use jit size monitoring scripts (#311)
Summary:
Pull Request resolved: #311
Adds README documentation for JIT monitoring and TC dump options in MediaWiki benchmark. Instructs users to use --dry-run to get the base command, then lists available monitoring options with their defaults, expected output files, and usage notes.
Reviewed By: charles-typ
Differential Revision: D87393672
fbshipit-source-id: 23e9140d4d2500e174a5370655242594c32d3f86
Copy file name to clipboardExpand all lines: packages/mediawiki/README.md
+42Lines changed: 42 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,6 +133,48 @@ you can run the following:
133
133
./benchpress_cli.py run oss_performance_mediawiki_mlp -i '{"scale_out": 3}'
134
134
```
135
135
136
+
### JIT Monitoring and Translation Cache Dumping
137
+
138
+
The MediaWiki benchmark supports real-time JIT size monitoring and Translation Cache (TC) dumping for performance analysis. These features can be enabled through the `run.sh` script options.
139
+
140
+
#### Getting the Command
141
+
142
+
To see the full `run.sh` command with all available options, use the `--dry-run` flag with benchpress:
143
+
144
+
```bash
145
+
./benchpress_cli.py run oss_performance_mediawiki_mlp --dry-run
146
+
```
147
+
148
+
This will display the complete command that benchpress would execute. You can then copy this command and append the JIT monitoring options described below.
149
+
150
+
#### Available JIT Monitoring Options
151
+
152
+
The following options can be added to the `run.sh` command:
153
+
154
+
-`-j`: Enable JIT size monitoring with `dump_jit_size.py`
155
+
-`-J <port>`: Specify JIT monitoring port (default: `localhost:9092`)
156
+
-`-I <seconds>`: Set JIT monitoring interval in seconds (default: `1`)
0 commit comments