mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #2028] [MERGED] Improved fdcache_page performance #2314
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2314
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2028
Author: @ggtakec
Created: 9/4/2022
Status: ✅ Merged
Merged: 9/25/2022
Merged by: @gaul
Base:
master← Head:fix_fdcache_page📝 Commits (1)
0605102Improved fdcache_page performance📊 Changes
1 file changed (+86 additions, -55 deletions)
View changed files
📝
src/fdcache_page.cpp(+86 -55)📄 Description
Relevant Issue (if applicable)
#2019 #2027
Details
The following issues were reported.
fiotest with multi number of job (#2019)Both of these seem to be caused by the processing by the
page listoffdcacheoperation in thePageListclass.There was a problem with
page listcompress and data extraction logic, resulting in poor performance.Below are the values when measured with
gprof:Reviewed related functions including
raw_compress_fdpage_listin problem.(Reduced useless copies, etc.)I have confirmed that this fix does not cause a high load on the CPU.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.