Bug 1593361

Summary: Update kernel-rt timer wheel code
Product: Red Hat Enterprise Linux 7 Reporter: Daniel Bristot de Oliveira <daolivei>
Component: kernel-rtAssignee: Daniel Bristot de Oliveira <daolivei>
kernel-rt sub component: Other QA Contact: Qiao Zhao <qzhao>
Status: CLOSED ERRATA Docs Contact: Jaroslav Klech <jklech>
Severity: urgent    
Priority: unspecified CC: bhu, daolivei, jshortt, lgoncalv, williams
Version: 7.6   
Target Milestone: rc   
Target Release: 7.7   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
.The RHEL 7 kernel-rt timer wheel has been updated to a non-cascading timer wheel The current timer wheel has been switched to a non-cascading wheel which improves the timer subsystem and reduces the overheads on many operations. With the backport of the non-cascading timer wheel, kernel-rt is very close to the upstream kernel in enabling the backport of future improvements.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 12:35:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1550584, 1649541, 1723499, 1723502, 1942495    

Description Daniel Bristot de Oliveira 2018-06-20 16:21:53 UTC
Description of problem:

The ktimersoftirq is waking up every time the timer interrupt takes place - even when there is no timer to be handled. This behavior is causing a problem of latency for the kvm-rt workload.

The solution to this problem is the integration of the upstream's -rt specific patch [1].

At the moment of the kvm-rt BZ (BZ1550584) report, I tested [1] upstream, and it worked fine. However, it depended on the timer wheel rework [2]. And so, I started backporting the timer wheel rework to the kernel-rt.

The timer wheel rework patch set is mostly done now, and it will be ready to be posted soon. However, bugs were found in [1], making it non-ready for the upstream -rt kernel, so we cannot integrate it in our kernel as well.

So we decided to split the BUG into two bugs:

The enhance BZ backporting the timer wheel rework (this one)
The BUG fix BZ, to integrate the final version of [1] #BZ1550584

[1] https://patchwork.kernel.org/patch/10263111/
[2] https://patchwork.kernel.org/patch/9183973/


Version-Release number of selected component (if applicable):
RHEL 7.5 kernel

Comment 11 Daniel Bristot de Oliveira 2019-05-24 06:45:15 UTC
Hi Jaroslav!

It is still accurate, thanks for the changes, looks better now!

-- Daniel

Comment 12 Jaroslav Klech 2019-05-28 09:23:29 UTC
(In reply to Daniel Bristot de Oliveira from comment #11)
> Hi Jaroslav!
> 
> It is still accurate, thanks for the changes, looks better now!
> 
> -- Daniel

Thanks for your verification. By the way, I moved the "." back to the beginning. It is due to AsciiDoc markup, the title must start with a dot.

--Jaroslav

Comment 14 errata-xmlrpc 2019-08-06 12:35:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:2043