[ 
https://issues.apache.org/jira/browse/FLINK-24918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444349#comment-17444349
 ] 

Aitozi commented on FLINK-24918:
--------------------------------

ps: I find I can use the \{{-Djava.io.tmpdir=/data/}} to change the root dir .

> 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
>            Priority: Minor
>
> {{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)

Reply via email to