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

Andrew Mashenkov commented on IGNITE-11979:
-------------------------------------------

[~Denis Chudov],
I've left few comments to the PR.
Please, take a look.


> Add ability to set default parallelizm of rebuild indexes in configuration
> --------------------------------------------------------------------------
>
>                 Key: IGNITE-11979
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11979
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Denis Chudov
>            Assignee: Denis Chudov
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> We can't change SchemaIndexCacheVisitorImpl#DFLT_PARALLELISM at the moment:
> {code:java}
> /** Default degree of parallelism. */
>     private static final int DFLT_PARALLELISM = Math.min(4, Math.max(1, 
> Runtime.getRuntime().availableProcessors() / 4));
> {code}
> On huge servers with a lot of cores (such as 56) we will rebuild indexes in 4 
> threads. I think we should have ability to set DFLT_PARALLELISM in Ignite 
> configuration.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to