Skip to contentSkip to conversation

man: add doc for test_create_perf/test_lookup_perf

PATCH In review Daniel Lee via Linux-f2fs-devel 1 participant 2 messages Jul 14, 2025 – Jul 15, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 man: add doc for test_create_perf/test_lookup_perf

---
 man/f2fs_io.8 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
man/f2fs_io.8 +22 -0
index e0f659e..6f3e11e 100644
@@ -184,6 +184,28 @@ Get i_advise value and info in file
 .TP
 \fBioprio\fR \fI[hint] [file]\fR
 Set ioprio to the file. The ioprio can be ioprio_write.
+.TP
+\fBtest_create_perf\fR \fI[-s] [-S] [dir] [num_files] [size_kb]\fR
+Measure file creation and deletion performance.
+.RS 1.2in
+.TP
+.B -s
+Call fsync() after each file creation.
+.TP
+.B -S
+Call sync() after deleting all files.
+.RE
+.TP
+\fBtest_lookup_perf\fR \fI[-i] [-v] [dir] [num_files]\fR
+Measure readdir/stat performance.
+.RS 1.2in
+.TP
+.B -i
+Initialized to create files only.
+.TP
+.B -v
+Verbose mode.
+.RE
 .SH AUTHOR
 This version of
 .B f2fs_io
Signature · 8 lines
2.50.0.727.gbf7dc18ff4-goog



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
author Reviewed-by Chao Yu on v1 1/1
#1 lore raw
Quoted 1 line · Daniel Lee

Oh, just notice you help to update test_lookup_perf entry as well.

Thanks,

Quoted 27 lines
---
 man/f2fs_io.8 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
man/f2fs_io.8 +15 -0
index e0f659e..6f3e11e 100644
@@ -184,6 +184,28 @@ Get i_advise value and info in file
 .TP
 \fBioprio\fR \fI[hint] [file]\fR
 Set ioprio to the file. The ioprio can be ioprio_write.
+.TP
+\fBtest_create_perf\fR \fI[-s] [-S] [dir] [num_files] [size_kb]\fR
+Measure file creation and deletion performance.
+.RS 1.2in
+.TP
+.B -s
+Call fsync() after each file creation.
+.TP
+.B -S
+Call sync() after deleting all files.
+.RE
+.TP
+\fBtest_lookup_perf\fR \fI[-i] [-v] [dir] [num_files]\fR
+Measure readdir/stat performance.
+.RS 1.2in

man/f2fs_io.8 Get i_advise value and info in file · line 211

Quoted 10 lines
man/f2fs_io.8 +7 -0
+.TP
+.B -i
+Initialized to create files only.
+.TP
+.B -v
+Verbose mode.
+.RE
 .SH AUTHOR
 This version of
 .B f2fs_io

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel