source: vendor/3.5.0/docs/manpages/vfs_cacheprime.8

Last change on this file was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 2.9 KB
Line 
1'\" t
2.\" Title: vfs_cacheprime
3.\" Author: [see the "AUTHOR" section]
4.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5.\" Date: 02/19/2010
6.\" Manual: System Administration tools
7.\" Source: Samba 3.5
8.\" Language: English
9.\"
10.TH "VFS_CACHEPRIME" "8" "02/19/2010" "Samba 3\&.5" "System Administration tools"
11.\" -----------------------------------------------------------------
12.\" * set default formatting
13.\" -----------------------------------------------------------------
14.\" disable hyphenation
15.nh
16.\" disable justification (adjust text to left margin only)
17.ad l
18.\" -----------------------------------------------------------------
19.\" * MAIN CONTENT STARTS HERE *
20.\" -----------------------------------------------------------------
21.SH "NAME"
22vfs_cacheprime \- prime the kernel file data cache
23.SH "SYNOPSIS"
24.HP \w'\ 'u
25vfs objects = cacheprime
26.SH "DESCRIPTION"
27.PP
28This VFS module is part of the
29\fBsamba\fR(7)
30suite\&.
31.PP
32The
33vfs_cacheprime
34VFS 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\&.
35.PP
36The size of the disk read operations performed by
37vfs_cacheprime
38is 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.PP
40This module is stackable\&.
41.SH "OPTIONS"
42.PP
43cacheprime:rsize = BYTES
44.RS 4
45The number of bytes with which to prime the kernel data cache\&.
46.sp
47The following suffixes may be applied to BYTES:
48.sp
49.RS 4
50.ie n \{\
51\h'-04'\(bu\h'+03'\c
52.\}
53.el \{\
54.sp -1
55.IP \(bu 2.3
56.\}
57K
58\- BYTES is a number of kilobytes
59.RE
60.sp
61.RS 4
62.ie n \{\
63\h'-04'\(bu\h'+03'\c
64.\}
65.el \{\
66.sp -1
67.IP \(bu 2.3
68.\}
69M
70\- BYTES is a number of megabytes
71.RE
72.sp
73.RS 4
74.ie n \{\
75\h'-04'\(bu\h'+03'\c
76.\}
77.el \{\
78.sp -1
79.IP \(bu 2.3
80.\}
81G
82\- BYTES is a number of gigabytes
83.sp
84.RE
85.RE
86.SH "EXAMPLES"
87.PP
88For 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:
89.sp
90.if n \{\
91.RS 4
92.\}
93.nf
94 \fI[hypothetical]\fR
95 \m[blue]\fBvfs objects = cacheprime\fR\m[]
96 \m[blue]\fBcacheprime:rsize = 1M\fR\m[]
97.fi
98.if n \{\
99.RE
100.\}
101.SH "CAVEATS"
102.PP
103cacheprime
104is 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)\&.
105.SH "VERSION"
106.PP
107This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
108.SH "AUTHOR"
109.PP
110The 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.