You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by yangjiajun <13...@qq.com> on 2018/12/19 02:42:39 UTC

Question about cpu usage and disk read speed on activation stage.

Hello.

Ignite takes about 1 hour to activate on my machine.I  have only one node
and use version 2.6.I also enable persistence and use 22GB heap memory and
22GB off-heap memory.My machine has 16 cores.The cpu usage is very low(<%1)
and the disk read speed is about 1M/s~6M/s while ignite is activating.Is
disk a bottleneck?Or should I tune some settings of ignite?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Question about cpu usage and disk read speed on activation stage.

Posted by aealexsandrov <ae...@gmail.com>.
Hi,

I was wrong. You can activate the cluster with not full baseline topology.

Looks like you that your node that stopped during checkpoint and it is a
reason of long recovery of the binary memory that takes a lot of time.

Here is a ticket that should optimize this process:

https://issues.apache.org/jira/browse/IGNITE-10749

BR,
Andrei



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Question about cpu usage and disk read speed on activation stage.

Posted by aealexsandrov <ae...@gmail.com>.
Hi,

I see from your log that you have two nodes in your baseline:

[23:36:58,866][INFO][main][GridDiscoveryManager]   ^-- Node
[id=B3234010-F5BE-49CA-A57F-6676622BFF48, clusterState=INACTIVE]
[23:36:58,867][INFO][main][GridDiscoveryManager]   ^-- Baseline [id=2,
size=2, online=1, offline=1]
[23:36:58,867][INFO][main][GridDiscoveryManager]   ^-- 1 nodes left for
auto-activation [2e3bc707-ac4c-4ba6-a0c2-1867c6ea8272]

node 1 with id = B3234010-F5BE-49CA-A57F-6676622BFF48 was started.
node 2 with id = 2e3bc707-ac4c-4ba6-a0c2-1867c6ea8272 was offline.

So cluster with persistence will be activated only when all nodes from
baseline will be online.

You can read about it here:

https://apacheignite.readme.io/docs/baseline-topology
https://apacheignite.readme.io/docs/baseline-topology#section-activating-the-cluster

BR,
Andrei



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Question about cpu usage and disk read speed on activation stage.

Posted by yangjiajun <13...@qq.com>.
Hello.

Please see the logs and the configuration.Thanks.


example-default.xml
<http://apache-ignite-users.70518.x6.nabble.com/file/t2059/example-default.xml>  
ignite-b3234010.rar
<http://apache-ignite-users.70518.x6.nabble.com/file/t2059/ignite-b3234010.rar>  



aealexsandrov wrote
> Hi,
> 
> Could you share you Ignite node configuration and logs from startup?
> 
> BR,
> Andrei
> 
> 
> 
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Question about cpu usage and disk read speed on activation stage.

Posted by aealexsandrov <ae...@gmail.com>.
Hi,

Could you share you Ignite node configuration and logs from startup?

BR,
Andrei



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/