The base rule is keep at 4K unless there is a very good reason to change it.

See here:
https://apacheignite.readme.io/docs/durable-memory-tuning#page-size

 also try to turn on direct IO:
https://apacheignite.readme.io/docs/durable-memory-tuning#enabling-direct-io

small page sizes might cause amplification on the hardware level:
https://www.cactus-tech.com/resources/blog/details/write-amplification-as-seen-in-solid-state-drives
 
Large  page size might causes write amplification By ignite. The whole 16k
page will be persisted if you have changed only few bytes.

It depends on the pageFillFactor:
https://apacheignite.readme.io/docs/memory-metrics#getting-metrics

// Get the metrics of all the data regions configured on a node.
Collection<DataRegionMetrics> regionsMetrics = ignite.dataRegionMetrics();
            
// Print out some of the metrics.
for (DataRegionMetrics metrics : regionsMetrics) {
    System.out.println(">>> Memory Region Name: " + metrics.getName());
    System.out.println(">>> Allocation Rate: " +
metrics.getAllocationRate());
    System.out.println(">>> Fill Factor: " + metrics.getPagesFillFactor());
    System.out.println(">>> Allocated Size: " +
metrics.getTotalAllocatedPages());
    System.out.println(">>> Physical Memory Size: " +
metrics.getPhysicalMemorySize());
}

If you see a pageFillFactor of say 60% consistently then data is not aligned
correctly and extra pages w/corresponding read/writes are necessary. Here
tuning the pageFillFactor might be neccessary


 Ignite does not read only one page at a time but uses a variety of
algorithms to
 batch page reads/writes/replacements.

Your particular use case dictates what the best parameters are.
  
https://apacheignite.readme.io/docs/durable-memory-tuning#pages-writes-throttling
 
 see also:
https://www.intel.com/content/dam/www/public/us/en/documents/white-papers/ssd-server-storage-applications-paper.pdf

detailed information on how Ignite persistence and memory pagination work:
https://cwiki.apache.org/confluence/display/IGNITE/Ignite+Persistent+Store+-+under+the+hood
https://cwiki.apache.org/confluence/display/IGNITE/Ignite+Durable+Memory+-+under+the+hood




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to