Re: Quick questions on segments and page map buckets

2018-07-30 Thread Dmitriy Pavlov
Hi, Brief look to the code give an idea that segment count is different in persistence and in in-memory modes. I hope someone in the community can approve that this idea is correct. Sincerely, Dmitriy Pavlov пн, 23 июл. 2018 г., 23:46 John Wilson : > I'm talking about PageMemoryNostoreImpl

Re: Quick questions on segments and page map buckets

2018-07-23 Thread John Wilson
I'm talking about PageMemoryNostoreImpl here: https://github.com/apache/ignite/blob/ce8e31e28e16c7c22fe88ab6b1a1304b14f6881d/modules/core/src/main/java/org/apache/ignite/internal/pagemem/impl/PageMemoryNoStoreImpl.java#L109 and

Re: Quick questions on segments and page map buckets

2018-07-12 Thread Dmitry Pavlov
Hi, I've double checked code regarding question 1: PageMemoryImpl#segments segments count (len) comes from sizes array len. Sizes array come to page memory from GridCacheDatabaseSharedManager.calculateFragmentSizes(). This method which gets availableProcessors from runtime (CPU count). I didn't

Re: Quick questions on segments and page map buckets

2018-06-27 Thread Eduard Shangareev
Dmitry, I mean Chugunov, but I have questioned him. His answer was the A. Goncharuk should now the answer. On Wed, Jun 27, 2018 at 2:58 PM, Dmitry Pavlov wrote: > John, is this question still actual? > > пт, 22 июн. 2018 г. в 15:18, Dmitry Pavlov : > > > Hi Ed, > > > > Which Sergey do you

Re: Quick questions on segments and page map buckets

2018-06-27 Thread Dmitry Pavlov
John, is this question still actual? пт, 22 июн. 2018 г. в 15:18, Dmitry Pavlov : > Hi Ed, > > Which Sergey do you mean? I know a number of contributors. > > Sincerely, > > > вт, 19 июн. 2018 г. в 22:15, Eduard Shangareev < > eduard.shangar...@gmail.com>: > >> Hi, >> >> 1. It looks weird, yeah.

Re: Quick questions on segments and page map buckets

2018-06-22 Thread Dmitry Pavlov
Hi Ed, Which Sergey do you mean? I know a number of contributors. Sincerely, вт, 19 июн. 2018 г. в 22:15, Eduard Shangareev : > Hi, > > 1. It looks weird, yeah. Need to ask Sergey, who has changed it last time. > > 2. Because we could reuse memory. For example, after cache destroy or >

Re: Quick questions on segments and page map buckets

2018-06-19 Thread Eduard Shangareev
Hi, 1. It looks weird, yeah. Need to ask Sergey, who has changed it last time. 2. Because we could reuse memory. For example, after cache destroy or something like that. On Tue, Jun 19, 2018 at 9:58 PM, John Wilson wrote: > Hi, > > Two quick questions: > > >1. The design documentation

Quick questions on segments and page map buckets

2018-06-19 Thread John Wilson
Hi, Two quick questions: 1. The design documentation here, https://cwiki.apache.org/confluence/display/IGNITE/Ignite+Durable+Memory+-+under+the+hood, states that the default segment count is equal to the number of logical cores available in the underlying machine. However, the