Skip to content

Commit e7f2d40

Browse files
authored
Update MySQL_project.md
1 parent 0b1fae8 commit e7f2d40

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

buffer_manager/MySQL_project.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,20 @@
44
- How does ```innodb_lru_scan_depth``` affect the operation method of buffer manager?
55
- Hint: Use grep command to find the location of ```srv_LRU_scan_depth``` in ```mysql-5.7.33```.
66

7-
## How to Configure LRU scan depth
7+
8+
## Experiment Guide
9+
### Configure LRU scan depth
810
Modify ```my.cnf``` file and vary ```innodb_lru_scan_depth``` configuration variable : 128 256 512 1024 2048 4096 8192. Refer to the [mysql document](https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_lru_scan_depth) for more information.
911

12+
### Run TPC-C benchmark
13+
Run TPC-C benchmark with the same configuration with [week 4](https://github.com/LeeBohyun/mysql-tpcc/blob/master/buffer_manager/buffer_miss_scenario_monitoring.md) while monitoring IOPS and CPU utilization with ```iostat``` at the same time. Also, check the hit ratio and the ratio of step 1, 2, and 3 after benchmarking.
14+
15+
1016
## Report Submission Guide
1117

1218
- The report should include the following contents.
1319
- Summarize & analyze the ```innodb_lru_scan_depth```-related mysql source code (``buf0lru.cc``, ``buf0flu.cc``)
14-
- How TpmC, read write IOPS, and hit ratio changes when varying ```innodb_lru_scan_depth```:128 256 512 1024 2048 4096 8192. (In a graph or a table)
20+
- How TpmC, read write IOPS, and hit ratio changes when varying ```innodb_lru_scan_depth```:128 256 512 1024 2048 4096 8192. (In a graph or a table)
1521
- How the ratio of Step 1, 2, 3 of the victim selection policy changes when varying ```innodb_lru_scan_depth```
1622

1723
- The report should answer to the following questions.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy