Skip to content

Commit 3d44a71

Browse files
committed
Update the README
1 parent de2c19e commit 3d44a71

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

README.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,20 @@ Optimize MySQL/InnoDB using NVDIMM
1010
$ git clone https://github.com/meeeejin/mysql-57-nvdimm-caching.git
1111
```
1212

13-
2. Run the script file:
13+
2. Modify the `PASSWD` value in the build script:
14+
15+
```bash
16+
$ vi build.sh
17+
18+
#!/bin/bash
19+
20+
BASE_DIR=`pwd -P`
21+
BUILD_DIR=$BASE_DIR/bld
22+
PASSWD="sudo-passwd"
23+
...
24+
```
25+
26+
3. Run the script file:
1427

1528
```bash
1629
$ ./build.sh
@@ -21,10 +34,11 @@ The above command will compile and build the source code with the default option
2134
| Option | Description |
2235
| :--------- | :---------- |
2336
| --origin | No caching (Vanilla version) |
24-
| --nc | Caching New-Orders and Order-Line pages (`default`) |
25-
| --nc-st | Caching New-Orders, Order-Line and Stock pages |
26-
| --nc-st-od | Caching New-Orders, Order-Line, Stock and Orders pages |
27-
| --mtr | Caching New-Orders, Order-Line, Stock and Orders pages with mtr logging enabled |
37+
| --origin-monitor | No caching but monitoring the flush status |
38+
| --nc | Caching New-Orders and Order-Line pages (`default`) |
39+
| --nc-st | Caching New-Orders, Order-Line and Stock pages |
40+
| --nc-st-od | Caching New-Orders, Order-Line, Stock and Orders pages |
41+
| --mtr | Caching New-Orders, Order-Line, Stock and Orders pages with mtr logging enabled |
2842

2943
If you want the vanilla version, you can run the script as follows:
3044

0 commit comments

Comments
 (0)