Yu Ning
Yu Ning
Same issue when we try to write to a block device directly: ``` ubuntu@ip-10-0-0-167:~$ java -Dio.netty.tryReflectionSetAccessible=true --add-opens=java.base/java.nio=ALL-UNNAMED -ea -cp s3stream-0.4.2-SNAPSHOT-jar-with-dependencies.jar com.automq.stream.s3.wal.benchmark.WriteBench -p /dev/nvme1n1 --duration 86400 --throughput 110000000 --record-size 4096 -d...
Hello, @RapperCL, you can update your code within the same PR; there's no need to create multiple PRs.
It seems that the "lock separation" mentioned in #1550 is not included in this PR. Is it still in progress?
> > It seems that the "lock separation" mentioned in #1550 is not included in this PR. Is it still in progress? > > I additionally added a `pollBlockLock` to...
We have provided a tool called "[WriteBench](https://github.com/AutoMQ/automq/blob/main/s3stream/src/main/java/com/automq/stream/s3/wal/benchmark/WriteBench.java)" for testing WAL performance. You can use it to compare the performance before and after the modifications to confirm their effectiveness.
https://github.com/AutoMQ/automq/issues/1550#issuecomment-2222350680
> After implementing lock separation, the next challenge is managing shared resources. Currently, `writingBlocks` is also protected by the `blockLock`. How should it be handled?
Great job, the explanation is very detailed. Among the two approaches in `writingBlocks` (named "eventual consistency" and "strict consistency"), I prefer the second one. There are two reasons for this:...
> Link not working. > > Add command-line argument [here](https://github.com/AutoMQ/automq/blob/main/bin/automq-perf-test.sh)? Where is the logic for controlling the num of consumers activated? The link has been updated. You can check the...