Skip to content

Commit caca261

Browse files
committed
enablePackedCopy default changed to 1
1 parent 1871e1b commit caca261

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ConsumerFMQchannel.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class ConsumerFMQchannel : public Consumer
123123
bool enableRawFormat = false;
124124
bool enableStfSuperpage = false; // optimized stf transport: minimize STF packets
125125
bool enableRawFormatDatablock = false;
126-
int enablePackedCopy = 0; // default mode for repacking of page overlapping HBF. 0 = one page per copy, 1 = change page on TF only
126+
int enablePackedCopy = 1; // default mode for repacking of page overlapping HBF. 0 = one page per copy, 1 = change page on TF only
127127

128128
std::shared_ptr<MemoryBank> memBank; // a dedicated memory bank allocated by FMQ mechanism
129129
std::shared_ptr<MemoryPagesPool> mp; // a memory pool from which to allocate data pages
@@ -364,7 +364,7 @@ class ConsumerFMQchannel : public Consumer
364364
}
365365
theLog.log(LogInfoDevel_(3008), "Using memory pool [%d]: %d pages x %d bytes", mp->getId(), memoryPoolNumberOfPages, memoryPoolPageSize);
366366

367-
// configuration parameter: | consumer-FairMQChannel-* | enablePackedCopy | int | 0 | If set, the same superpage may be reused (space allowing) for the copy of multiple HBF (instead of a separate one for each copy). This allows a reduced memoryPoolNumberOfPages. |
367+
// configuration parameter: | consumer-FairMQChannel-* | enablePackedCopy | int | 1 | If set, the same superpage may be reused (space allowing) for the copy of multiple HBF (instead of a separate one for each copy). This allows a reduced memoryPoolNumberOfPages. |
368368
cfg.getOptionalValue<int>(cfgEntryPoint + ".enablePackedCopy", enablePackedCopy);
369369
theLog.log(LogInfoDevel_(3008), "Packed copy enabled = %d", enablePackedCopy);
370370

0 commit comments

Comments
 (0)