Skip to content

Commit 13a144b

Browse files
qarlosalbertocodebot
authored andcommitted
Revert "gnb: double byte_buffer_segment size and half number of segments in buffer pool"
This reverts commit 7864b14.
1 parent cb556c8 commit 13a144b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/srsran/adt/detail/byte_buffer_segment_pool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ using byte_buffer_segment_pool = fixed_size_memory_block_pool<byte_buffer_pool_t
2323
detail::byte_buffer_segment_pool& get_default_byte_buffer_segment_pool();
2424

2525
} // namespace detail
26-
} // namespace srsran
26+
} // namespace srsran

lib/support/byte_buffer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ using namespace srsran;
1515

1616
size_t srsran::byte_buffer_segment_pool_default_segment_size()
1717
{
18-
return 2048;
18+
return 1024;
1919
}
2020

2121
/// Get default byte buffer segment pool. Initialize pool if not initialized before.

tests/benchmarks/rlc/rlc_am_rx_benchmark.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ int main(int argc, char** argv)
262262
parse_args(argc, argv, params);
263263

264264
// Setup size of byte buffer pool.
265-
init_byte_buffer_segment_pool(524288);
265+
init_byte_buffer_segment_pool(524288, 1024);
266266

267267
{
268268
benchmark_rx_pdu(params, rx_order::in_order);

0 commit comments

Comments
 (0)