Switch Active controller might have some unnecessary delay
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Eric MacDonald |
Bug Description
For duplex and multi-node setup, when we use system-host-swact command to switch active controller, the swact procedure will take much time.
We have done some test performance test on virtual duplex setup for this topic, and found that it need around 15+40 seconds.
1) We might reduce this 15s in below code, as there is a waiting timer delay in mtc side.
2) 40s is used for the task of disabling and enabling services, no big improve space.Current code can improve performance through adding idle cores to do this task.
In mtcNodeHdlrs.cpp, is it possible to decrease the delay time(MTC_
Then maybe we can improve the SW-ACT performance.
/* Start / Init Stage */
case MTC_SWACT__START:
{
plog ("%s Administrative SWACT Requested\n", node_ptr-
/* Cleanup and init the swact timer - start fresh */
if ( node_ptr-
{
}
/* reset error / control Counters to zero */
/* Empty the event message strings */
/* Post a user message 'Swact: Request' and
* then delay to allow it to be displayed */
break ;
}
Changed in starlingx: | |
assignee: | nobody → Eric MacDonald (rocksolidmtce) |
Fix proposed to branch: master /review. opendev. org/752597
Review: https:/