source: vendor/current/docs/manpages/vfs_preopen.8

Last change on this file was 989, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.7

File size: 3.0 KB
Line 
1'\" t
2.\" Title: vfs_preopen
3.\" Author: [see the "AUTHOR" section]
4.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
5.\" Date: 10/25/2016
6.\" Manual: System Administration tools
7.\" Source: Samba 4.4
8.\" Language: English
9.\"
10.TH "VFS_PREOPEN" "8" "10/25/2016" "Samba 4\&.4" "System Administration tools"
11.\" -----------------------------------------------------------------
12.\" * Define some portability stuff
13.\" -----------------------------------------------------------------
14.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15.\" http://bugs.debian.org/507673
16.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18.ie \n(.g .ds Aq \(aq
19.el .ds Aq '
20.\" -----------------------------------------------------------------
21.\" * set default formatting
22.\" -----------------------------------------------------------------
23.\" disable hyphenation
24.nh
25.\" disable justification (adjust text to left margin only)
26.ad l
27.\" -----------------------------------------------------------------
28.\" * MAIN CONTENT STARTS HERE *
29.\" -----------------------------------------------------------------
30.SH "NAME"
31vfs_preopen \- Hide read latencies for applications reading numbered files
32.SH "SYNOPSIS"
33.HP \w'\ 'u
34vfs objects = preopen
35.SH "DESCRIPTION"
36.PP
37This VFS module is part of the
38\fBsamba\fR(7)
39suite\&.
40.PP
41This module assists applications that want to read numbered files in sequence with very strict latency requirements\&. One area where this happens in video streaming applications that want to read one file per frame\&.
42.PP
43When you use this module, a number of helper processes is started that speculatively open files and read a number of bytes to prime the file system cache, so that later on when the real application\*(Aqs request comes along, no disk access is necessary\&.
44.PP
45This module is stackable\&.
46.SH "OPTIONS"
47.PP
48preopen:names = /pattern/
49.RS 4
50preopen:names specifies the file name pattern which should trigger the preopen helpers to do their work\&. We assume that the files are numbered incrementally\&. So if your file names are numbered FRAME00000\&.frm FRAME00001\&.frm and so on you would list them as
51preopen:names=/FRAME*\&.frm/
52.RE
53.PP
54preopen:num_bytes = BYTES
55.RS 4
56Specifies the number of bytes the helpers should speculatively read, defaults to 1\&.
57.RE
58.PP
59preopen:helpers = NUM\-PROCS
60.RS 4
61Number of forked helper processes, defaults to 1\&.
62.RE
63.PP
64preopen:queuelen = NUM\-FILES
65.RS 4
66Number of files that should be speculatively opened\&. Defaults to the 10 subsequent files\&.
67.RE
68.SH "VERSION"
69.PP
70This man page is correct for version 3\&.3 of the Samba suite\&.
71.SH "AUTHOR"
72.PP
73The 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\&.
74.PP
75The PREOPEN VFS module was created with contributions from Volker Lendecke and the developers at IBM\&.
Note: See TracBrowser for help on using the repository browser.