OpenAFS Linux Performance Improvements in 1. 5/1

Slides:



Advertisements
Similar presentations
Full-System Timing-First Simulation Carl J. Mauer Mark D. Hill and David A. Wood Computer Sciences Department University of Wisconsin—Madison.
Advertisements

Live Migration of Virtual Machines Christopher Clark, Keir Fraser, Steven Hand, Jacob Gorm Hansen, Eric Jul, Christian Limpach, Ian Pratt, Andrew Warfield.
JPLIS-FILServer Performance Comparisons1 AFS Server Performance Comparisons Bo Tretta Kim Kimball Jet Propulsion Laboratory Information Services - FIL.
Flash: An efficient and portable Web server Authors: Vivek S. Pai, Peter Druschel, Willy Zwaenepoel Presented at the Usenix Technical Conference, June.
CSE506: Operating Systems Block Cache. CSE506: Operating Systems Address Space Abstraction Given a file, which physical pages store its data? Each file.
Workloads Experimental environment prototype real sys exec- driven sim trace- driven sim stochastic sim Live workload Benchmark applications Micro- benchmark.
Read vs. mmap Tan Li. Man mmap #include void *mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset); int munmap(void *start, size_t.
Misc Exercise 2 updated with Part III.  Due on next Tuesday 12:30pm. Project 2 (Suggestion)  Write a small test for each call.  Start from file system.
Jump to first page Flash An efficient and portable Web server presented by Andreas Anagnostatos CSE 291 Feb. 2, 2000 Vivek S. Pai Peter Druschel Willy.
File System Implementation: beyond the user’s view A possible file system layout on a disk.
Accurate and Efficient Replaying of File System Traces Nikolai Joukov, TimothyWong, and Erez Zadok Stony Brook University (FAST 2005) USENIX Conference.
1 Hash-Based Indexes Chapter Introduction  Hash-based indexes are best for equality selections. Cannot support range searches.  Static and dynamic.
CS 333 Introduction to Operating Systems Class 18 - File System Performance Jonathan Walpole Computer Science Portland State University.
Computer Organization Cs 147 Prof. Lee Azita Keshmiri.
Microkernels: Mach and L4
A. Frank - P. Weisberg Operating Systems Introduction to Tasks/Threads.
COM S 614 Advanced Systems Novel Communications U-Net and Active Messages.
Basics of Operating Systems March 4, 2001 Adapted from Operating Systems Lecture Notes, Copyright 1997 Martin C. Rinard.
Distributed Data Stores – Facebook Presented by Ben Gooding University of Arkansas – April 21, 2015.
Memory Management in Windows and Linux &. Windows Memory Management Virtual memory manager (VMM) –Executive component responsible for managing memory.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 5: Threads Overview Multithreading Models Threading Issues Pthreads Solaris.
CS533 Concepts of Operating Systems Jonathan Walpole.
Distributed File Systems
Announcing U.S. Dept of Energy SBIR Grant Supporting Development of Next Generation OpenAFS Jeffrey Altman, President Your File System Inc. 13 September.
Oracle Advanced Compression – Reduce Storage, Reduce Costs, Increase Performance Session: S Gregg Christman -- Senior Product Manager Vineet Marwah.
Scalable Web Server on Heterogeneous Cluster CHEN Ge.
1 Wenguang WangRichard B. Bunt Department of Computer Science University of Saskatchewan November 14, 2000 Simulating DB2 Buffer Pool Management.
Computer Emergency Notification System (CENS)
A Measurement Based Memory Performance Evaluation of High Throughput Servers Garba Isa Yau Department of Computer Engineering King Fahd University of Petroleum.
Log-structured Memory for DRAM-based Storage Stephen Rumble, John Ousterhout Center for Future Architectures Research Storage3.2: Architectures.
Eduardo Gutarra Velez. Outline Distributed Filesystems Motivation Google Filesystem Architecture The Metadata Consistency Model File Mutation.
Improving Disk Throughput in Data-Intensive Servers Enrique V. Carrera and Ricardo Bianchini Department of Computer Science Rutgers University.
TiBS Fermilab – HEPiX-HEPNT Ray Pasetes October 22, 2003.
MultiJob pilot on Titan. ATLAS workloads on Titan Danila Oleynik (UTA), Sergey Panitkin (BNL) US ATLAS HPC. Technical meeting 18 September 2015.
CS333 Intro to Operating Systems Jonathan Walpole.
1 MSRBot Web Crawler Dennis Fetterly Microsoft Research Silicon Valley Lab © Microsoft Corporation.
File management and Performance. File Systems Architecture device drivers physical I/O (PIOCS) logical I/O (LIOCS) access methods File organization and.
Linux File system Implementations
Threads. Readings r Silberschatz et al : Chapter 4.
An Efficient Threading Model to Boost Server Performance Anupam Chanda.
LAWN Ron Rusnak The University of Chicago Networking Services and Information Technologies.
Transforming Policies into Mechanisms with Infokernel Andrea C. Arpaci-Dusseau, Remzi H. Arpaci-Dusseau, Nathan C. Burnett, Timothy E. Denehy, Thomas J.
1 Evaluation of Cooperative Web Caching with Web Polygraph Ping Du and Jaspal Subhlok Department of Computer Science University of Houston presented at.
Virtual Memory By CS147 Maheshpriya Venkata. Agenda Review Cache Memory Virtual Memory Paging Segmentation Configuration Of Virtual Memory Cache Memory.
Threads by Dr. Amin Danial Asham. References Operating System Concepts ABRAHAM SILBERSCHATZ, PETER BAER GALVIN, and GREG GAGNE.
© SKY Computers, Inc. All Rights Reserved 7/10/2016 Slide 1 Real-Time Linux Andrew Webber Ph.D. and Steve Paavola SKY Computers, Inc.  Objective  Show.
Section 10: Last section! Final review.
Jonathan Walpole Computer Science Portland State University
WEB APPLICATION Diagram Template
CS 6560: Operating Systems Design
A Real Problem What if you wanted to run a program that needs more memory than you have? September 11, 2018.
Chapter 4: Multithreaded Programming
Some Real Problem What if a program needs more memory than the machine has? even if individual programs fit in memory, how can we run multiple programs?
Semester Review Chris Gill CSE 422S - Operating Systems Organization
Local secondary storage (local disks)
Operating Systems : Overview
Lecture 14 Virtual Memory and the Alpha Memory Hierarchy
AFS Server Performance Comparisons
Lecture 7: Introduction to Threads
Xen Network I/O Performance Analysis and Opportunities for Improvement
Preventing Performance Degradation on Operating System Reboots
Addressing Large Read Performance in Ext2fs
Lecture 15 Reading: Bacon 7.6, 7.7
Operating Systems Case Study
CSE451 - Section 10.
Multithreaded Programming
Lecture 7: Introduction to Threads
Ch 9 – Distributed Filesystem
Last section! Project 4 + EC due tomorrow Today: Project 4 questions
CSE451 - Section 10.
Presentation transcript:

OpenAFS Linux Performance Improvements in 1. 5/1 OpenAFS Linux Performance Improvements in 1.5/1.6 Simon Wilkinson Your File System Inc. 20 April 2010

Memcache vs Diskcache Assertion: “On systems (such as Linux) with a file system page cache, it should be possible to improve AFS disk cache performance so it is similar to that of the AFS memory cache implementation”

Disk cache benefits over memory cache Can be larger Makes more efficient use of space Reduces potential for deadlocks Doesn’t tie down kernel memory which hurts overall system performance

Architecture Fileserver afs cache (disk or memory) page cache process

Page Cache Improvements Reduce the number of redundant reads by correctly using the page dirty flag Enable readahead when filling the page cache from disk Remove duplicate writes of pages to disk by telling the kernel what we’re doing Populate the page cache with a background thread, rather than doing it during requests

Minimize data copies Copying data is expensive Minimise the number of copies between the network, the various caches and user space Significant improvements made to write-on-close Other cases an ongoing project

Playing nicely with the other children Keyrings are now authoritative for PAG membership Many more memory management fixes For the first time, it’s possible to write to a mmap()’d file that’s larger than the cache Deadlocks are much harder to provoke in low memory situations

Cache read performance: AFS should match ext3 below 1GB

The long tail Significant real world performance improvements appear in the long tail Web server benchmarks suggest performance improvements of ~500% are obtainable for some readonly workloads.

Contact Info Simon Wilkinson Your File System Inc. sxw@your-file-system.com