Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled#3334
Conversation
52542a4 to
8b37562
Compare
|
Failed due to some routing test cases which is not relevant to the PR. Retrying. |
|
/apzw run |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
3fb27c0 to
3b9b430
Compare
|
My understanding is that you are setting queue counters for queue 7 (control traffic tx queue). Isn't that already available on sonic today? At least "show queue counters" seems to show queue counters on cpu tx queue already. The first output in your verifications also show q7 counters, so what does this PR change affect? @bingwang-ms for viz |
Hi @prabhataravind |
5ab8403 to
226fed5
Compare
Could you please update the PR title/description to indicate that this handles queue counters for CPU TX queue for the specific case where create_only_config_db_buffers configuration is set? |
226fed5 to
c2cea72
Compare
yes, I am referring to #2883 and there is no issue without the configuration. Sure. Done. |
|
@prsunny to help merge |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
f04b1b7 to
27e2c9d
Compare
|
/azp run Azure.sonic-swss |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
vs failure is caused by code issue. fixing. |
4f96093 to
8cbd3de
Compare
The failure was caused on vs simulating DPU platform. On that platform, the queue IDs of a port are not fetched from SAI. We should not create counters if the queue ID was not available. |
Done. We still need to wait for sonic-net/sonic-sairedis#1459 to be taken into the VS image to pass the VS test. |
The vs image hasn't been built due to the wrong ipmitool version. @bingwang-ms who can help to fix it? |
aa3a9fd to
48bc625
Compare
|
@prabhataravind @prsunny Thanks |
|
The vs failed due to the segment failed in orchagent while setting SAI redis attribute SAI_REDIS_SWITCH_ATTR_NOTIFY_SYNCD to SAI_REDIS_NOTIFY_SYNCD_INIT_VIEW |
Signed-off-by: Stephen Sun <[email protected]>
Signed-off-by: Stephen Sun <[email protected]>
…ue was not initialized Signed-off-by: Stephen Sun <[email protected]>
e24d79d to
dcc7f56
Compare
…en create_only_config_db_buffers is enabled (sonic-net#3334) Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled *There is a configuration to optimize the buffer performance DEVICE_METADATA|localhost.create_only_config_db_buffers. Using this configuration the buffer counters are created only for the queues and PGs with buffer configured for performance optimization. However, to have counters for CPU tx queue, we have to configure it in BUFFER_QUEUE, mainly for data traffic, which is a bad coupling. Using this PR the counter will be created for CPU tx queue without data buffer configuration.
…en create_only_config_db_buffers is enabled (sonic-net#3334) Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled *There is a configuration to optimize the buffer performance DEVICE_METADATA|localhost.create_only_config_db_buffers. Using this configuration the buffer counters are created only for the queues and PGs with buffer configured for performance optimization. However, to have counters for CPU tx queue, we have to configure it in BUFFER_QUEUE, mainly for data traffic, which is a bad coupling. Using this PR the counter will be created for CPU tx queue without data buffer configuration.
|
Cherry-pick PR to 202405: #3408 |
…en create_only_config_db_buffers is enabled (#3334) Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled *There is a configuration to optimize the buffer performance DEVICE_METADATA|localhost.create_only_config_db_buffers. Using this configuration the buffer counters are created only for the queues and PGs with buffer configured for performance optimization. However, to have counters for CPU tx queue, we have to configure it in BUFFER_QUEUE, mainly for data traffic, which is a bad coupling. Using this PR the counter will be created for CPU tx queue without data buffer configuration.
…en create_only_config_db_buffers is enabled (sonic-net#3334) Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled *There is a configuration to optimize the buffer performance DEVICE_METADATA|localhost.create_only_config_db_buffers. Using this configuration the buffer counters are created only for the queues and PGs with buffer configured for performance optimization. However, to have counters for CPU tx queue, we have to configure it in BUFFER_QUEUE, mainly for data traffic, which is a bad coupling. Using this PR the counter will be created for CPU tx queue without data buffer configuration.
…en create_only_config_db_buffers is enabled (sonic-net#3334) Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled *There is a configuration to optimize the buffer performance DEVICE_METADATA|localhost.create_only_config_db_buffers. Using this configuration the buffer counters are created only for the queues and PGs with buffer configured for performance optimization. However, to have counters for CPU tx queue, we have to configure it in BUFFER_QUEUE, mainly for data traffic, which is a bad coupling. Using this PR the counter will be created for CPU tx queue without data buffer configuration.
…en create_only_config_db_buffers is enabled (sonic-net#3334) Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled *There is a configuration to optimize the buffer performance DEVICE_METADATA|localhost.create_only_config_db_buffers. Using this configuration the buffer counters are created only for the queues and PGs with buffer configured for performance optimization. However, to have counters for CPU tx queue, we have to configure it in BUFFER_QUEUE, mainly for data traffic, which is a bad coupling. Using this PR the counter will be created for CPU tx queue without data buffer configuration.
…en create_only_config_db_buffers is enabled (sonic-net#3334) Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled *There is a configuration to optimize the buffer performance DEVICE_METADATA|localhost.create_only_config_db_buffers. Using this configuration the buffer counters are created only for the queues and PGs with buffer configured for performance optimization. However, to have counters for CPU tx queue, we have to configure it in BUFFER_QUEUE, mainly for data traffic, which is a bad coupling. Using this PR the counter will be created for CPU tx queue without data buffer configuration.
…en create_only_config_db_buffers is enabled (sonic-net#3334) Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled *There is a configuration to optimize the buffer performance DEVICE_METADATA|localhost.create_only_config_db_buffers. Using this configuration the buffer counters are created only for the queues and PGs with buffer configured for performance optimization. However, to have counters for CPU tx queue, we have to configure it in BUFFER_QUEUE, mainly for data traffic, which is a bad coupling. Using this PR the counter will be created for CPU tx queue without data buffer configuration.
…en create_only_config_db_buffers is enabled (sonic-net#3334) Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled *There is a configuration to optimize the buffer performance DEVICE_METADATA|localhost.create_only_config_db_buffers. Using this configuration the buffer counters are created only for the queues and PGs with buffer configured for performance optimization. However, to have counters for CPU tx queue, we have to configure it in BUFFER_QUEUE, mainly for data traffic, which is a bad coupling. Using this PR the counter will be created for CPU tx queue without data buffer configuration.
…en create_only_config_db_buffers is enabled (sonic-net#3334) Create counter for the queue to which the host CPU traffic is sent when create_only_config_db_buffers is enabled *There is a configuration to optimize the buffer performance DEVICE_METADATA|localhost.create_only_config_db_buffers. Using this configuration the buffer counters are created only for the queues and PGs with buffer configured for performance optimization. However, to have counters for CPU tx queue, we have to configure it in BUFFER_QUEUE, mainly for data traffic, which is a bad coupling. Using this PR the counter will be created for CPU tx queue without data buffer configuration. Signed-off-by: Baorong Liu <[email protected]>
What I did
Why I did it
How I verified it
Verified the following scenarios
Details if related