[ https://issues.apache.org/jira/browse/FLINK-24918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447188#comment-17447188 ]
Yun Tang commented on FLINK-24918: ---------------------------------- Merged in flink-master: 726eead617bb3392df6a6ef1681de62c631bbeb5 > 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 > > {{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)