Re: [PATCH v4 05/20] iommu/tegra: gart: Optimize mapping / unmapping performance

2018-09-24 Thread Thierry Reding
On Mon, Sep 24, 2018 at 03:41:38AM +0300, Dmitry Osipenko wrote: > Currently GART writes one page entry at a time. More optimal would be to > aggregate the writes and flush BUS buffer in the end, this gives map/unmap > 10-40% performance boost (depending on size of mapping) in comparison to > flush

[PATCH v4 05/20] iommu/tegra: gart: Optimize mapping / unmapping performance

2018-09-23 Thread Dmitry Osipenko
Currently GART writes one page entry at a time. More optimal would be to aggregate the writes and flush BUS buffer in the end, this gives map/unmap 10-40% performance boost (depending on size of mapping) in comparison to flushing after each page entry update. Signed-off-by: Dmitry Osipenko --- d