aptos-foundation/AIPs

[AIP-58][Discussion] Gas Schedule Adjustments

igor-aptos opened this issue · 2 comments

AIP Discussion

Current gas schedule doesn't correspond well with validator throughput. In perfect case, gas/s should be constant, for any workload.

We are going to take a set of representative workloads, run validator throughput benchmarks to measure their TPS, and then calibrate re-weighting 4 groups of charges to minimize square error against a target gas/s. Four groups of charges we will look at here will be intrinsic, execution, io-read and io-write.

Read more about it here: Link to AIP

@igor-aptos does this address the discrepancy between timeouts and op costs per #298 (comment)?

@alnoki - this improves calibration, but not perfectly. further calibrations and more granular calibrations are planned, as explained in the other issue.