It seems to me that it is a bug in the implementation when mmap set to
`false` value. I'll try to check.

Just for my curious, can you clarify why the `false` value is used?
According to the comment [1] using mmap=true with the LOG_ONLY mode
shows the best pefromance results.

[1] 
https://issues.apache.org/jira/browse/IGNITE-6339?focusedCommentId=16281803&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16281803

On Fri, 23 Aug 2019 at 18:15, ihalilaltun <ibrahim.al...@segmentify.com> wrote:
>
> Hi Mmuzaf
>
> IGNITE_WAL_MMAP is false in our environment.
>
> Here is the configuration;
> <?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="ignite.cfg"
> class="org.apache.ignite.configuration.IgniteConfiguration">
>         <property name="gridLogger">
>             <bean class="org.apache.ignite.logger.log4j2.Log4J2Logger">
>                 <constructor-arg type="java.lang.String"
> value="/etc/apache-ignite/ignite-log4j2.xml"/>
>             </bean>
>         </property>
>         <property name="communicationSpi">
>             <bean
> class="org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi">
>                 <property name="usePairedConnections" value="true"/>
>             </bean>
>         </property>
>         <property name="failureDetectionTimeout" value="60000"/>
>         <property name="systemThreadPoolSize" value="128"/>
>         <property name="publicThreadPoolSize" value="128"/>
>         <property name="queryThreadPoolSize" value="128"/>
>         <property name="serviceThreadPoolSize" value="128"/>
>         <property name="stripedPoolSize" value="128"/>
>         <property name="dataStreamerThreadPoolSize" value="64"/>
>         <property name="rebalanceThreadPoolSize" value="8"/>
>
>
>         <property name="peerClassLoadingEnabled" value="true"/>
>
>         <property name="cacheConfiguration">
>             <list>
>
>                 <bean
> class="org.apache.ignite.configuration.CacheConfiguration">
>                     <property name="name" value="default"/>
>                     <property name="atomicityMode" value="ATOMIC"/>
>                     <property name="backups" value="1"/>
>                 </bean>
>             </list>
>         </property>
>
>
>         <property name="discoverySpi">
>             <bean
> class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
>                 <property name="networkTimeout" value="10000"/>
>                 <property name="ipFinder">
>                     <bean
> class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
>                         <property name="addresses">
>                             <list>
>
>                             </list>
>                         </property>
>                     </bean>
>                 </property>
>             </bean>
>         </property>
>
>
>         <property name="dataStorageConfiguration">
>             <bean
> class="org.apache.ignite.configuration.DataStorageConfiguration">
>                 <property name="defaultDataRegionConfiguration">
>                     <bean
> class="org.apache.ignite.configuration.DataRegionConfiguration">
>                         <property name="persistenceEnabled" value="true"/>
>                         <property name="checkpointPageBufferSize" value="#{
> 1L * 1024 * 1024 * 1024}"/>
>                         <property name="maxSize" value="#{ 28L * 1024 * 1024
> * 1024 }"/>
>                     </bean>
>                 </property>
>                 <property name="storagePath" value="/data-persist"/>
>                 <property name="walPath" value="/data-wal"/>
>                 <property name="walArchivePath" value="/data-wal"/>
>                 <property name="walMode" value="LOG_ONLY"/>
>                 <property name="walSegmentSize" value="#{ 128L * 1024 * 1024
> }"/>
>                 <property name="walFlushFrequency" value="5000"/>
>                 <property name="maxWalArchiveSize" value="#{ 2L * 1024 *
> 1024 * 1024 }"/>
>
>
>                 <property name="writeThrottlingEnabled" value="true"/>
>                 <property name="checkpointFrequency" value="300000"/>
>                 <property name="checkpointWriteOrder" value="SEQUENTIAL" />
>             </bean>
>         </property>
>     </bean>
> </beans>
>
>
>
>
> -----
> İbrahim Halil Altun
> Senior Software Engineer @ Segmentify
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to