mirror of https://github.com/milvus-io/milvus.git
enhance: refine logs of cgo pool (#33373)
Signed-off-by: jaime <yun.zhang@zilliz.com>pull/33378/head
parent
1973ebbc42
commit
0d3272ed6d
|
@ -62,6 +62,7 @@ func initSQPool() {
|
|||
|
||||
pt.Watch(pt.QueryNodeCfg.MaxReadConcurrency.Key, config.NewHandler("qn.sqpool.maxconc", ResizeSQPool))
|
||||
pt.Watch(pt.QueryNodeCfg.CGOPoolSizeRatio.Key, config.NewHandler("qn.sqpool.cgopoolratio", ResizeSQPool))
|
||||
log.Info("init SQPool done", zap.Int("size", initPoolSize))
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -75,6 +76,7 @@ func initDynamicPool() {
|
|||
)
|
||||
|
||||
dp.Store(pool)
|
||||
log.Info("init dynamicPool done", zap.Int("size", hardware.GetCPUNum()))
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -92,6 +94,7 @@ func initLoadPool() {
|
|||
loadPool.Store(pool)
|
||||
|
||||
pt.Watch(pt.CommonCfg.MiddlePriorityThreadCoreCoefficient.Key, config.NewHandler("qn.loadpool.middlepriority", ResizeLoadPool))
|
||||
log.Info("init loadPool done", zap.Int("size", poolSize))
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -1308,7 +1308,7 @@ func (s *LocalSegment) LoadIndex(ctx context.Context, indexInfo *querypb.FieldIn
|
|||
zap.Duration("newLoadIndexInfoSpan", newLoadIndexInfoSpan),
|
||||
zap.Duration("appendLoadIndexInfoSpan", appendLoadIndexInfoSpan),
|
||||
zap.Duration("updateIndexInfoSpan", updateIndexInfoSpan),
|
||||
zap.Duration("updateIndexInfoSpan", warmupChunkCacheSpan),
|
||||
zap.Duration("warmupChunkCacheSpan", warmupChunkCacheSpan),
|
||||
)
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue