redpanda-data / redpanda

Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
https://redpanda.com
9.38k stars 577 forks source link

How low can memory per shard go? #15133

Open mfleming opened 9 months ago

mfleming commented 9 months ago

The current recommendation is to run RP with somewhere betweeen 1-2GiB per shard because there is a certain amount of "static" memory overhead. We don't currently have a good number for what the static overhead is but understanding it will be very helpful in knowhing how far we can push the partition per shard density.

Expected outcome

JIRA Link: CORE-1598

mfleming commented 9 months ago

See https://github.com/redpanda-data/core-internal/issues/922#issuecomment-1830894151 for some more info.

StephanDollberg commented 9 months ago

Did a run of the MPT today with 4MB@250 per shard and it passed fine (compacted and not).

We could probably matrixize the MPT and always run this test.

StephanDollberg commented 9 months ago

2MB@500 also worked (non-TS).