From: lampahome <pahome.chen@mirlab.org>
To: Chao Yu <yuchao0@huawei.com>
Cc: linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [f2fs-dev] Can I know if now is gc-ing or checkpointing?
Date: Mon, 6 Jul 2020 16:11:14 +0800 [thread overview]
Message-ID: <CAB3eZfuVcAz56N5Cb8+BEsdRtfLWxxd0O+=aY8+qFhFaiAZWLw@mail.gmail.com> (raw)
In-Reply-To: <a80be8b3-75d1-33c8-a4da-b4c336ae53be@huawei.com>
Brief procedures:
parted /dev/sdd1 as 160GB disk
mkfs -t f2fs /dev/sdd1
mount /dev/sdd1 /mnt/f2fsdir
I use shell script to create 20 fio concurrently and wait for finish.
fio command:
fio -bs=4k -iodepth=4 -rw=write -ioengine=libaio -name=my -direct=0
-size=1G -runtime=6000 -filename /mnt/f2fsdir/ggg$id
// $id correspond to number of fio, so $id range is 1~20
Status before fio:
=====[ partition info(sdd1). #0, RW, CP: Good]=====
[SB: 1] [CP: 2] [SIT: 6] [NAT: 114] [SSA: 153] [MAIN:
77849(OverProv:794 Resv:400)]
Utilization: 0% (2 valid blocks, 39858686 discard blocks)
- Node: 1 (Inode: 1, Other: 0)
- Data: 1
- Inline_xattr Inode: 0
- Inline_data Inode: 0
- Inline_dentry Inode: 0
- Orphan/Append/Update Inode: 0, 0, 0
Main area: 77849 segs, 77849 secs 77849 zones
- COLD data: 0, 0, 0
- WARM data: 1, 1, 1
- HOT data: 77845, 77845, 77845
- Dir dnode: 77848, 77848, 77848
- File dnode: 77847, 77847, 77847
- Indir nodes: 77846, 77846, 77846
- Valid: 6
- Dirty: 0
- Prefree: 0
- Free: 77843 (77843)
CP calls: 1 (BG: 0)
- cp blocks : 3
- sit blocks : 0
- nat blocks : 0
- ssa blocks : 0
GC calls: 0 (BG: 0)
- data segments : 0 (0)
- node segments : 0 (0)
Try to move 0 blocks (BG: 0)
- data blocks : 0 (0)
- node blocks : 0 (0)
Skipped : atomic write 0 (0)
BG skip : IO: 0, Other: 0
Extent Cache:
- Hit Count: L1-1:0 L1-2:0 L2:0
- Hit Ratio: 0% (0 / 0)
- Inner Struct Count: tree: 0(0), node: 0
Balancing F2FS Async:
- DIO (R: 0, W: 0)
- IO_R (Data: 0, Node: 0, Meta: 0
- IO_W (CP: 0, Data: 0, Flush: ( 0 0 1), Discard: (
0 0)) cmd: 0 undiscard: 0
- inmem: 0, atomic IO: 0 (Max. 0), volatile IO: 0 (Max. 0)
- nodes: 0 in 0
- dents: 0 in dirs: 0 ( 0)
- datas: 0 in files: 0
- quota datas: 0 in quota files: 0
- meta: 0 in 0
- imeta: 0
- NATs: 0/ 0
- SITs: 0/ 77849
- free_nids: 3636/ 13278716
- alloc_nids: 0
Distribution of User Blocks: [ valid | invalid | free ]
[|-|-------------------------------------------------]
IPU: 0 blocks
SSR: 0 blocks in 0 segments
LFS: 1 blocks in 0 segments
BDF: 99, avg. vblocks: 0
Memory: 19767 KB
- static: 19674 KB
- cached: 93 KB
- paged : 0 KB
Status after fio:
=====[ partition info(sdd1). #0, RW, CP: Good]=====
[SB: 1] [CP: 2] [SIT: 6] [NAT: 114] [SSA: 153] [MAIN:
77849(OverProv:794 Resv:400)]
Utilization: 13% (5248062 valid blocks, 34610626 discard blocks)
- Node: 5181 (Inode: 21, Other: 5160)
- Data: 5242881
- Inline_xattr Inode: 20
- Inline_data Inode: 0
- Inline_dentry Inode: 0
- Orphan/Append/Update Inode: 0, 0, 0
Main area: 77849 segs, 77849 secs 77849 zones
- COLD data: 0, 0, 0
- WARM data: 10260, 10260, 10260
- HOT data: 10023, 10023, 10023
- Dir dnode: 77848, 77848, 77848
- File dnode: 10184, 10184, 10184
- Indir nodes: 77846, 77846, 77846
- Valid: 10244
- Dirty: 10
- Prefree: 0
- Free: 67595 (67595)
CP calls: 7 (BG: 6)
- cp blocks : 27
- sit blocks : 195
- nat blocks : 42
- ssa blocks : 10259
GC calls: 1 (BG: 2)
- data segments : 1 (1)
- node segments : 0 (0)
Try to move 511 blocks (BG: 511)
- data blocks : 511 (511)
- node blocks : 0 (0)
Skipped : atomic write 0 (0)
BG skip : IO: 4, Other: 0
Extent Cache:
- Hit Count: L1-1:0 L1-2:0 L2:0
- Hit Ratio: 0% (0 / 1020)
- Inner Struct Count: tree: 20(0), node: 1003
Balancing F2FS Async:
- DIO (R: 0, W: 0)
- IO_R (Data: 0, Node: 0, Meta: 0
- IO_W (CP: 0, Data: 0, Flush: ( 0 0 1), Discard: (
0 0)) cmd: 0 undiscard: 0
- inmem: 0, atomic IO: 0 (Max. 0), volatile IO: 0 (Max. 0)
- nodes: 0 in 1980
- dents: 0 in dirs: 0 ( 0)
- datas: 0 in files: 0
- quota datas: 0 in quota files: 0
- meta: 0 in 670
- imeta: 0
- NATs: 0/ 1154
- SITs: 0/ 77849
- free_nids: 2096/ 13273536
- alloc_nids: 0
Distribution of User Blocks: [ valid | invalid | free ]
[------|-|-------------------------------------------]
IPU: 0 blocks
SSR: 0 blocks in 0 segments
LFS: 5253829 blocks in 10259 segments
BDF: 99, avg. vblocks: 387
Memory: 30432 KB
- static: 19674 KB
- cached: 157 KB
- paged : 10600 KB
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
next prev parent reply other threads:[~2020-07-06 8:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-06 7:10 [f2fs-dev] Can I know if now is gc-ing or checkpointing? lampahome
2020-07-06 7:29 ` Chao Yu
2020-07-06 7:34 ` lampahome
2020-07-06 7:46 ` Chao Yu
2020-07-06 8:11 ` lampahome [this message]
2020-07-06 8:51 ` Chao Yu
2020-07-06 8:58 ` lampahome
2020-07-06 10:27 ` Chao Yu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAB3eZfuVcAz56N5Cb8+BEsdRtfLWxxd0O+=aY8+qFhFaiAZWLw@mail.gmail.com' \
--to=pahome.chen@mirlab.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=yuchao0@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).