Skip to content

Commit 59b85bb

Browse files
authored
sched: reduce footprint and better logging
About 1.6 GB reduction in sched footprint.
1 parent 56272c4 commit 59b85bb

File tree

4 files changed

+165
-53
lines changed

4 files changed

+165
-53
lines changed

src/ballet/shred/fd_shred.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,6 @@ FD_STATIC_ASSERT( sizeof(fd_bmtree_node_t) == FD_SHRED_MERKLE_ROOT_SZ, update FD
159159

160160
FD_STATIC_ASSERT( FD_SHRED_BLK_MAX == 32768, check all usages before changing this limit! );
161161

162-
/* Many static bounds are specified around the assumption that this is a
163-
protocol limit on the max number of shreds in a slot. If this limit
164-
changes, all the relevant usages in other areas of the Firedancer
165-
codebase should be updated before modifying this assertion. */
166-
167-
FD_STATIC_ASSERT( FD_SHRED_BLK_MAX == 32768, check all usages before changing this limit! );
168-
169162
/* 36,536,320 bytes per slot */
170163
#define FD_SHRED_DATA_PAYLOAD_MAX_PER_SLOT (FD_SHRED_DATA_PAYLOAD_MAX * FD_SHRED_BLK_MAX)
171164

0 commit comments

Comments
 (0)