linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] GRUB reclaiming fixes
@ 2023-05-15  2:57 Vineeth Pillai
  2023-05-15  2:57 ` [PATCH v3 1/5] sched/deadline: Fix bandwidth reclaim equation in GRUB Vineeth Pillai
                   ` (4 more replies)
  0 siblings, 5 replies; 25+ messages in thread
From: Vineeth Pillai @ 2023-05-15  2:57 UTC (permalink / raw)
  To: luca.abeni, Juri Lelli, Daniel Bristot de Oliveira,
	Peter Zijlstra, Ingo Molnar, Vincent Guittot, Steven Rostedt,
	Joel Fernandes, Dietmar Eggemann, Ben Segall, Mel Gorman,
	Valentin Schneider
  Cc: Vineeth Pillai, Jonathan Corbet, linux-kernel, linux-doc

Current reclaim calculation for GRUB is a bit inaccurate and the
inaccuracy gets larger as the bandwidth of tasks becomes smaller.

There are couple of issues with the existing implementation:
 - Loss of precision in division due to rounding off.
 - Minor bug in the reclaim calculation.
 - In SMP, tasks with smaller reservation tend to reclaim less
   even if its the only task on a cpu.
 - Inaccuracy when normal deadline tasks and SCHED_FLAG_RECLAIM
   tasks share the cpu.

This patch series aims to fix the above mentioned issues.

Changes in v3
-------------
1. Split the fixes into multiple self contained patches
2. Cover letter.

Vineeth Pillai (5):
  sched/deadline: Fix bandwidth reclaim equation in GRUB
  sched/deadline: Fix reclaim inaccuracy with SMP
  sched/deadline: Remove unused variable extra_bw
  sched/deadline: Account for normal deadline tasks in GRUB
  Documentation: sched/deadline: Update GRUB description

 Documentation/scheduler/sched-deadline.rst |  28 ++--
 kernel/sched/deadline.c                    | 160 ++++++++++-----------
 kernel/sched/sched.h                       |  18 ++-
 3 files changed, 112 insertions(+), 94 deletions(-)

-- 
2.40.1


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

end of thread, other threads:[~2023-05-26 15:18 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-15  2:57 [PATCH v3 0/5] GRUB reclaiming fixes Vineeth Pillai
2023-05-15  2:57 ` [PATCH v3 1/5] sched/deadline: Fix bandwidth reclaim equation in GRUB Vineeth Pillai
2023-05-15  2:57 ` [PATCH v3 2/5] sched/deadline: Fix reclaim inaccuracy with SMP Vineeth Pillai
2023-05-15  8:06   ` luca abeni
2023-05-16  1:47     ` Vineeth Remanan Pillai
2023-05-16  7:37       ` luca abeni
2023-05-16 15:08         ` Vineeth Remanan Pillai
2023-05-16 16:19           ` luca abeni
2023-05-17  2:17             ` Vineeth Remanan Pillai
2023-05-19  9:56           ` luca abeni
2023-05-19 10:18             ` luca abeni
2023-05-19 16:12               ` Vineeth Remanan Pillai
2023-05-20  9:50                 ` luca abeni
2023-05-20  9:58                 ` luca abeni
2023-05-22 19:22                   ` Vineeth Remanan Pillai
2023-05-23 20:58                     ` luca abeni
2023-05-24  2:11                       ` Vineeth Remanan Pillai
2023-05-26 14:54                         ` Vineeth Remanan Pillai
2023-05-26 15:18                           ` luca abeni
2023-05-19 17:56   ` Dietmar Eggemann
2023-05-20  2:15     ` Vineeth Remanan Pillai
2023-05-25 11:55       ` Dietmar Eggemann
2023-05-15  2:57 ` [PATCH v3 3/5] sched/deadline: Remove unused variable extra_bw Vineeth Pillai
2023-05-15  2:57 ` [PATCH v3 4/5] sched/deadline: Account for normal deadline tasks in GRUB Vineeth Pillai
2023-05-15  2:57 ` [PATCH v3 5/5] Documentation: sched/deadline: Update GRUB description Vineeth Pillai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).