From: K Prateek Nayak <kprateek.nayak@amd.com>
To: Prakash Sangappa <prakash.sangappa@oracle.com>,
<linux-kernel@vger.kernel.org>
Cc: <rostedt@goodmis.org>, <peterz@infradead.org>,
<tglx@linutronix.de>, <daniel.m.jordan@oracle.com>
Subject: Re: [RFC PATCH 0/4] Scheduler time slice extension
Date: Wed, 13 Nov 2024 11:13:04 +0530 [thread overview]
Message-ID: <a8b828bb-7e8d-1f57-3c9a-3c4e65a185b8@amd.com> (raw)
In-Reply-To: <20241113000126.967713-1-prakash.sangappa@oracle.com>
Hello Prakash,
Few questions around the benchmarks.
On 11/13/2024 5:31 AM, Prakash Sangappa wrote:
> [..snip..]
>
> Test results:
> =============
> Test system 2 socket AMD Genoa
>
> Lock table test:- a simple database test to grab table lock(spin lock).
> Simulates sql query executions.
> 300 clients + 400 cpu hog tasks to generate load.
Have you tried running the 300 clients with a nice value of -20 and 400
CPU hogs with the default nice value / nice 19? Does that help this
particular case?
>
> Without extension : 182K SQL exec/sec
> With extension : 262K SQL exec/sec
> 44% improvement.
>
> Swingbench - standard database benchmark
> Cached(database files on tmpfs) run, with 1000 clients.
In this case, how does the performance fare when running the clients
under SCHED_BATCH? What does the "TASK_PREEMPT_DELAY_REQ" count vs
"TASK_PREEMPT_DELAY_GRANTED" count look like for the benchmark run?
I'm trying to understand what the performance looks like when using
existing features that inhibit preemption vs putting forward the
preemption when the userspace is holding a lock. Feel free to quote
the latency comparisons too if using the existing features lead to
unacceptable avg/tail latencies.
>
> Without extension : 99K SQL exec/sec
> with extension : 153K SQL exec/sec
> 55% improvement in throughput.
>
> [..snip..]
>
--
Thanks and Regards,
Prateek
next prev parent reply other threads:[~2024-11-13 5:43 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-13 0:01 Prakash Sangappa
2024-11-13 0:01 ` [RFC PATCH 1/4] Introduce per thread user-kernel shared structure Prakash Sangappa
2024-11-13 0:01 ` [RFC PATCH 2/4] Scheduler time extention Prakash Sangappa
2024-11-13 3:57 ` K Prateek Nayak
2024-11-13 17:40 ` Prakash Sangappa
2024-11-13 0:01 ` [RFC PATCH 3/4] Indicate if schedular preemption delay request is granted Prakash Sangappa
2024-11-13 0:01 ` [RFC PATCH 4/4] Add scheduler preemption delay granted stats Prakash Sangappa
2024-11-13 5:43 ` K Prateek Nayak [this message]
2024-11-13 19:56 ` [RFC PATCH 0/4] Scheduler time slice extension Prakash Sangappa
2024-11-13 18:50 ` Peter Zijlstra
2024-11-13 19:36 ` Mathieu Desnoyers
2024-11-13 20:10 ` Prakash Sangappa
2024-11-13 20:57 ` Mathieu Desnoyers
2024-11-13 23:24 ` Prakash Sangappa
2024-11-14 10:28 ` Peter Zijlstra
2024-11-14 19:42 ` Prakash Sangappa
2024-11-15 14:13 ` Mathieu Desnoyers
2024-11-15 17:20 ` Prakash Sangappa
2024-12-09 20:36 ` Prakash Sangappa
2024-12-09 21:17 ` Mathieu Desnoyers
2024-12-16 18:59 ` Prakash Sangappa
2025-02-04 3:04 ` Prakash Sangappa
2024-11-14 10:14 ` Peter Zijlstra
2024-11-15 14:41 ` Mathieu Desnoyers
2024-11-15 17:49 ` Prakash Sangappa
2024-11-13 19:50 ` Prakash Sangappa
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=a8b828bb-7e8d-1f57-3c9a-3c4e65a185b8@amd.com \
--to=kprateek.nayak@amd.com \
--cc=daniel.m.jordan@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=prakash.sangappa@oracle.com \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/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®