You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Aitozi (Jira)" <ji...@apache.org> on 2021/11/16 07:51:00 UTC

[jira] [Created] (FLINK-24918) Support to specify the data dir for state benchmark

Aitozi created FLINK-24918:
------------------------------

             Summary: 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
            Reporter: Aitozi


{{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)