Bug 773075 - rteval does not propagate parameter changes to cyclictest object
Summary: rteval does not propagate parameter changes to cyclictest object
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: realtime-utilities
Version: 2.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: 2.1.5
: ---
Assignee: Clark Williams
QA Contact: David Sommerseth
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-10 20:51 UTC by Clark Williams
Modified: 2016-05-22 23:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
* Cause: upper level logic did not correctly pass the 'numanodes' parameter to the cyclictest child process * Consequence: cyclictest always ran with the --smp option rather than --numa on appropriate systems * Fix: store the value of 'numanode' in the parameter block passed to the cyclictest child process * Result: cyclictest uses the correct option when starting measurement threads
Clone Of:
Environment:
Last Closed: 2012-04-18 19:33:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
code to merge parameter values into cyclictest section of configs (854 bytes, patch)
2012-01-10 20:51 UTC, Clark Williams
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0495 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Realtime 2.1 bug fix update 2012-04-18 23:31:34 UTC

Description Clark Williams 2012-01-10 20:51:32 UTC
Created attachment 551934 [details]
code to merge parameter values into cyclictest section of configs

Description of problem:
When runnning rteval on a numa system, the cyclictest command line does not include --numa but uses --smp. This is because the parameter 'numnumanodes' is not properly merged into the cyclictest config section before running cyclictest. 

Version-Release number of selected component (if applicable):
1.33 and previous

How reproducible:
always

Steps to Reproduce:
1. install MRG-RT with rteval on a numa system
2. run rteval
3. check the cyclictest command line for --smp option

Actual results:
cyclictest run with --smp option

Expected results:
cyclictest run with --numa option

Comment 3 David Sommerseth 2012-04-02 20:45:04 UTC
Verified by testing rteval-1.33-1.el6rt and rteval-1.34-1.el6rt.

rteval-1.33 used --smp on a NUMA system, while 1.34 used --numa.

-> VERIFIED

Comment 4 Clark Williams 2012-04-09 21:05:01 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
* Cause: upper level logic did not correctly pass the 'numanodes' parameter to the cyclictest child process
* Consequence: cyclictest always ran with the --smp option rather than --numa on appropriate systems
* Fix: store the value of 'numanode' in the parameter block passed to the cyclictest child process
* Result: cyclictest uses the correct option when starting measurement threads

Comment 5 errata-xmlrpc 2012-04-18 19:33:47 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.

http://rhn.redhat.com/errata/RHBA-2012-0495.html


Note You need to log in before you can comment on or make changes to this bug.