Skip to content

Commit

Permalink
add warmup description
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenayu committed Jan 31, 2025
1 parent cb66018 commit 602d5e5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ This tool provides an automated way to do aurora automatic performance testing,
- Initialize performance testing environments.
- **Performance Testing**:
- Prepare data and run Sysbench OLTP tests.
- Warumup before performance test.
- **Dynamic temp credentials Management**:
- Generate dynamic credentials for aws operations.
- Use dynamic credentials sts policy to avoid credentials expired.

## Prerequisites

Expand Down Expand Up @@ -70,7 +74,7 @@ This tool provides an automated way to do aurora automatic performance testing,
| `--restore` | `-s` | Restore data from S3 instead of preparing data with Sysbench, create a new cluster and restore data from mysql-snapshot |
| `--role-arn` | `-r` | aws login account roleARN (default: `arn:aws:iam::986330900858:role/full-manager-service-role`) |
| `--role-session` | `-n` | aws login role session name (default: `full-manager-service-role`) |

| `--warmup` | `-w` | do sysbench warmup before performance test run |

### Example Commands

Expand Down Expand Up @@ -114,8 +118,10 @@ bin/aurora-vs-TiDB --action=init-perftest-env --ec2-instance-id=i-1234567890abcd
bin/aurora-vs-TiDB --action=prepare-data --ec2-instance-id=i-1234567890abcdef0 --cluster-id=Aurora-v3060-perftest
```

#### Run Sysbench Performance Test
#### Run Sysbench Performance Test(warmup or not warmup)
```bash
bin/aurora-vs-TiDB --action=perftest-run --warmup --ec2-instance-id=i-1234567890abcdef0 --cluster-id=Aurora-v3060-perftest --perf-type=oltp_read_write
bin/aurora-vs-TiDB --action=perftest-run --ec2-instance-id=i-1234567890abcdef0 --cluster-id=Aurora-v3060-perftest --perf-type=oltp_read_write
```

Expand Down

0 comments on commit 602d5e5

Please sign in to comment.