Bug 1400144 - glibc: Performance penalty due to block size-based buffering in stdio
Summary: glibc: Performance penalty due to block size-based buffering in stdio
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 26
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: glibc team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 988869
TreeView+ depends on / blocked
 
Reported: 2016-11-30 14:29 UTC by Florian Weimer
Modified: 2017-10-09 11:48 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 988869
Environment:
Last Closed: 2017-10-09 11:48:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Sourceware 4099 0 None None None 2016-11-30 14:29:12 UTC

Description Florian Weimer 2016-11-30 14:29:12 UTC
For some network file systems, the kernel returns block size values of several megabytes.  The stdio streams auto-tuning in glibc currently allocates matching buffer sizes.  This causes significant performance problems if the applications uses stdio streams for non-sequential file access.

We should backport the upstream patch to fix this.

Comment 1 Fedora End Of Life 2017-02-28 10:41:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 2 Florian Weimer 2017-10-09 11:48:23 UTC
This is included in glibc 2.25 (Fedora 26) and glibc 2.26 (Fedora 27).


Note You need to log in before you can comment on or make changes to this bug.