milvus/internal/querycoordv2/dist
wei liu e7c0a6ffbb
enhance: Refine QueryNode task parallelism based on CPU core count (#42166)
issue: #42165
Implement dynamic task execution capacity calculation based on QueryNode
CPU core count instead of static configuration for better resource
utilization.

Changes include:
- Add CpuCoreNum() method and WithCpuCoreNum() option to NodeInfo
- Implement GetTaskExecutionCap() for dynamic capacity calculation
- Add QueryNodeTaskParallelismFactor parameter for tuning
- Update proto definition to include cpu_core_num field
- Add unit tests for new functionality

This allows QueryCoord to automatically adjust task parallelism based on
actual hardware resources.

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2025-06-11 13:20:35 +08:00
..
OWNERS Add OWNERS files for querycoordv2 sub pkgs (#23489) 2023-04-18 15:52:30 +08:00
dist_controller.go enhance: Optimize shard serviceable mechanism (#41937) 2025-05-22 11:38:24 +08:00
dist_controller_test.go enhance: Optimize shard serviceable mechanism (#41937) 2025-05-22 11:38:24 +08:00
dist_handler.go enhance: Refine QueryNode task parallelism based on CPU core count (#42166) 2025-06-11 13:20:35 +08:00
dist_handler_test.go enhance: Optimize shard serviceable mechanism (#41937) 2025-05-22 11:38:24 +08:00
mock_controller.go fix: mockery too unavailable after upgrade golang version (#41481) 2025-04-24 10:46:43 +08:00