mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: maobibo <maobibo@loongson.cn>
To: WANG Xuerui <kernel@xen0n.name>,
	Huacai Chen <chenhuacai@kernel.org>,
	Tianrui Zhao <zhaotianrui@loongson.cn>,
	Juergen Gross <jgross@suse.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org,
	virtualization@lists.linux.dev, kvm@vger.kernel.org
Subject: Re: [PATCH v4 0/6] LoongArch: Add pv ipi support on LoongArch VM
Date: Thu, 22 Feb 2024 18:06:05 +0800	[thread overview]
Message-ID: <542a8f4e-cec3-92d0-1cdd-43d112eec605@loongson.cn> (raw)
In-Reply-To: <7867d9c8-22fb-4bfc-92dc-c782d29c56f9@xen0n.name>



On 2024/2/22 下午5:34, WANG Xuerui wrote:
> On 2/17/24 11:15, maobibo wrote:
>> On 2024/2/15 下午6:25, WANG Xuerui wrote:
>>> On 2/15/24 18:11, WANG Xuerui wrote:
>>>> Sorry for the late reply (and Happy Chinese New Year), and thanks 
>>>> for providing microbenchmark numbers! But it seems the more 
>>>> comprehensive CoreMark results were omitted (that's also absent in 
>>>> v3)? While the 
>>>
>>> Of course the benchmark suite should be UnixBench instead of 
>>> CoreMark. Lesson: don't multi-task code reviews, especially not after 
>>> consuming beer -- a cup of coffee won't fully cancel the influence. ;-)
>>>
>> Where is rule about benchmark choices like UnixBench/Coremark for ipi 
>> improvement?
> 
> Sorry for the late reply. The rules are mostly unwritten, but in general 
> you can think of the preference of benchmark suites as a matter of 
> "effectiveness" -- the closer it's to some real workload in the wild, 
> the better. Micro-benchmarks is okay for illustrating the points, but 
> without demonstrating the impact on realistic workloads, a change could 
> be "useless" in practice or even decrease various performance metrics 
> (be that throughput or latency or anything that matters in the certain 
> case), but get accepted without notice.
yes, micro-benchmark cannot represent the real world, however it does 
not mean that UnixBench/Coremark should be run. You need to point out 
what is the negative effective from code, or what is the possible real 
scenario which may benefit. And points out the reasonable benchmark 
sensitive for IPIs rather than blindly saying UnixBench/Coremark.

Regards
Bibo Mao

> 


  reply	other threads:[~2024-02-22 10:06 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-01  3:19 Bibo Mao
2024-02-01  3:19 ` [PATCH v4 1/6] LoongArch/smp: Refine ipi ops on LoongArch platform Bibo Mao
2024-02-19  2:39   ` Huacai Chen
2024-02-19  3:58     ` maobibo
2024-02-01  3:19 ` [PATCH v4 2/6] LoongArch: KVM: Add hypercall instruction emulation support Bibo Mao
2024-02-19  2:41   ` Huacai Chen
2024-02-19  4:01     ` maobibo
2024-02-01  3:19 ` [PATCH v4 3/6] LoongArch: KVM: Add cpucfg area for kvm hypervisor Bibo Mao
2024-02-01  3:19 ` [PATCH v4 4/6] LoongArch: Add paravirt interface for guest kernel Bibo Mao
2024-02-19  2:42   ` Huacai Chen
2024-02-19  4:11     ` maobibo
2024-02-19  8:48       ` Huacai Chen
2024-02-19  9:21         ` maobibo
2024-02-19  9:38           ` Huacai Chen
2024-02-19  9:50             ` maobibo
2024-02-01  3:19 ` [PATCH v4 5/6] LoongArch: KVM: Add vcpu search support from physical cpuid Bibo Mao
2024-02-01  3:19 ` [PATCH v4 6/6] LoongArch: Add pv ipi support on LoongArch system Bibo Mao
2024-02-19  2:45   ` Huacai Chen
2024-02-19  4:18     ` maobibo
2024-02-19  7:16       ` Huacai Chen
2024-02-19  7:37         ` maobibo
2024-02-19  9:02           ` Huacai Chen
2024-02-19  9:57             ` maobibo
2024-02-15 10:11 ` [PATCH v4 0/6] LoongArch: Add pv ipi support on LoongArch VM WANG Xuerui
2024-02-15 10:25   ` WANG Xuerui
2024-02-17  3:15     ` maobibo
2024-02-22  9:34       ` WANG Xuerui
2024-02-22 10:06         ` maobibo [this message]
2024-02-22 10:13           ` WANG Xuerui

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=542a8f4e-cec3-92d0-1cdd-43d112eec605@loongson.cn \
    --to=maobibo@loongson.cn \
    --cc=chenhuacai@kernel.org \
    --cc=jgross@suse.com \
    --cc=kernel@xen0n.name \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loongarch@lists.linux.dev \
    --cc=pbonzini@redhat.com \
    --cc=virtualization@lists.linux.dev \
    --cc=zhaotianrui@loongson.cn \
    /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

all inboxes | Powered by JetHome®