Skip to Content
Sun Performance and Tuning: Java™ and the Internet, Second Edition
book

Sun Performance and Tuning: Java™ and the Internet, Second Edition

by Adrian Cockcroft, Richard Pettit
April 1998
Intermediate to advanced content levelIntermediate to advanced
624 pages
16h 11m
English
Pearson
Content preview from Sun Performance and Tuning: Java™ and the Internet, Second Edition

File Access Caching with Local Disk

Accessing a file on disk or over a network is hundreds of times slower than reading a cached copy from memory. Many types of cache exist to speed up file accesses. Changing your workload to make it more “cache friendly” can result in very significant performance benefits.

We’ll start by looking at the simplest configuration, the open, fstat, read, write, and mmap operations on a local disk with the default UFS file system, as shown in Figure 12-2.

Figure 12-2. File Access Caches for Local Disk Access

There are a lot of interrelated caches. They are systemwide caches, shared by all users and all processes. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Panic! UNIX® System Crash Dump Analysis

Panic! UNIX® System Crash Dump Analysis

Chris Drake, Kimberley Brown

Publisher Resources

ISBN: 0130952494Purchase book