Title: Excessive CPU and RAM usage during compaction operations #47249
Unanswered
cagricakiroglu
asked this question in
Q&A and General discussion
Replies: 1 comment 14 replies
-
|
In the "CPU Usage", the bluse curve is high, but seems all nodes are marked as "-collection". Which node is blue? |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Compaction operations are causing extreme resource consumption, significantly impacting system performance.
Environment
Milvus version: 2.6.7
RAM: 256 GB
Questions
Is this resource consumption expected during compaction?
What configuration parameters can reduce CPU/RAM usage during compaction?
Are there best practices for compaction settings with high-volume batch inserts?
I have RAM available, but CPU appears to be the bottleneck throttling the compaction process. I need to scale to approximately 100M vectors with 512 dimensions.
index_params.add_index(
field_name="vector",
index_name="vector_index",
index_type="HNSW",
metric_type="COSINE",
params={"M": 30, "efConstruction": 360},
)
My current dataCoord is
dataCoord:
channel:
watchTimeoutInterval: 300
legacyVersionWithoutRPCWatch: 2.4.1
balanceSilentDuration: 300
balanceInterval: 360
checkInterval: 1
notifyChannelOperationTimeout: 5
segment:
maxSize: 1024
diskSegmentMaxSize: 2048
sealProportion: 0.12
sealProportionJitter: 0.1
assignmentExpiration: 2000
allocLatestExpireAttempt: 200
maxLife: 86400
compactableProportion: 0.85
expansionRate: 1.25
if you need my milvus.yaml :
milvus.yaml
And also;
Beta Was this translation helpful? Give feedback.
All reactions