[ 
https://issues.apache.org/jira/browse/IOTDB-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17575594#comment-17575594
 ] 

Jialin Qiao commented on IOTDB-4037:
------------------------------------

NewStandalone 多以下线程,都是 MPP 框架使用的,其他多余线程已经处理完:

1 个 pool-21-IoTDB-instance-management-1:MPP查询引擎的调度线程

1 个 pool-12-IoTDB-MPPCoordinator-1:MPP 中用于维护读写请求状态的线程

1 个 Sentinel-Thread:查询超时的监控线程

8 个 Worker-Thread:查询执行线程,默认会启动核数个(如果老单机执行查询,也会有类似线程叫 subQuery)

> [ThreadNum] Compare thread number between start-server.sh and 
> start-new-server.sh
> ---------------------------------------------------------------------------------
>
>                 Key: IOTDB-4037
>                 URL: https://issues.apache.org/jira/browse/IOTDB-4037
>             Project: Apache IoTDB
>          Issue Type: Improvement
>          Components: Core/Server
>    Affects Versions: 0.14.0-SNAPSHOT
>            Reporter: FengQingxin
>            Assignee: Haonan Hou
>            Priority: Critical
>              Labels: pull-request-available
>         Attachments: IoTDB.out, IoTDB1bdf3f9.out, NewIoTDB.out, diff.out, 
> image-2022-08-03-16-45-03-901.png, image-2022-08-03-16-45-13-102.png, 
> image-2022-08-04-09-05-41-093.png, newIoTDB1bdf3f9.out
>
>
> Produce Steps:
> 1.git clone and build iotdb-master 
> 2.using start-server.sh to start iotd instance
> 3.using iotdb-benchmark to test sequence insert(get a 
> result:{color:#00875a}thread num 166{color})
> 4.clean the test env and using start-new-server.sh to start a NewIoTDB 
> instance
> 5.using iotdb-benchmark to test sequence insert(get a 
> result:{color:#ff8b00}thread num 236{color})
>  
> *The number of thread of NewIoTDB instance is more than IoTDB instance.*
>  
> !image-2022-08-03-16-45-13-102.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to