Synchronous writes on SLES 12 are slower than on SLES 11
This document (7016100) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Resolution
Cause
In releases until and including SLES 11, only fdatasync(2) is called, which doesn't fully comply with the POSIX specification. In SLE 12, the behavior has changed to match the specification. This can result in notable performance decline of synchronous writes that do not require allocation of new disk space for the file: while previously no inode changes were written in this specific case, inodes now need to be updated because file time stamps have changed and fsync(2) mandates updating inodes in such case while fdatasync(2) does not.
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7016100
- Creation Date: 26-Jan-2015
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com