Repository: ignite Updated Branches: refs/heads/ignite-2.0 b2aeac751 -> 3dac1fe25
ignite-2.0 - Added onheap caches and extended memory size Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/3dac1fe2 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/3dac1fe2 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/3dac1fe2 Branch: refs/heads/ignite-2.0 Commit: 3dac1fe2532cd431793e2156a57922c17e2c03e4 Parents: b2aeac7 Author: Alexey Goncharuk <[email protected]> Authored: Thu Apr 27 16:08:32 2017 +0300 Committer: Alexey Goncharuk <[email protected]> Committed: Thu Apr 27 16:08:32 2017 +0300 ---------------------------------------------------------------------- .../config/ignite-base-load-config.xml | 31 ++++++++++++++++++++ 1 file changed, 31 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/3dac1fe2/modules/yardstick/config/ignite-base-load-config.xml ---------------------------------------------------------------------- diff --git a/modules/yardstick/config/ignite-base-load-config.xml b/modules/yardstick/config/ignite-base-load-config.xml index cd9eb06..3dc2218 100644 --- a/modules/yardstick/config/ignite-base-load-config.xml +++ b/modules/yardstick/config/ignite-base-load-config.xml @@ -38,6 +38,18 @@ <property name="perTask" value="false"/> </bean> </property> + + <property name="memoryConfiguration"> + <bean class="org.apache.ignite.configuration.MemoryConfiguration"> + <property name="defaultMemoryPolicyName" value="default"/> + <property name="memoryPolicies"> + <bean class="org.apache.ignite.configuration.MemoryPolicyConfiguration"> + <property name="name" value="default"/> + <property name="size" value="#{8L * 1024 * 1024 * 1024}"/> + </bean> + </property> + </bean> + </property> </bean> <bean name="atomic" class="org.apache.ignite.configuration.CacheConfiguration"> @@ -54,7 +66,26 @@ <property name="cacheMode" value="PARTITIONED"/> <property name="atomicityMode" value="TRANSACTIONAL"/> + </bean> + + <bean name="atomic-onheap" class="org.apache.ignite.configuration.CacheConfiguration"> + <property name="name" value="atomic-fat-values-onheap"/> + + <property name="cacheMode" value="PARTITIONED"/> + + <property name="atomicityMode" value="ATOMIC"/> + + <property name="onheapCacheEnabled" value="true"/> + </bean> + + <bean name="tx-onheap" class="org.apache.ignite.configuration.CacheConfiguration"> + <property name="name" value="tx-fat-values-onheap"/> + + <property name="cacheMode" value="PARTITIONED"/> + + <property name="atomicityMode" value="TRANSACTIONAL"/> + <property name="onheapCacheEnabled" value="true"/> </bean> <bean name="atomic-index" class="org.apache.ignite.configuration.CacheConfiguration">
