Step 1. Introduction
There are two graphs showing the transactions per sec. and the system performance of the M10 ledger.
To run a performance test, you first need to create a scenario and add it to the queue. Since there may be other users, it is possible that there are other tests running.
Step 2. Create a scenario - create M1 accounts
This page provides the inputs to a load generator. The load generator creates payment accounts and transfers to simulate load on the ledger.
Start with typing in the number of M1 accounts to create. Each account represents a user’s bank account or accounts holding M1 funds. Funds issued by the central bank to commercial banks would be M0 accounts. For the definition of M0 and M1 funds, you can go to investopedia.com or khan academy’s youtube channel.
For example, 10,000 accounts would simulate the creation of 10,000 bank accounts.
Step 3. Create a scenario - transfer funds
Type in the number of transfers to run. The load generator will randomly select two accounts to send funds. A completed transfer means a finalized transaction between two accounts is recorded on the ledger.
Since ledger runs in the range of a million transactions per sec, running a scenario with 100 million transactions will take between 1-2 minutes.
We recommend using 200 million+ transfers to achieve the highest throughput for the ledger.
After putting in the accounts and transfers, you can Execute the scenario for testing.
Step 4. View the test run.
After hitting Execute, the demo will take you back to the Benchmark screen where it is in the queue and ready to run.
When your scenario is moved into “Currently active”, it is running and you should see activity within 3-4 secs on both the load and transaction rate screen.
Step 5. Getting to a high throughput.
As the system ramps up, the transaction count and cpu load will also ramp up.
In order to see a high transaction throughput rate, there needs to be enough transfers for the ledger to process.
You can typically get to 1M+ transactions per sec performance when you put in transfers 200M or higher.