summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-report
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2026-01-24 17:00:21 -0400
committerJoerg Roedel <joerg.roedel@amd.com>2026-01-28 15:14:17 +0100
commit5815d9303c67cef5f47cd01e73b671e6b9c40ef3 (patch)
tree68aa7c3ac3e79212995e2f86333e594d28dd79dc /tools/perf/scripts/python/bin/task-analyzer-report
parent63804fed149a6750ffd28610c5c1c98cce6bd377 (diff)
downloadkernel-5815d9303c67cef5f47cd01e73b671e6b9c40ef3.tar.gz
iommupt: Only cache flush memory changed by unmap
The cache flush was happening on every level across the whole range of iteration, even if no leafs or tables were cleared. Instead flush only the sub range that was actually written. Overflushing isn't a correctness problem but it does impact the performance of unmap. After this series the performance compared to the original VT-d implementation with cache flushing turned on is: map_pages pgsz ,avg new,old ns, min new,old ns , min % (+ve is better) 2^12, 253,266 , 213,227 , 6.06 2^21, 246,244 , 221,219 , 0.00 2^30, 231,240 , 209,217 , 3.03 256*2^12, 2604,2668 , 2415,2540 , 4.04 256*2^21, 2495,2824 , 2390,2734 , 12.12 256*2^30, 2542,2845 , 2380,2718 , 12.12 unmap_pages pgsz ,avg new,old ns, min new,old ns , min % (+ve is better) 2^12, 259,292 , 222,251 , 11.11 2^21, 255,259 , 227,236 , 3.03 2^30, 238,254 , 217,230 , 5.05 256*2^12, 2751,2620 , 2417,2437 , 0.00 256*2^21, 2461,2526 , 2377,2423 , 1.01 256*2^30, 2498,2543 , 2370,2404 , 1.01 Fixes: efa03dab7ce4 ("iommupt: Flush the CPU cache after any writes to the page table") Reported-by: Francois Dugast <francois.dugast@intel.com> Closes: https://lore.kernel.org/all/20260121130233.257428-1-francois.dugast@intel.com/ Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> Tested-by: Francois Dugast <francois.dugast@intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-report')
0 files changed, 0 insertions, 0 deletions
sMartin K. Petersen 2009-05-11block: hide request sector and data_lenTejun Heo 2009-05-11block: drop request->hard_* and *nr_sectorsTejun Heo 2009-05-11block: convert to pos and nr_sectors accessorsTejun Heo 2009-04-24block: simplify I/O stat accountingJerome Marchand 2009-04-07block: fix inconsistency in I/O stat accounting codeJerome Marchand 2009-03-26block: WARN in __blk_put_request() for potential bio leakBoaz Harrosh 2009-03-06block: fix missing bio back/front segment size setting in blk_recount_segments()Jens Axboe 2009-02-26block: reduce stack footprint of blk_recount_segments()Jens Axboe 2008-11-06block: remove unused ll_new_mergeable()FUJITA Tomonori 2008-10-17block: fix nr_phys_segments miscalculation bugFUJITA Tomonori 2008-10-09block: inherit CPU completion on bio->rq and rq->rq mergesJens Axboe 2008-10-09block: move stats from disk to part0Tejun Heo 2008-10-09block: fix diskstats accessTejun Heo 2008-10-09block: fix disk->part[] dereferencing raceTejun Heo 2008-10-09block: misc updatesTejun Heo 2008-10-09drop vmerge accountingMikulas Patocka 2008-10-09block: drop virtual merging accountingMikulas Patocka 2008-10-09Allow elevators to sort/merge discard requestsDavid Woodhouse 2008-07-03block: Block layer data integrity supportMartin K. Petersen 2008-05-07block: get rid of likely/unlikely predictions in merge logicJens Axboe 2008-04-29block: make queue flags non-atomicNick Piggin 2008-04-21block: move the padding adjustment to blk_rq_map_sgFUJITA Tomonori 2008-03-04block: restore the meaning of rq->data_len to the true data lengthFUJITA Tomonori 2008-02-19block: clear drain buffer if draining for write commandTejun Heo 2008-02-19block: implement request_queue->dma_drain_neededTejun Heo 2008-02-19block: add request->raw_data_lenTejun Heo 2008-02-08Enhanced partition statistics: update partition statiticsJerome Marchand 2008-02-01block: make core bits checkpatch compliantJens Axboe 2008-01-29block: ll_rw_blk.c split, add blk-merge.cJens Axboe