public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH-RT sched v1 0/2] Optimize the RT group scheduling
@ 2024-06-27 17:21 Xavier
  2024-06-27 17:21 ` [PATCH-RT sched v1 1/2] RT SCHED: Optimize the enqueue and dequeue operations for rt_se Xavier
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Xavier @ 2024-06-27 17:21 UTC (permalink / raw)
  To: mingo, peterz, juri.lelli, vincent.guittot
  Cc: dietmar.eggemann, rostedt, bsegall, mgorman, bristot, vschneid,
	linux-kernel, Xavier

Hi all,

The first patch optimizes the enqueue and dequeue of rt_se, the strategy
employs a bottom-up removal approach.
The second patch provides validation for the efficiency improvements made
by patch 1. The test case count the number of infinite loop executions for
all threads.

		origion          optimized

	   10242794134		10659512784
	   13650210798		13555924695
	   12953159254		13733609646
	   11888973428		11742656925
	   12791797633		13447598015
	   11451270205		11704847480
	   13335320346		13858155642
	   10682907328		10513565749
	   10173249704		10254224697
	   8309259793		8893668653

avg    11547894262      11836376429

Run two QEMU emulators simultaneously, one running the original kernel and the
other running the optimized kernel, and compare the average of the results over
10 runs. After optimizing, the number of iterations in the infinite loop increased
by approximately 2.5%.

Kindly review.

Xavier (2):
  RT SCHED: Optimize the enqueue and dequeue operations for rt_se
  RT test: Adding test cases for RT group scheduling

 MAINTAINERS                                   |   7 +
 kernel/sched/debug.c                          |  50 ++++
 kernel/sched/rt.c                             | 277 +++++++++++++++---
 kernel/sched/sched.h                          |   1 +
 tools/testing/selftests/sched/Makefile        |   4 +-
 tools/testing/selftests/sched/deadloop.c      | 192 ++++++++++++
 .../selftests/sched/rt_group_sched_test.sh    | 119 ++++++++
 7 files changed, 606 insertions(+), 44 deletions(-)
 create mode 100644 tools/testing/selftests/sched/deadloop.c
 create mode 100755 tools/testing/selftests/sched/rt_group_sched_test.sh

-- 
2.45.2


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-08-08 12:08 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-27 17:21 [PATCH-RT sched v1 0/2] Optimize the RT group scheduling Xavier
2024-06-27 17:21 ` [PATCH-RT sched v1 1/2] RT SCHED: Optimize the enqueue and dequeue operations for rt_se Xavier
2024-06-28 23:29   ` kernel test robot
2024-06-29  0:20   ` kernel test robot
2024-06-27 17:21 ` [PATCH-RT sched v1 2/2] RT test: Adding test cases for RT group scheduling Xavier
2024-06-29 11:28 ` [PATCH-RT sched v2 0/2] Optimize the " Xavier
2024-06-29 11:28   ` [PATCH-RT sched v2 1/2] RT SCHED: Optimize the enqueue and dequeue operations for rt_se Xavier
2024-07-04  8:30     ` kernel test robot
2024-06-29 11:28   ` [PATCH-RT sched v2 2/2] RT test: Adding test cases for RT group scheduling Xavier
2024-07-16  6:05   ` [PATCH-RT sched v3 0/2] Optimize the " Xavier
2024-07-16  6:05     ` [PATCH-RT sched v3 1/2] RT SCHED: Optimize the enqueue and dequeue operations for rt_se Xavier
2024-07-16 20:24       ` kernel test robot
2024-07-17  3:00         ` [PATCH-RT sched v4 0/2] Optimize the RT group scheduling Xavier
2024-07-17  3:00           ` [PATCH-RT sched v4 1/2] RT SCHED: Optimize the enqueue and dequeue operations for rt_se Xavier
2024-07-25  6:21             ` Xavier
2024-08-08 11:22               ` Xavier
2024-07-17  3:00           ` [PATCH-RT sched v4 2/2] RT test: Adding test cases for RT group scheduling Xavier
2024-07-16  6:05     ` [PATCH-RT sched v3 " Xavier
2024-07-29  9:32 ` [PATCH-RT sched v1 0/2] Optimize the " Michal Koutný
2024-07-31  3:02   ` Xavier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox