Nothing Special   »   [go: up one dir, main page]

skip to main content
10.5555/1267411.1267432guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

File system logging versus clustering: a performance comparison

Published: 16 January 1995 Publication History

Abstract

The Log-structured File System (LFS), introduced in 1991 [8], has received much attention for its potential order-of-magnitude improvement in file system performance. Early research results [9] showed that small file performance could scale with processor speed and that cleaning costs could be kept low, allowing LFS to write at an effective bandwidth of 62 to 83% of the maximum. Later work showed that the presence of synchronous disk operations could degrade performance by as much as 62% and that cleaning overhead could become prohibitive in transaction processing workloads, reducing performance by as much as 40% [10]. The same work showed that the addition of clustered reads and writes in the Berkeley Fast File System [6] (FFS) made it competitive with LFS in large-file handling and software development environments as approximated by the Andrew benchmark [4].
These seemingly inconsistent results have caused confusion in the file system research community. This paper presents a detailed performance comparison of the 4.4BSD Log-structured File System and the 4.4BSD Fast File System. Ignoring cleaner overhead, our results show that the order-of-magnitude improvement in performance claimed for LFS applies only to meta-data intensive activities, specifically the creation of files one-kilobyte or less and deletion of files 64 kilobytes or less.
For small files, both systems provide comparable read performance, but LFS offers superior performance on writes. For large files (one megabyte and larger), the performance of the two file systems is comparable. When FFS is tuned for writing, its large-file write performance is approximately 15% better than LFS, but its read performance is 25% worse. When FFS is optimized for reading, its large-file read and write performance is comparable to LFS.
Both LFS and FFS can suffer performance degradation, due to cleaning and disk fragmentation respectively. We find that active FFS file systems function at approximately 85-95% of their maximum performance after two to three years. We examine LFS cleaner performance in a transaction processing environment and find that cleaner overhead reduces LFS performance by more than 33% when the disk is 50% full.

References

[1]
{1} Baker, M., Hartman, J., Kupfer, M., Shirriff, K., Ousterhout, J., "Measurements of a Distributed File System," Proceedings of the 13th Symposium on Operating System Principles, Pacific Grove, CA, October 1991, 192-212.]]
[2]
{2} Blackwell, T., Harris, J., Seltzer, M., "Heuristic Cleaning Algorithms in LFS," Proceedings of the 1995 Usenix Technical Conference, New Orleans, LA, January 1995.]]
[3]
{3} Ganger, G., Patt, Y., "Metadata Update Performance in File Systems," Proceedings of the First Usenix Symposium on Operating System Design and Implementation, Monterey, CA, November, 1994, 49-60.]]
[4]
{4} Howard, J., Kazar, Menees, S., Nichols, D., Satyanarayanan, M., Sidebotham, N., West, M., "Scale and Performance in a Distributed File System," ACM Transaction on Computer Systems 6, 1 (February 1988), 51-81.]]
[5]
{5} Lieberman, H., Hewitt, C., "A real-time garbage collector based on the lifetimes of objects," Communications of the ACM, 26, 6, 1983, 419-429.]]
[6]
{6} McKusick, M. Joy, W., Leffler, S., Fabry, R. "A Fast File System for UNIX," ACM Transactions on Computer Systems 2, 3 (August 1984), 181-197.]]
[7]
{7} McVoy, L., Kleiman, S., "Extent-like Performance from a UNIX File System," Proceedings of the 1990 Summer Usenix, Anaheim, CA, June 1990, 137-144.]]
[8]
{8} Rosenblum, M., Ousterhout, J., "The LFS Storage Manager," Proceedings of the 1990 Summer Usenix, Anaheim, CA, June 1990, 315-324.]]
[9]
{9} Rosenblum, M., Ousterhout, J., "The Design and Implementation of a Log-Structured File System," ACM Transactions on Computer Systems 10, 1 (February 1992), 26-52.]]
[10]
{10} Seltzer, M., Bostic, K., McKusick., M., Staelin, C., "The Design and Implementation of the 4.4BSD Log-Structured File System," Proceedings of the 1993 Winter Usenix, January 1993, San Diego, CA.]]
[11]
{11} Seltzer, M., "Transaction Support in a Log-Structured File System," Proceedings of the Ninth International Conference on Data Engineering, Vienna, Austria, April 1993.]]
[12]
{12} Smith, K. A., Seltzer., M, "File Layout and File System Performance," Harvard Division of Applied Sciences Technical Report, 1994.]]
[13]
{13} Transaction Processing Performance Council, "TPC Benchmark B Standard Specification," Waterside Associates, Fremont, CA., August 1990.]]

Cited By

View all

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Guide Proceedings
TCON'95: Proceedings of the USENIX 1995 Technical Conference Proceedings
January 1995
251 pages

Publisher

USENIX Association

United States

Publication History

Published: 16 January 1995

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 23 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2019)Storage gardeningProceedings of the 17th USENIX Conference on File and Storage Technologies10.5555/3323298.3323305(65-78)Online publication date: 25-Feb-2019
  • (2018)OrcFSACM Transactions on Storage10.1145/316261414:2(1-26)Online publication date: 12-Apr-2018
  • (2017)PARIXProceedings of the 2017 USENIX Conference on Usenix Annual Technical Conference10.5555/3154690.3154745(581-587)Online publication date: 12-Jul-2017
  • (2017)LittleTableProceedings of the 2017 ACM International Conference on Management of Data10.1145/3035918.3056102(125-138)Online publication date: 9-May-2017
  • (2016)NOVAProceedings of the 14th Usenix Conference on File and Storage Technologies10.5555/2930583.2930608(323-338)Online publication date: 22-Feb-2016
  • (2015)BetrFSProceedings of the 13th USENIX Conference on File and Storage Technologies10.5555/2750482.2750505(301-315)Online publication date: 16-Feb-2015
  • (2015)The RAMCloud Storage SystemACM Transactions on Computer Systems10.1145/280688733:3(1-55)Online publication date: 31-Aug-2015
  • (2015)BetrFSACM Transactions on Storage10.1145/279872911:4(1-29)Online publication date: 4-Nov-2015
  • (2014)BlizzardProceedings of the 11th USENIX Conference on Networked Systems Design and Implementation10.5555/2616448.2616473(257-273)Online publication date: 2-Apr-2014
  • (2014)Parity logging with reserved spaceProceedings of the 12th USENIX conference on File and Storage Technologies10.5555/2591305.2591321(163-176)Online publication date: 17-Feb-2014
  • Show More Cited By

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media