1 / 9

CS Honors Research: Memory Mapped files in Linux Checkpoint 1

This research explores the performance of memory-mapped file system calls in Linux compared to read system calls. It investigates slowdowns and inconsistencies when reading large files on systems with limited memory and proposes theories to fix the problems. The study identifies the causes of slowdowns as the read-ahead mechanism used by memory-mapped files and timing inconsistencies due to race conditions. The goal is to develop a patch to improve the performance of memory-mapped file system calls.

bsoule
Télécharger la présentation

CS Honors Research: Memory Mapped files in Linux Checkpoint 1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS Honors Research:Memory Mapped files in LinuxCheckpoint 1 Kousha Najafi Prof: Eddie Kohler Grad Student: Steve VanDeBogart 12.7.07

  2. Research Topic • Explore Linux memory-mapped-file system call performance. • Find and Resolve inconstancies when compared to read system call

  3. mmap vs read (Forwards old) Reading 256MB file on system with 128MB memory

  4. mmap vs read (Forwards) Reading 256MB file on system with 128MB memory

  5. mmap vs read (Backwards old) Reading 256MB file on system with 128MB memory

  6. mmap vs read (Backwards) Reading 256MB file on system with 128MB memory

  7. Previous Checkpoints • Figure out what causes the slowdown • Figure out what causes the inconsistencies • Come up with theory to fix problem • Try to code a patch to fix problem

  8. Checkpoint Progress • Figure out what causes the slowdown • Slowdown is probably due to the read-ahead mechanism used by mmap. • Figure out what causes the inconsistencies • Seems to be caused by a random race condition involved with calling the read-ahead functions.

  9. Checkpoints Revisions • Figure out read-ahead slowdown • Figure out race condition that causes timing inconsistencies • Come up with theory to fix problem

More Related