From: Qian Cai <cai@lca.pw> To: Cong Wang <xiyou.wangcong@gmail.com> Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [Patch v3 0/3] iommu: reduce spinlock contention on fast path Date: Fri, 6 Dec 2019 16:57:57 -0500 [thread overview] Message-ID: <1CDA04A5-9EF1-4B6F-8461-37361D6460E2@lca.pw> (raw) In-Reply-To: <20191206213803.12580-1-xiyou.wangcong@gmail.com> > On Dec 6, 2019, at 4:38 PM, Cong Wang <xiyou.wangcong@gmail.com> wrote: > > This patchset contains three small optimizations for the global spinlock > contention in IOVA cache. Our memcache perf test shows this reduced its > p999 latency down by 45% on AMD when IOMMU is enabled. Can you at least have a changelog compared to previous versions? > > Cong Wang (3): > iommu: avoid unnecessary magazine allocations > iommu: optimize iova_magazine_free_pfns() > iommu: avoid taking iova_rbtree_lock twice > --- > drivers/iommu/iova.c | 75 ++++++++++++++++++++++++++------------------ > 1 file changed, 45 insertions(+), 30 deletions(-) > > -- > 2.21.0 > > _______________________________________________ > iommu mailing list > iommu@lists.linux-foundation.org > https://lists.linuxfoundation.org/mailman/listinfo/iommu
WARNING: multiple messages have this Message-ID (diff)
From: Qian Cai <cai@lca.pw> To: Cong Wang <xiyou.wangcong@gmail.com> Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [Patch v3 0/3] iommu: reduce spinlock contention on fast path Date: Fri, 6 Dec 2019 16:57:57 -0500 [thread overview] Message-ID: <1CDA04A5-9EF1-4B6F-8461-37361D6460E2@lca.pw> (raw) In-Reply-To: <20191206213803.12580-1-xiyou.wangcong@gmail.com> > On Dec 6, 2019, at 4:38 PM, Cong Wang <xiyou.wangcong@gmail.com> wrote: > > This patchset contains three small optimizations for the global spinlock > contention in IOVA cache. Our memcache perf test shows this reduced its > p999 latency down by 45% on AMD when IOMMU is enabled. Can you at least have a changelog compared to previous versions? > > Cong Wang (3): > iommu: avoid unnecessary magazine allocations > iommu: optimize iova_magazine_free_pfns() > iommu: avoid taking iova_rbtree_lock twice > --- > drivers/iommu/iova.c | 75 ++++++++++++++++++++++++++------------------ > 1 file changed, 45 insertions(+), 30 deletions(-) > > -- > 2.21.0 > > _______________________________________________ > iommu mailing list > iommu@lists.linux-foundation.org > https://lists.linuxfoundation.org/mailman/listinfo/iommu _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu
next prev parent reply other threads:[~2019-12-06 21:58 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-12-06 21:38 [Patch v3 0/3] iommu: reduce spinlock contention on fast path Cong Wang 2019-12-06 21:38 ` Cong Wang 2019-12-06 21:38 ` [Patch v3 1/3] iommu: avoid unnecessary magazine allocations Cong Wang 2019-12-06 21:38 ` Cong Wang 2019-12-06 21:38 ` [Patch v3 2/3] iommu: optimize iova_magazine_free_pfns() Cong Wang 2019-12-06 21:38 ` Cong Wang 2019-12-06 21:38 ` [Patch v3 3/3] iommu: avoid taking iova_rbtree_lock twice Cong Wang 2019-12-06 21:38 ` Cong Wang 2019-12-06 21:57 ` Qian Cai [this message] 2019-12-06 21:57 ` [Patch v3 0/3] iommu: reduce spinlock contention on fast path Qian Cai 2019-12-10 14:53 ` John Garry 2019-12-10 14:53 ` John Garry 2019-12-18 4:39 Cong Wang 2019-12-18 4:39 ` Cong Wang 2020-01-20 23:10 ` Cong Wang 2020-01-20 23:10 ` Cong Wang
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1CDA04A5-9EF1-4B6F-8461-37361D6460E2@lca.pw \ --to=cai@lca.pw \ --cc=iommu@lists.linux-foundation.org \ --cc=linux-kernel@vger.kernel.org \ --cc=xiyou.wangcong@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.