From: Tycho Andersen <tycho@kernel.org>
To: Alexander Lougovski <alougovs@redhat.com>
Cc: bp@alien8.de, kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
pbonzini@redhat.com, thomas.lendacky@amd.com,
vkuznets@redhat.com
Subject: Re: [PATCH] KVM: SVM: make svm_flush_tlb_gva do a full asid flush if NPT enabled
Date: Tue, 28 Jul 2026 15:34:36 -0600 [thread overview]
Message-ID: <amkdorffsAuguuIk@tycho.pizza> (raw)
In-Reply-To: <20260728171356.96405-1-alougovs@redhat.com>
Hi Alexander,
On Tue, Jul 28, 2026 at 07:13:56PM +0200, Alexander Lougovski wrote:
> On Mon, Jul 27, 2026 at 01:23:03PM -0600, Tycho Andersen wrote:
> > Can you share the code for the mmap + disk io + DB content generator?
> >
> > We're looking at this and would like to reproduce.
>
> Hi Tycho,
>
> Sure, here's everything below.
Thanks for this, I think I've got everything set up the way you've
described on top of 7.2-rc5.
One question,
> query_stream() {
> local TARGET=$1
> while true; do
> case $((RANDOM % 4)) in
> 0) Q="SET NOCOUNT ON; DECLARE @s INT = ABS(CHECKSUM(NEWID())) % 2800000 + 1; UPDATE StressDB.dbo.RandomData SET Col2 = REPLICATE(N'X', 90 + ABS(CHECKSUM(NEWID())) % 10), Col3 = REPLICATE(N'Y', 90 + ABS(CHECKSUM(NEWID())) % 10), Col5 = SYSDATETIME(), Col7 = ABS(CHECKSUM(NEWID())) WHERE ID BETWEEN @s AND @s + 50000" ;;
my LLM complained about the '% 2800000', looks like it's selecting
from 1..2.8M in a 1.6M table, so the updates above 1.6M don't affect
any rows.
I'll leave these grinding for now, I'm trying to scare up more
hardware to run more copies since it's so rare.
Tycho
prev parent reply other threads:[~2026-07-28 21:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260723094419.630204-1-pbonzini@redhat.com>
2026-07-24 22:36 ` [PATCH] KVM: SVM: make svm_flush_tlb_gva do a full asid flush if NPT enabled Sean Christopherson
2026-07-25 13:37 ` Paolo Bonzini
2026-07-24 23:42 ` Yosry Ahmed
2026-07-24 23:50 ` Yosry Ahmed
2026-07-25 13:32 ` Paolo Bonzini
2026-07-25 21:33 ` Yosry Ahmed
2026-07-27 19:23 ` Tycho Andersen
2026-07-27 19:58 ` Yosry Ahmed
2026-07-28 17:13 ` Alexander Lougovski
2026-07-28 21:34 ` Tycho Andersen [this message]
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=amkdorffsAuguuIk@tycho.pizza \
--to=tycho@kernel.org \
--cc=alougovs@redhat.com \
--cc=bp@alien8.de \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=thomas.lendacky@amd.com \
--cc=vkuznets@redhat.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox