Bug 1353700
Summary: | Worker nice_delta is not set in 5.6.0.13 | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Alex Krzos <akrzos> | |
Component: | Performance | Assignee: | Joe Rafaniello <jrafanie> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pradeep Kumar Surisetty <psuriset> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 5.6.0 | CC: | abellott, arcsharm, cpelland, dajohnso, jhardy, jrafanie, obarenbo, psuriset, simaishi | |
Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
Target Release: | 5.7.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | perf | |||
Fixed In Version: | 5.7.0.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1360364 (view as bug list) | Environment: | ||
Last Closed: | 2016-12-10 02:09:15 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: | 1360364 |
Description
Alex Krzos
2016-07-07 18:40:53 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/65528c9cfe6e5d3aa89a5ec443229ad88c5b3ec2 commit 65528c9cfe6e5d3aa89a5ec443229ad88c5b3ec2 Author: Joe Rafaniello <jrafanie> AuthorDate: Mon Jul 25 13:41:38 2016 -0400 Commit: Joe Rafaniello <jrafanie> CommitDate: Mon Jul 25 14:11:00 2016 -0400 Renice workers after they fork https://bugzilla.redhat.com/show_bug.cgi?id=1353700 Before we changed from spawn to fork [1], we'd spawn the process with a nice prefix [2], which gave the kernel some hints for CPU scheduling of our processes. A higher "nice" value for a process is nicer to other processes. This niceness wasn't brought over from spawn to fork. [1] https://github.com/ManageIQ/manageiq/pull/3593 [2] b0caa423cd928f09e3287bb5141803b3360b5f89 app/models/miq_worker.rb | 5 +++-- spec/models/miq_worker_spec.rb | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) [root@MIQ-BZ-test-R0000-DB-5700 ~]# ps -afxo pid,ni,command | grep -i "[Mm]iq" 4452 0 MIQ Server 6168 7 \_ MIQ: MiqEventHandler id: 1, queue: ems 6177 10 \_ MIQ: MiqGenericWorker id: 2, queue: generic 6185 10 \_ MIQ: MiqGenericWorker id: 3, queue: generic 6195 1 \_ MIQ: MiqPriorityWorker id: 4, queue: generic 6203 1 \_ MIQ: MiqPriorityWorker id: 5, queue: generic 6213 7 \_ MIQ: MiqReportingWorker id: 6, queue: reporting 6221 7 \_ MIQ: MiqReportingWorker id: 7, queue: reporting 6231 3 \_ MIQ: MiqScheduleWorker id: 8 6241 1 \_ puma 3.3.0 (tcp://127.0.0.1:5000) [MIQ: Web Server Worker] 6281 1 \_ puma 3.3.0 (tcp://127.0.0.1:3000) [MIQ: Web Server Worker] 6312 1 \_ puma 3.3.0 (tcp://127.0.0.1:4000) [MIQ: Web Server Worker] |