ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Antonov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-11979) Add ability to set default parallelizm of rebuild indexes in configuration
Date Tue, 16 Jul 2019 09:33:00 GMT

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

Sergey Antonov commented on IGNITE-11979:
-----------------------------------------

[~Denis Chudov] Changes looks good for me

> 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: 10m
>  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)

Mime
View raw message