Commit 7f8e249
Jaegeuk Kim
f2fs: introduce F2FS_UNFAIR_RWSEM to support unfair rwsem
Unfair rwsem should be used when blk-cg is on. Otherwise, there is regression.
FYI, we noticed a -26.7% regression of aim7.jobs-per-min due to commit:
commit: e4544b6 ("f2fs: move f2fs to use reader-unfair rwsems")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: aim7
on test machine: 88 threads 2 sockets Intel(R) Xeon(R) Gold 6238M CPU @ 2.10GHz with 128G memory
with following parameters:
disk: 4BRD_12G
md: RAID0
fs: f2fs
test: sync_disk_rw
load: 100
cpufreq_governor: performance
ucode: 0x500320a
test-description: AIM7 is a traditional UNIX system level benchmark suite which is used to test and measure the performance of multiuser system.
test-url: https://sourceforge.net/projects/aimbench/files/aim-suite7/
Reported-by: kernel test robot <oliver.sang@intel.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>1 parent 50c6300 commit 7f8e249
2 files changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
135 | 136 | | |
| 137 | + | |
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
| |||
2131 | 2133 | | |
2132 | 2134 | | |
2133 | 2135 | | |
| 2136 | + | |
2134 | 2137 | | |
| 2138 | + | |
2135 | 2139 | | |
2136 | 2140 | | |
2137 | 2141 | | |
| |||
2146 | 2150 | | |
2147 | 2151 | | |
2148 | 2152 | | |
| 2153 | + | |
2149 | 2154 | | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
2150 | 2158 | | |
2151 | 2159 | | |
2152 | 2160 | | |
| |||
2181 | 2189 | | |
2182 | 2190 | | |
2183 | 2191 | | |
| 2192 | + | |
2184 | 2193 | | |
| 2194 | + | |
2185 | 2195 | | |
2186 | 2196 | | |
2187 | 2197 | | |
| |||
0 commit comments