[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.5555/1096673.1096691guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

Tracefs: A File System to Trace Them All

Published: 31 March 2004 Publication History

Abstract

File system traces have been used for years to analyze user behavior and system software behavior, leading to advances in file system and storage technologies. Existing traces, however, are difficult to use because they were captured for a specific use and cannot be changed, they often miss vital information for others to use, they become stale as time goes by, and they cannot be easily distributed due to user privacy concerns. Other forms of traces (block level, NFS level, or system-call level) all contain one or more deficiencies, limiting their usefulness to a wider range of studies.We developed Tracefs, a thin stackable file system for capturing file system traces in a portable manner. Tracefs can capture uniform traces for any file system, without modifying the file systems being traced. Tracefs can capture traces at various degrees of granularity: by users, groups, processes, files and file names, file operations, and more; it can transform trace data into aggregate counters, compressed, checksummed, encrypted, or anonymized streams; and it can buffer and direct the resulting data to various destinations (e.g., sockets, disks, etc.). Our modular and extensible design allows for uses beyond traditional file system traces: Tracefs can wrap around other file systems for debugging as well as for feeding user activity data into an Intrusion Detection System. We have implemented and evaluated a prototype Tracefs on Linux. Our evaluation shows a highly versatile system with small overheads.

References

[1]
M. G. Baker, J. H. Hartman, M. D. Kupfer, K. W. Shirriff, and J. K. Ousterhout. Measurements of a Distributed File System. In Proceedings of 13th ACM SOSP, pages 198-212. ACM SIGOPS, 1991.]]
[2]
M. Blaze. NFS Tracing by Passive Network Monitoring. In Proceedings of the USENIX Winter Conference, January 1992.]]
[3]
P. Deutsch and J. L. Gailly. RFC 1050: Zlib 3.3 Specification. Network Working Group, May 1996.]]
[4]
D. Ellard, J. Ledlie, P. Malkani, and M. Seltzer. Passive NFS Tracing of Email and Research Workloads. In Proceedings of the Annual USENIX Conference on File and Storage Technologies, March 2003.]]
[5]
D. Ellard, J. Ledlie, and M. Seltzer. The Utility of File Names. Technical Report TR-05-03, Computer Science Group, Harvard University, March 2003.]]
[6]
D. Ellard and M. Seltzer. New NFS Tracing Tools and Techniques for System Analysis. In Proceedings of the Annual USENIX Conference on Large Installation Systems Administration, October 2003.]]
[7]
D. Ellard and M. Seltzer. NFS Tricks and Benchmarking Traps. In Proceedings of the Annual USENIX Technical Conference, FREENIX Track, pages 101-114, June 2003.]]
[8]
LBNL Network Research Group. The TCPDump/Libpcap site. www.tcpdump.org, February 2003.]]
[9]
J. Katcher. PostMark: a New Filesystem Benchmark. Technical Report TR3022, Network Appliance, 1997. www.netapp.com/tech_library/3022.html.]]
[10]
G. H. Kuenning. Seer: Predictive File Hoarding for Disconnected Mobile Operation. PhD thesis, University of California, Los Angeles, May 1997.]]
[11]
S. McCanne and V. Jacobson. The BSD Packet Filter: A New Architecture for User-level Packet Capture. In Proceedings of the Winter USENIX Technical Conference, pages 259-69, January 1993.]]
[12]
A. W. Moore. Operating system and file system monitoring: A comparison of passive network monitoring with full kernel instrumentation techniques. Master's thesis, Department of Robotics and Digital Technology, Monash University, 1998.]]
[13]
A. W. Moore, A. J. McGregor, and J. W. Breen. A comparison of system monitoring methods, passive network monitoring and kernel instrumentation. ACM SIGOPS Operating Systems Review, 30(1):16-38, 1996.]]
[14]
J. Ousterhout, H. Costa, D. Harrison, J. Kunze, M. Kupfer, and J. Thompson. A Trace-Driven Analysis of the UNIX 4.2 BSD File System. In Proceedings of the 10th ACM SOSP, pages 15-24, Orcas Island, WA, December 1985. ACM.]]
[15]
J. S. Pendry, N. Williams, and E. Zadok. Am-utils User Manual, 6.1b3 edition, July 2003. www.am-utils.org.]]
[16]
H. V. Riedel. The GNU/Linux CryptoAPI site. www.kerneli.org, August 2003.]]
[17]
R. L. Rivest. RFC 1321: The MD5 Message-Digest Algorithm. Internet Activities Board, April 1992.]]
[18]
D. Roselli, J. R. Lorch, and T. E. Anderson. A Comparison of File System Workloads. In Proc. of the Annual USENIX Technical Conference, pages 41-54, June 2000.]]
[19]
B. Schneier. Applied Cryptography. John Wiley & Sons, second edition, October 1995.]]
[20]
W. Vogels. File System Usage in Windows NT 4.0. In Proceedings of the 17th ACM SOSP, pages 93-109, December 1999.]]
[21]
E. Zadok and J. Nieh. FiST: A Language for Stackable File Systems. In Proceedings of the Annual USENIX Technical Conference, pages 55-70, June 2000.]]
[22]
S. Zhou, H. Da Costa, and A. J. Smith. A File System Tracing Package for Berkeley UNIX. In Proceedings of the USENIX Summer Conference, pages 407-419, June 1984.]]

Cited By

View all
  • (2024)zns-tools: An eBPF-powered, Cross-Layer Storage Profiling Tool for NVMe ZNS SSDsProceedings of the 4th Workshop on Challenges and Opportunities of Efficient and Performant Storage Systems10.1145/3642963.3652205(23-32)Online publication date: 22-Apr-2024
  • (2018)Challenges and Solutions for Tracing Storage SystemsACM Transactions on Storage10.1145/314937614:2(1-24)Online publication date: 12-Apr-2018
  • (2016)Performance Extrapolation of IO Intensive WorkloadsProceedings of the 7th ACM/SPEC on International Conference on Performance Engineering10.1145/2851553.2858665(105-108)Online publication date: 12-Mar-2016
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Guide Proceedings
FAST '04: Proceedings of the 3rd USENIX Conference on File and Storage Technologies
March 2004
298 pages

Publisher

USENIX Association

United States

Publication History

Published: 31 March 2004

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 06 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2024)zns-tools: An eBPF-powered, Cross-Layer Storage Profiling Tool for NVMe ZNS SSDsProceedings of the 4th Workshop on Challenges and Opportunities of Efficient and Performant Storage Systems10.1145/3642963.3652205(23-32)Online publication date: 22-Apr-2024
  • (2018)Challenges and Solutions for Tracing Storage SystemsACM Transactions on Storage10.1145/314937614:2(1-24)Online publication date: 12-Apr-2018
  • (2016)Performance Extrapolation of IO Intensive WorkloadsProceedings of the 7th ACM/SPEC on International Conference on Performance Engineering10.1145/2851553.2858665(105-108)Online publication date: 12-Mar-2016
  • (2014)Automatic generation of I/O kernels for HPC applicationsProceedings of the 9th Parallel Data Storage Workshop10.5555/2688400.2688409(31-36)Online publication date: 16-Nov-2014
  • (2014)Optimizing the Block I/O Subsystem for Fast Storage DevicesACM Transactions on Computer Systems10.1145/261909232:2(1-48)Online publication date: 1-Jun-2014
  • (2010)Towards a secure and efficient system for end-to-end provenanceProceedings of the 2nd conference on Theory and practice of provenance10.5555/1855795.1855797(2-2)Online publication date: 22-Feb-2010
  • (2010)ParaTracProceedings of the 19th ACM International Symposium on High Performance Distributed Computing10.1145/1851476.1851482(37-48)Online publication date: 21-Jun-2010
  • (2010)Application-storage discoveryProceedings of the 3rd Annual Haifa Experimental Systems Conference10.1145/1815695.1815720(1-14)Online publication date: 24-May-2010
  • (2009)DIADSProccedings of the 7th conference on File and storage technologies10.5555/1525908.1525913(57-70)Online publication date: 24-Feb-2009
  • (2009)Pattern Matching and I/O Replay for POSIX I/O in Parallel ProgramsProceedings of the 15th International Euro-Par Conference on Parallel Processing10.1007/978-3-642-03869-3_8(45-56)Online publication date: 23-Aug-2009
  • Show More Cited By

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media