180 likes | 287 Views
CS Honors Research: Memory Mapped files in Linux Results. Kousha Najafi Prof: Eddie Kohler Grad Student: Steve VanDeBogart 6.6.08. Research Topic. Explore Linux memory-mapped-file system call performance. Find and classify inconsistencies when compared to read system call.
E N D
CS Honors Research:Memory Mapped files in LinuxResults Kousha Najafi Prof: Eddie Kohler Grad Student: Steve VanDeBogart 6.6.08
Research Topic • Explore Linux memory-mapped-file system call performance. • Find and classify inconsistencies when compared to read system call
mmap vs read (Forwards old) Reading 256MB file on system with 128MB memory
mmap vs read (Forwards) Reading 256MB file on system with 128MB memory
mmap vs read (Backwards old) Reading 256MB file on system with 128MB memory
mmap vs read (Backwards) Reading 256MB file on system with 128MB memory
Progress • Figure out what causes the inconsistencies • Inconsistencies in timing fixed by slowing down algorithm. • Figure out what causes the slowdown • Slowdown caused by pauses in io • Slowdown and inconsistencies are related
Methods of attack • Jump in and investigate source • Used small test programs to show ideas • Good progress in beginning • Reached a brick wall • Expanded test suit to cover more cases • Strengthened code to include more cases
Methods of attack (Continued) • Started to simulate algorithm • Started with block traces • Block traces looked very similar • The real problem showed itself…
Conclusions • Inconsistencies and slowdowns appear to be due to io disk scheduler • More tests need to be done with various modifications kernels to further isolate problem