After running deepstream for a period of time, the perf module stopped printing

log20241111.zip (30.8 KB)

The code addition, printing, and logs are all in it. I don’t know if printing and adding have any effect?

If you don’t reproduce it on your end, may it be related to the software and hardware environment?

I only see below log you added. Please add more log, so we can find out why “Removed stream” isn’t print.

m_Config.subBatchSizes.size() = 3

I try it
log20241111.zip (25.9 KB)

I can see the "sourceId = " log, but I don’t see “m_SubBatchAllocationMap.size() > 0…” log. Please add more log between those code. Thanks!

      LOG_WARNING("sourceId = %d\n", sourceId);
      if (getStreamId(ssId) == sourceId)
      {
        SubBatchId sbId;
        if (m_SsidSubBatchMap.find(ssId) == m_SsidSubBatchMap.end())
        {
          LOG_ERROR("removeSource : Could not find a sub-batch contaning the Ssid = %lx\n", ssId);
          return false;
        }
        else
        {
          sbId = m_SsidSubBatchMap[ssId];
          /** Since the source is going to be removed, erase the entry from mapping too */
          auto it = m_SsidSubBatchMap.find(ssId);
          m_SsidSubBatchMap.erase(it);
          // If dynamic sub-batch allocation is enabled, remove the entry from allocation map as well
          if(m_SubBatchAllocationMap.size() > 0 && (m_SubBatchAllocationMap.find(sbId) != m_SubBatchAllocationMap.end()))
          {
	    LOG_WARNING("m_SubBatchAllocationMap.size() > 0 && (m_SubBatchAllocationMap.find(sbId) != m_SubBatchAllocationMap.end())");

log20241111.zip (25.7 KB)

I found this issue has been fixed on DeepStream 7.1. Can you upgrade to DeepStream 7.1 for your project?

Yes I try it

1May I ask if you have any tutorials on upgrading?

1May I ask if you have any tutorials on upgrading?

DeepStream 7.1 need Jetpack 6.1. Here is the guide: Installation — DeepStream documentation

How to fix this problem?

DeepStream 7.1 need Jetpack 6.1 which upgrade TensorRT to 10.3 from 8.6. You need to install Jetpack 6.1 before install DeepStream 7.1.

**May I ask if you have any tutorials about Jetpack 6.1?

I can install Jeptack 6.1 with SDKManager. But not sure if you have network isssue. Please ask your team member who know how to install Jetpack in your side.

Excuse me, is JetPack 6.1 a relatively stable version?

Yes, it is GA release. Please check with your team if have plan to upgrade it.