[incubator-brpc] 03/05: add Controller.SessionKV() to record and print session-level KV; Add LOGD/I/W/E/F to print contextual log; Add flag -log_as_json to print logs as valid JSON

2020-11-25 Thread jamesge
This is an automated email from the ASF dual-hosted git repository. jamesge pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git commit 86acfa893d8f7776a7085701cf9ae5721434e2b6 Author: jamesge AuthorDate: Thu Nov 26 14:11:20 2020 +0800 add

[incubator-brpc] 04/05: polish comments on LOG*

2020-11-25 Thread jamesge
This is an automated email from the ASF dual-hosted git repository. jamesge pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git commit 6b83e0f5dc2a187a1f111ee426778dfe26516acd Author: jamesge AuthorDate: Thu Nov 26 14:14:10 2020 +0800

[incubator-brpc] 05/05: Merge branch 'master' of https://github.com/brpc/brpc

2020-11-25 Thread jamesge
This is an automated email from the ASF dual-hosted git repository. jamesge pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git commit 00498f2333cd54ce943626566c4714f2e685219d Merge: 6b83e0f 2aea691 Author: jamesge AuthorDate: Thu Nov 26

[incubator-brpc] branch master updated (2aea691 -> 00498f2)

2020-11-25 Thread jamesge
This is an automated email from the ASF dual-hosted git repository. jamesge pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git. from 2aea691 Update getting_started.md new e3782eb Add SessionLog to remember session-level kv new

[incubator-brpc] 02/05: fix some warnings

2020-11-25 Thread jamesge
This is an automated email from the ASF dual-hosted git repository. jamesge pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git commit 74d156c840f86adff0ca13bfee5c9484b0674f5b Author: jamesge AuthorDate: Wed Nov 25 20:19:14 2020 +0800 fix

[incubator-brpc] 01/05: Add SessionLog to remember session-level kv

2020-11-25 Thread jamesge
This is an automated email from the ASF dual-hosted git repository. jamesge pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git commit e3782eb8f2e649d1f6eaa00aa5f966a74d564d5d Author: jamesge AuthorDate: Wed Nov 25 20:18:51 2020 +0800 Add

[GitHub] [incubator-brpc] zyearn commented on pull request #1293: Fix problem of fetching nodes from discovery naming service

2020-11-25 Thread GitBox
zyearn commented on pull request #1293: URL: https://github.com/apache/incubator-brpc/pull/1293#issuecomment-733730005 这个要在discovery issue区确认一下,如果不一样的话,最好在discovery解决(或许是内部版本没及时更新到github上) This is an automated message from

[GitHub] [incubator-brpc] yushcs commented on issue #1294: brpc调用openmp时cpu消耗不受控制

2020-11-25 Thread GitBox
yushcs commented on issue #1294: URL: https://github.com/apache/incubator-brpc/issues/1294#issuecomment-733649814 cpu消耗是在bvar的process_cpu_usage里看的,bthread_work_usage是0.95左右(单client请求的情况下) This is an automated message from

[GitHub] [incubator-brpc] cdjingit commented on issue #1294: brpc调用openmp时cpu消耗不受控制

2020-11-25 Thread GitBox
cdjingit commented on issue #1294: URL: https://github.com/apache/incubator-brpc/issues/1294#issuecomment-733641046 可能是有锁block bthread worker。你说的cpu消耗的值具体是哪里看的?top看的,还是bvar里面的cpu_usage? work_usage bvar是多少? This is an

[incubator-brpc] branch master updated: Update getting_started.md

2020-11-25 Thread jamesge
This is an automated email from the ASF dual-hosted git repository. jamesge pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git The following commit(s) were added to refs/heads/master by this push: new 2aea691 Update getting_started.md

[GitHub] [incubator-brpc] yushcs opened a new issue #1294: brpc调用openmp时cpu消耗不受控制

2020-11-25 Thread GitBox
yushcs opened a new issue #1294: URL: https://github.com/apache/incubator-brpc/issues/1294 在brpc服务中调用openmp进行矩阵运算,在设置了环境变量`OMP_NUM_THREADS和OMP_DYNAMIC="FALSE"`后,cpu消耗依旧不受控制。 例:`OMP_NUM_THREADS=4 OMP_DYNAMIC="FALSE"`;单个client请求的情况下,cpu消耗达到在600%-1000%之间波动;多个client并发的情况下,cpu消耗更加不可控。