mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
shm: reduce shm contention when dealing with ack queues
This commit is contained in:
@@ -309,6 +309,8 @@ class Message final : public fair::mq::Message
|
||||
}
|
||||
|
||||
if (fRegionPtr) {
|
||||
fRegionPtr->InitializeQueues();
|
||||
fRegionPtr->StartSendingAcks();
|
||||
fRegionPtr->ReleaseBlock({fMeta.fHandle, fMeta.fSize, fMeta.fHint});
|
||||
} else {
|
||||
LOG(warn) << "region ack queue for id " << fMeta.fRegionId << " no longer exist. Not sending ack";
|
||||
@@ -324,7 +326,7 @@ class Message final : public fair::mq::Message
|
||||
Deallocate();
|
||||
fAlignment = 0;
|
||||
|
||||
fManager.DecrementMsgCounter(); // TODO: put this to debug mode
|
||||
fManager.DecrementMsgCounter();
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user