You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by gk...@apache.org on 2025/09/07 06:22:24 UTC
(iggy) branch io_uring_tpc updated: feat(io_uring): fix config after rebase (#2161)
This is an automated email from the ASF dual-hosted git repository.
gkoszyk pushed a commit to branch io_uring_tpc
in repository https://gitbox.apache.org/repos/asf/iggy.git
The following commit(s) were added to refs/heads/io_uring_tpc by this push:
new 509a36bf feat(io_uring): fix config after rebase (#2161)
509a36bf is described below
commit 509a36bf4154f8900c71e7bb0734dcb46aa7949e
Author: Grzegorz Koszyk <11...@users.noreply.github.com>
AuthorDate: Sun Sep 7 08:22:20 2025 +0200
feat(io_uring): fix config after rebase (#2161)
---
core/configs/server.toml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/core/configs/server.toml b/core/configs/server.toml
index ad2fe8fb..eecf329c 100644
--- a/core/configs/server.toml
+++ b/core/configs/server.toml
@@ -591,3 +591,12 @@ address = "127.0.0.1:8090"
id = 2
name = "iggy-node-2"
address = "127.0.0.1:8091"
+
+# Sharding configuration
+[system.sharding]
+# CPU allocation - controls the number of shards and their CPU affinity.
+# Possible values:
+# - "all": Use all available CPU cores (default)
+# - numeric value (e.g. 4): Use 4 shards (4 threads pinned to cores 0, 1, 2, 3)
+# - range (e.g. "5..8"): Use 3 shards with affinity to cores 5, 6, 7
+cpu_allocation = "all"