[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/5] intel_iommu: Skip page walking on device iotlb invalidat
From: |
Peter Xu |
Subject: |
Re: [PATCH 4/5] intel_iommu: Skip page walking on device iotlb invalidations |
Date: |
Fri, 4 Sep 2020 14:32:10 -0400 |
On Thu, Sep 03, 2020 at 06:14:45PM +0200, Eugenio Pérez wrote:
> Although they didn't reach the notifier because of the filtering in
> memory_region_notify_iommu_one, the vt-d was still splitting huge
> memory invalidations in chunks. Skipping it.
>
> This improves performance in case of netperf with vhost-net:
> * TCP_STREAM: From 1923.6Mbit/s to 2175.13Mbit/s (13%)
> * TCP_RR: From 8464.73 trans/s to 8932.703333 trans/s (5.5%)
> * UDP_RR: From 8562.08 trans/s to 9005.62/s (5.1%)
> * UDP_STREAM: No change observed (insignificant 0.1% improvement)
>
> Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
--
Peter Xu
- [PATCH 0/5] memory: Skip assertion in memory_region_unregister_iommu_notifier, Eugenio Pérez, 2020/09/03
- [PATCH 1/5] memory: Rename memory_region_notify_one to memory_region_notify_iommu_one, Eugenio Pérez, 2020/09/03
- [PATCH 2/5] memory: Add IOMMUTLBEvent, Eugenio Pérez, 2020/09/03
- [PATCH 3/5] memory: Add IOMMU_NOTIFIER_DEVIOTLB_UNMAP IOMMUTLBNotificationType, Eugenio Pérez, 2020/09/03
- [PATCH 4/5] intel_iommu: Skip page walking on device iotlb invalidations, Eugenio Pérez, 2020/09/03
- Re: [PATCH 4/5] intel_iommu: Skip page walking on device iotlb invalidations,
Peter Xu <=
- [PATCH 5/5] memory: Skip bad range assertion if notifier is DEVIOTLB_UNMAP type, Eugenio Pérez, 2020/09/03