ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Magda <dma...@gridgain.com>
Subject Re: Data Loading Performance Issue
Date Thu, 19 Nov 2015 10:33:31 GMT
Hi Deha,

These two pools related settings [1] from your configuration file 
explicitly reduce the overall performance of your system.
By setting the values to '1' will lead to the situation when a bunch of 
logic will start working a single-threaded mode regardless of the 
numbers of CPUs available.

Please, just remove these two lines from your config. The defaults are 
calculated basing on the number of CPUs.

[1]
<property name="publicThreadPoolSize" value="1"/>
<property name="systemThreadPoolSize" value="1"/>

On 11/19/2015 7:27 AM, diopek wrote:
> Denis
> I will look into that CacheLoadOnlyStoreAdapter in Ignite source code.
> In the mean time, below I uploaded ignite config file that I use for your
> review.
> Thanks much for your help.
> Deha
>
> /<?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xsi:schemaLocation="
>          http://www.springframework.org/schema/beans
>          http://www.springframework.org/schema/beans/spring-beans.xsd">
>
> 	<bean id="placeholderProperties"
> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 		<property name="locations">
> 			<list>
> 				<value>classpath:/rwa-ignite.properties</value>
> 			</list>
> 		</property>
> 		<property name="systemPropertiesModeName"
> value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
> 		<property name="ignoreUnresolvablePlaceholders" value="true" />
> 		<property name="order" value="1" />
> 	</bean>
> 	<bean id="igniteDataSource" class="org.apache.commons.dbcp.BasicDataSource"
> destroy-method="close">
> 		<property name="driverClassName" value="${ignite.jdbc.driver}" />
> 		<property name="url" value="${ignite.jdbc.url}" />
> 		<property name="username" value="${ignite.jdbc.user}" />
> 		<property name="password" value="${ignite.jdbc.password}" />
> 		<property name="maxIdle" value="${ignite.jdbc.minPoolSize}" />
> 		<property name="maxActive" value="${ignite.jdbc.maxPoolSize}" />
> 		<property name="accessToUnderlyingConnectionAllowed" value="true" />
> 	</bean>
> 	<bean id="ignite.cfg"
> class="org.apache.ignite.configuration.IgniteConfiguration">
> 		<property name="peerClassLoadingEnabled" value="false" />
> 		<property name="publicThreadPoolSize" value="1"/>
> 		<property name="systemThreadPoolSize" value="1"/>
> 		
> 		<property name="marshaller">
> 			<bean class="org.apache.ignite.marshaller.optimized.OptimizedMarshaller">
> 				<property name="requireSerializable" value="false" />
> 			</bean>
> 		</property>
>
> 		<property name=&quot;localHost&quot; value=&quot;127.0.0.1&quot;
/	
> 		&lt;property name=&quot;discoverySpi&quot;>
> 			<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
> 				<property name="ipFinder">
> 					<bean
> class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder">
> 						<property name="addresses">
> 							<list>
> 								<value>127.0.0.1:47500..47509</value>
> 							</list>
> 						</property>
> 					</bean>
> 				</property>
> 			</bean>
> 		</property>
> 	</bean>
> </beans>/
>
>
>
>
> --
> View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Data-Loading-Performance-Issue-tp1958p2012.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Mime
View raw message