source: branches/samba-3.0/docs/manpages/vfs_cacheprime.8@ 135

Last change on this file since 135 was 135, checked in by Paul Smedley, 18 years ago

Update source to 3.0.30

File size: 2.5 KB
RevLine 
[134]1.\" Title: vfs_cacheprime
2.\" Author:
3.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
[135]4.\" Date: 05/28/2008
[134]5.\" Manual: System Administration tools
6.\" Source: Samba 3.0
7.\"
[135]8.TH "VFS_CACHEPRIME" "8" "05/28/2008" "Samba 3\.0" "System Administration tools"
[134]9.\" disable hyphenation
10.nh
11.\" disable justification (adjust text to left margin only)
12.ad l
[39]13.SH "NAME"
14vfs_cacheprime - prime the kernel file data cache
15.SH "SYNOPSIS"
[44]16.HP 1
17vfs objects = cacheprime
[39]18.SH "DESCRIPTION"
19.PP
20This VFS module is part of the
21\fBsamba\fR(7)
[134]22suite\.
[39]23.PP
24The
[44]25vfs_cacheprime
[134]26VFS module reads chunks of file data near the range requested by clients in order to make sure the data is present in the kernel file data cache at the time when it is actually requested by clients\.
[39]27.PP
28The size of the disk read operations performed by
[44]29vfs_cacheprime
[134]30is determined by the cacheprime:rsize option\. All disk read operations are aligned on boundaries that are a multiple of this size\. Each range of the file data is primed at most once during the time the client has the file open\.
[39]31.PP
[134]32This module is stackable\.
[39]33.SH "OPTIONS"
34.PP
35cacheprime:rsize = BYTES
[134]36.RS 4
37The number of bytes with which to prime the kernel data cache\.
[39]38.sp
39The following suffixes may be applied to BYTES:
[134]40.sp
41.RS 4
42.ie n \{\
43\h'-04'\(bu\h'+03'\c
44.\}
45.el \{\
46.sp -1
47.IP \(bu 2.3
48.\}
[44]49K
[134]50\- BYTES is a number of kilobytes
51.RE
52.sp
53.RS 4
54.ie n \{\
55\h'-04'\(bu\h'+03'\c
56.\}
57.el \{\
58.sp -1
59.IP \(bu 2.3
60.\}
[44]61M
[134]62\- BYTES is a number of megabytes
63.RE
64.sp
65.RS 4
66.ie n \{\
67\h'-04'\(bu\h'+03'\c
68.\}
69.el \{\
70.sp -1
71.IP \(bu 2.3
72.\}
[44]73G
[134]74\- BYTES is a number of gigabytes
75.sp
[39]76.RE
77.RE
78.SH "EXAMPLES"
79.PP
80For a hypothetical disk array, it is necessary to ensure that all read operations are of size 1 megabyte (1048576 bytes), and aligned on 1 megabyte boundaries:
[134]81.sp
82.RS 4
[39]83.nf
84 \fI[hypothetical]\fR
[134]85 \fIvfs objects = cacheprime\fR
86 \fIcacheprime:rsize = 1M\fR
[39]87.fi
[134]88.RE
[39]89.SH "CAVEATS"
90.PP
[44]91cacheprime
[134]92is not a a substitute for a general\-purpose readahead mechanism\. It is intended for use only in very specific environments where disk operations must be aligned and sized to known values (as much as that is possible)\.
[39]93.SH "VERSION"
94.PP
[134]95This man page is correct for version 3\.0\.25 of the Samba suite\.
[39]96.SH "AUTHOR"
97.PP
[134]98The original Samba software and related utilities were created by Andrew Tridgell\. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\.
Note: See TracBrowser for help on using the repository browser.