Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Juicedata
JuiceFS
提交
71bb8efe
JuiceFS
项目概览
Juicedata
/
JuiceFS
通知
10
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
JuiceFS
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
71bb8efe
编写于
7月 12, 2021
作者:
C
Changjian Gao
提交者:
GitHub
7月 12, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Docs: add `--upload-limit` and `--download-limit` (#626)
上级
048d4492
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
48 addition
and
20 deletion
+48
-20
docs/en/command_reference.md
docs/en/command_reference.md
+15
-3
docs/en/hadoop_java_sdk.md
docs/en/hadoop_java_sdk.md
+9
-7
docs/zh_cn/command_reference.md
docs/zh_cn/command_reference.md
+15
-3
docs/zh_cn/hadoop_java_sdk.md
docs/zh_cn/hadoop_java_sdk.md
+9
-7
未找到文件。
docs/en/command_reference.md
浏览文件 @
71bb8efe
...
@@ -15,7 +15,7 @@ USAGE:
...
@@ -15,7 +15,7 @@ USAGE:
juicefs
[
global options]
command
[
command
options]
[
arguments...]
juicefs
[
global options]
command
[
command
options]
[
arguments...]
VERSION:
VERSION:
0.1
5-dev
(
2021-06-16 b5d0cd8
)
0.1
6-dev
(
2021-07-12 d0a9d87
)
COMMANDS:
COMMANDS:
format format a volume
format format a volume
...
@@ -31,8 +31,8 @@ COMMANDS:
...
@@ -31,8 +31,8 @@ COMMANDS:
profile analyze access log
profile analyze access log
status show status of JuiceFS
status show status of JuiceFS
warmup build cache
for
target directories/files
warmup build cache
for
target directories/files
dump dump
JuiceFS metadata into a standalone
file
dump dump
metadata into a JSON
file
load load
JuiceFS metadata from a previously dumped
file
load load
metadata from a previously dumped JSON
file
help
, h Shows a list of commands or
help
for
one
command
help
, h Shows a list of commands or
help
for
one
command
GLOBAL OPTIONS:
GLOBAL OPTIONS:
...
@@ -203,6 +203,12 @@ number of connections to upload (default: 20)
...
@@ -203,6 +203,12 @@ number of connections to upload (default: 20)
`--buffer-size value`
\
`--buffer-size value`
\
total read/write buffering in MiB (default: 300)
total read/write buffering in MiB (default: 300)
`--upload-limit value`
\
bandwidth limit for upload in Mbps (default: 0)
`--download-limit value`
\
bandwidth limit for download in Mbps (default: 0)
`--prefetch value`
\
`--prefetch value`
\
prefetch N blocks in parallel (default: 1)
prefetch N blocks in parallel (default: 1)
...
@@ -270,6 +276,12 @@ number of connections to upload (default: 20)
...
@@ -270,6 +276,12 @@ number of connections to upload (default: 20)
`--buffer-size value`
\
`--buffer-size value`
\
total read/write buffering in MiB (default: 300)
total read/write buffering in MiB (default: 300)
`--upload-limit value`
\
bandwidth limit for upload in Mbps (default: 0)
`--download-limit value`
\
bandwidth limit for download in Mbps (default: 0)
`--prefetch value`
\
`--prefetch value`
\
prefetch N blocks in parallel (default: 1)
prefetch N blocks in parallel (default: 1)
...
...
docs/en/hadoop_java_sdk.md
浏览文件 @
71bb8efe
...
@@ -103,13 +103,15 @@ Then put the JAR file and `$JAVA_HOME/lib/tools.jar` to the classpath of each Ha
...
@@ -103,13 +103,15 @@ Then put the JAR file and `$JAVA_HOME/lib/tools.jar` to the classpath of each Ha
### I/O Configurations
### I/O Configurations
| Configuration | Default Value | Description |
| Configuration | Default Value | Description |
| ------------- | ------------- | ----------- |
| ------------- | ------------- | ----------- |
|
`juicefs.max-uploads`
| 20 | The max number of connections to upload |
|
`juicefs.max-uploads`
| 20 | The max number of connections to upload |
|
`juicefs.get-timeout`
| 5 | The max number of seconds to download an object |
|
`juicefs.get-timeout`
| 5 | The max number of seconds to download an object |
|
`juicefs.put-timeout`
| 60 | The max number of seconds to upload an object |
|
`juicefs.put-timeout`
| 60 | The max number of seconds to upload an object |
|
`juicefs.memory-size`
| 300 | Total read/write buffering in MiB |
|
`juicefs.memory-size`
| 300 | Total read/write buffering in MiB |
|
`juicefs.prefetch`
| 1 | Prefetch N blocks in parallel |
|
`juicefs.prefetch`
| 1 | Prefetch N blocks in parallel |
|
`juicefs.upload-limit`
| 0 | Bandwidth limit for upload in Mbps |
|
`juicefs.download-limit`
| 0 | Bandwidth limit for download in Mbps |
### Other Configurations
### Other Configurations
...
...
docs/zh_cn/command_reference.md
浏览文件 @
71bb8efe
...
@@ -15,7 +15,7 @@ USAGE:
...
@@ -15,7 +15,7 @@ USAGE:
juicefs
[
global options]
command
[
command
options]
[
arguments...]
juicefs
[
global options]
command
[
command
options]
[
arguments...]
VERSION:
VERSION:
0.1
5-dev
(
2021-06-16 b5d0cd8
)
0.1
6-dev
(
2021-07-12 d0a9d87
)
COMMANDS:
COMMANDS:
format format a volume
format format a volume
...
@@ -31,8 +31,8 @@ COMMANDS:
...
@@ -31,8 +31,8 @@ COMMANDS:
profile analyze access log
profile analyze access log
status show status of JuiceFS
status show status of JuiceFS
warmup build cache
for
target directories/files
warmup build cache
for
target directories/files
dump dump
JuiceFS metadata into a standalone
file
dump dump
metadata into a JSON
file
load load
JuiceFS metadata from a previously dumped
file
load load
metadata from a previously dumped JSON
file
help
, h Shows a list of commands or
help
for
one
command
help
, h Shows a list of commands or
help
for
one
command
GLOBAL OPTIONS:
GLOBAL OPTIONS:
...
@@ -203,6 +203,12 @@ juicefs mount [command options] META-URL MOUNTPOINT
...
@@ -203,6 +203,12 @@ juicefs mount [command options] META-URL MOUNTPOINT
`--buffer-size value`
\
`--buffer-size value`
\
读写缓存的总大小;单位为 MiB (默认: 300)
读写缓存的总大小;单位为 MiB (默认: 300)
`--upload-limit value`
\
上传带宽限制,单位为 Mbps (默认: 0)
`--download-limit value`
\
下载带宽限制,单位为 Mbps (默认: 0)
`--prefetch value`
\
`--prefetch value`
\
并发预读 N 个块 (默认: 1)
并发预读 N 个块 (默认: 1)
...
@@ -270,6 +276,12 @@ juicefs gateway [command options] META-URL ADDRESS
...
@@ -270,6 +276,12 @@ juicefs gateway [command options] META-URL ADDRESS
`--buffer-size value`
\
`--buffer-size value`
\
读写缓存的总大小;单位为 MiB (默认: 300)
读写缓存的总大小;单位为 MiB (默认: 300)
`--upload-limit value`
\
上传带宽限制,单位为 Mbps (默认: 0)
`--download-limit value`
\
下载带宽限制,单位为 Mbps (默认: 0)
`--prefetch value`
\
`--prefetch value`
\
并发预读 N 个块 (默认: 1)
并发预读 N 个块 (默认: 1)
...
...
docs/zh_cn/hadoop_java_sdk.md
浏览文件 @
71bb8efe
...
@@ -103,13 +103,15 @@ $ make
...
@@ -103,13 +103,15 @@ $ make
### I/O 配置
### I/O 配置
| 配置项 | 默认值 | 描述 |
| 配置项 | 默认值 | 描述 |
| ------------------ | ------ | ------------------------------------------------------------ |
| ------------------ | ------ | ------------------------------------------------------------ |
|
`juicefs.max-uploads`
| 20 | 上传数据的最大连接数 |
|
`juicefs.max-uploads`
| 20 | 上传数据的最大连接数 |
|
`juicefs.get-timeout`
| 5 | 下载一个对象的超时时间,单位为秒。 |
|
`juicefs.get-timeout`
| 5 | 下载一个对象的超时时间,单位为秒。 |
|
`juicefs.put-timeout`
| 60 | 上传一个对象的超时时间,单位为秒。 |
|
`juicefs.put-timeout`
| 60 | 上传一个对象的超时时间,单位为秒。 |
|
`juicefs.memory-size`
| 300 | 读写数据的缓冲区最大空间,单位为 MiB。 |
|
`juicefs.memory-size`
| 300 | 读写数据的缓冲区最大空间,单位为 MiB。 |
|
`juicefs.prefetch`
| 1 | 预读数据块的线程数 |
|
`juicefs.prefetch`
| 1 | 预读数据块的线程数 |
|
`juicefs.upload-limit`
| 0 | 上传带宽限制,单位为 Mbps。 |
|
`juicefs.download-limit`
| 0 | 下载带宽限制,单位为 Mbps。 |
### 其他配置
### 其他配置
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录