Skip to content

Commit

Permalink
doc: Updated the introduction to the results of the bench (#4056)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhr123 authored Sep 22, 2023
1 parent ebc4fed commit 737791e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 5 additions & 1 deletion docs/en/benchmark/performance_evaluation_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ The [`juicefs bench`](../reference/command_reference.md#bench) command can help
juicefs bench /mnt/jfs -p 4
```

The test results will show each performance indicator in green, yellow or red. If you see red indicators in your results, please check the relevant configuration first. Feel free to post any problems you encountered in detail on [GitHub Discussions](https://github.com/juicedata/juicefs/discussions).
The test results are presented in a table format, where `ITEM` represents the tested item, `VALUE` represents the processing capacity per second (throughput, number of files, number of operations, etc.), and `COST` represents the time required for each file or operation.

The results will be displayed in green, yellow, or red to differentiate performance. If there are red indicators in your results, please check the relevant configurations first. Feel free to post any problems you encountered in detail on [GitHub Discussions](https://github.com/juicedata/juicefs/discussions).

![bench](../images/bench-guide-bench.png)

Expand Down Expand Up @@ -91,6 +93,8 @@ The test results are shown in the figure below:

![JuiceFS Bench](../images/objbench.png)

Among them, the result `not support` indicates that the tested object storage does not support this feature.

#### Test flow

First perform object storage function test, the following are test cases:
Expand Down
6 changes: 5 additions & 1 deletion docs/zh_cn/benchmark/performance_evaluation_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ JuiceFS v1.0+ 默认启用了回收站,基准测试会在文件系统中创建
juicefs bench /mnt/jfs -p 4
```

测试结果会将各项性能指标显示为绿色,黄色或红色。若您的结果中有红色指标,请先检查相关配置,需要帮助可以在 [GitHub Discussions](https://github.com/juicedata/juicefs/discussions) 详细描述你的问题。
测试结果以表格形式呈现,其中 `ITEM` 代表测试的项目,`VALUE` 代表每秒的处理能力(吞吐量、文件数、操作数等),`COST` 代表每个文件或操作所需的时间。

各项性能指标会显示为绿色、黄色或红色区分性能表现。若您的结果中有红色指标,请先检查相关配置,需要帮助可以在 [GitHub Discussions](https://github.com/juicedata/juicefs/discussions) 详细描述你的问题。

![bench](../images/bench-guide-bench.png)

Expand Down Expand Up @@ -91,6 +93,8 @@ juicefs objbench \

![JuiceFS Bench](../images/objbench.png)

其中,结果显示为 `not support` 代表所测试的对象存储不支持该项功能。

#### 测试流程

首先会对对象存储的接口进行功能测试,以下为测试用例:
Expand Down
2 changes: 0 additions & 2 deletions docs/zh_cn/guide/clone.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,3 @@ juicefs clone /mnt/jfs/dir1 /mnt/jfs/dir2
- 同时往同一个位置创建克隆时,只会有一个成功,失败请求的会清理掉临时创建的目录树。

克隆操作是在挂载进程中进行,如果克隆命令意外退出,克隆操作可能完成或者被中断。失败或者被中断的克隆操作,`mount` 进程会尝试清理已创建好的子树,如果清理子树也失败(元数据不可用或者`mount`进程意外退出),则会导致元数据泄露和可能的对象存储泄露。此时如果源对象被删除了,则会导致其对象存储上的数据不会被释放(因为被未挂载的的子树所引用),直到使用 [`juicefs gc --delete`](../reference/command_reference.md#gc) 命令清理。


0 comments on commit 737791e

Please sign in to comment.