FancyJan commented on issue #2342: URL: https://github.com/apache/brpc/issues/2342#issuecomment-1735199190
> > 本身bthread usage使用率不到一半,CPU/内存负载并不高 > > 这个显示的是一段时间的平均值。有可能瞬时worker usage较高,bthread得不到及时调度,所以出现了一些长尾 我们这边生产集群也有这个现象。 针对大佬说的瞬时并发,我试了一下用rpc_replay设置相同qps减少瞬时值影响,确实可以降低长尾,瞬时并发较高应该是bthread调度长尾的一个原因。但是长尾依旧比较长(bthread_creation_latency平均200us,三九线4500us),大佬还有啥别的想法吗? 例如client的bthread调度要比server的bthread调度差之类的(因为我们这边没有下游的服务,在bthread_creation_qps相同的情况下,bthread_creation_latency一般都会明显比有下游的服务要好得多,平均几us)。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
