summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2017-06-23 15:45:31 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-08-10 10:26:05 +0800
commitf846c8de64ced9965e04cc9ae1922036175e395b (patch)
tree848bf95e8bd279c2ee88159988bf8e6bc039f5b2 /tools/perf/scripts/python/export-to-postgresql.py
parent4cf196eb1ecb8b74c05fcd89266a70506ed4c5a6 (diff)
drm/i915/gvt: Optimize ring siwtch 2x faster by removing unnecessary POSTING_READ
There are lots of POSTING_READ alongside each mmio write Op. While actually this is not necessary. It just bring too much latency since PCIe read Op is very slow which is of non-posted transaction. For PCIe device, the mem transaction for strong ordering rules are: o PCIe mmio write sequence is FIFO. Posted request cannot pass previous posted request. o PCIe mmio read will not go ahead of previous write. Intel graphics doesn't support RO, so we can apply above rules. In our case, we only need one POSTING_READ at last. This can remove half of mmio read Op and then the average ring switch performance is nearly doubled. Before After cycles ~970000 ~550000 Signed-off-by: Changbin Du <changbin.du@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions