[ https://issues.apache.org/jira/browse/FLINK-24918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Piotr Nowojski closed FLINK-24918. ---------------------------------- Fix Version/s: 1.15.0 Resolution: Fixed > Support to specify the data dir for state benchmark > ---------------------------------------------------- > > Key: FLINK-24918 > URL: https://issues.apache.org/jira/browse/FLINK-24918 > Project: Flink > Issue Type: Improvement > Components: Benchmarks, Runtime / State Backends > Reporter: Aitozi > Assignee: Aitozi > Priority: Minor > Labels: pull-request-available, stale-assigned > Fix For: 1.15.0 > > > {{StateBackendBenchmarkUtils}} use null as the parent dir to create temp dir, > which will finally use the /tmp as the data dir. It has two downsides: > 1. the /tmp dir often mount with tmpfs, which may store data in memory. it > will affect the result of rocksdb benchmark > 2. It can not support to use benchmark to measure the performance on a new > device. > So I purpose to enhance the state benchmark to support specify the default > data dir. And avoiding to use the {{/tmp}} as default. -- This message was sent by Atlassian Jira (v8.20.1#820001)