ext2, ext3: speed up file create workloads
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ext2: speed up file creates by optimizing rec_len functionsfs/ | +14 | 13 replies | |
| 2/2 | ext3: speed up file creates by optimizing rec_len functionsfs/ include/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] ext2, ext3: speed up file create workloads
The addition of 64k block capability in the rec_len_from_disk and rec_len_to_disk functions added a bit of math overhead which slows down file create workloads needlessly when the architecture cannot even support 64k blocks, thanks to page size limits.
The directory entry checking can also be optimized a bit by sprinkling in some unlikely() conditions to move the error handling out of line.
These 2 patches speed up a bonnie++ file creation workload for me by several percent on ext2 & ext3.
Thanks,
-Eric