Whamcloud - gitweb
LUDOC-7 cleanups to Lustre limits table
[doc/manual.git] / UnderstandingLustre.xml
1 <?xml version='1.0' encoding='UTF-8'?>
2 <!-- This document was created with Syntext Serna Free. --><chapter xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:lang="en-US" xml:id="understandinglustre">
3   <title xml:id="understandinglustre.title">Understanding Lustre</title>
4   <info/>
5   <para>This chapter describes the Lustre architecture and features of Lustre. It includes the following sections:</para>
6   <itemizedlist>
7     <listitem>
8       <para>
9               <xref linkend="understandinglustre.whatislustre"/>
10           </para>
11     </listitem>
12     <listitem>
13       <para>
14               <xref linkend="understandinglustre.components"/>
15           </para>
16     </listitem>
17     <listitem>
18       <para>
19               <xref linkend="understandinglustre.storageio"/>
20           </para>
21     </listitem>
22   </itemizedlist>
23   <section xml:id="understandinglustre.whatislustre">
24     <title><indexterm><primary>Lustre</primary></indexterm>What Lustre Is (and What It Isn&apos;t)</title>
25     <para>Lustre is a storage architecture for clusters. The central component of the Lustre architecture is the Lustre file system, which is supported on the Linux operating system and provides a POSIX-compliant UNIX file system interface.</para>
26     <para>The Lustre storage architecture is used for many different kinds of clusters. It is best known for powering seven of the ten largest high-performance computing (HPC) clusters worldwide, with tens of thousands of client systems, petabytes (PB) of storage and hundreds of gigabytes per second (GB/sec) of I/O throughput. Many HPC sites use Lustre as a site-wide global file system, serving dozens of clusters.</para>
27     <para>The ability of a Lustre file system to scale capacity and performance for any need reduces the need to deploy many separate file systems, such as one for each compute cluster. Storage management is simplified by avoiding the need to copy data between compute clusters. In addition to aggregating storage capacity of many servers, the I/O throughput is also aggregated and scales with additional servers. Moreover, throughput and/or capacity can be easily increased by adding servers dynamically.</para>
28     <para>While Lustre can function in many work environments, it is not necessarily the best choice for all applications. It is best suited for uses that exceed the capacity that a single server can provide, though in some use cases Lustre can perform better with a single server than other filesystems due to its strong locking and data coherency.</para>
29     <para>Lustre is currently not particularly well suited for &quot;peer-to-peer&quot; usage models where there are clients and servers running on the same node, each sharing a small amount of storage, due to the lack of Lustre-level data replication. In such uses, if one client/server fails, then the data stored on that node will not be accessible until the node is restarted.</para>
30     <section remap="h3">
31       <title><indexterm><primary>Lustre</primary><secondary>features</secondary></indexterm>Lustre Features</title>
32       <para>Lustre runs on a variety of vendor&apos;s kernels. For more details, see <link xl:href="http://wiki.whamcloud.com/">Lustre Release Information</link> on the Whamcloud wiki.</para>
33       <para>A Lustre installation can be scaled up or down with respect to the number of client nodes, disk storage and bandwidth. Scalability and performance are dependent on available disk and network bandwith and the processing power of the servers in the system. Lustre can be deployed in a wide variety of configurations that can be scaled well beyond the size and performance observed in production systems to date.</para>
34       <para><xref linkend="understandinglustre.tab1"/> shows the practical range of scalability and performance characteristics of the Lustre file system and some test results in production systems.</para>
35       <table frame="all">
36         <title xml:id="understandinglustre.tab1">Lustre Scalability and Performance</title>
37         <tgroup cols="3">
38           <colspec colname="c1" colwidth="1*"/>
39           <colspec colname="c2" colwidth="2*"/>
40           <colspec colname="c3" colwidth="3*"/>
41           <thead>
42             <row>
43               <entry>
44                 <para><emphasis role="bold">Feature</emphasis></para>
45               </entry>
46               <entry>
47                 <para><emphasis role="bold">Current Practical Range</emphasis></para>
48               </entry>
49               <entry>
50                 <para><emphasis role="bold">Tested in Production</emphasis></para>
51               </entry>
52             </row>
53           </thead>
54           <tbody>
55             <row>
56               <entry>
57                 <para> <emphasis role="bold">Client Scalability</emphasis></para>
58               </entry>
59               <entry>
60                 <para> 100-100,000</para>
61               </entry>
62               <entry>
63                 <para> 50,000+ clients</para>
64                 <para>Many installations in 10,000 to 20,000 range</para>
65               </entry>
66             </row>
67             <row>
68               <entry>
69                 <para>Client Performance</para>
70               </entry>
71               <entry>
72                 <para> <emphasis>Single client: </emphasis></para>
73                 <para>I/O 90% of network bandwidth</para>
74                 <para><emphasis>Aggregate:</emphasis></para>
75                 <para>2.5 TB/sec I/O</para>
76               </entry>
77               <entry>
78                 <para> <emphasis>Single client: </emphasis></para>
79                 <para>2 GB/sec I/O, 1000 metadata ops/sec</para>
80                 <para><emphasis>Aggregate:</emphasis></para>
81                 <para>240 GB/sec I/O </para>
82               </entry>
83             </row>
84             <row>
85               <entry>
86                 <para> <emphasis role="bold">OSS Scalability</emphasis></para>
87               </entry>
88               <entry>
89                 <para> <emphasis>Single OSS:</emphasis></para>
90                 <para>1-8 OSTs per OSS, 128TB per OST</para>
91                 <para> <emphasis>OSS count:</emphasis></para>
92                 <para>500 OSSes, with up to 4000 OSTs, </para>
93               </entry>
94               <entry>
95                 <para> <emphasis>Single OSS:</emphasis></para>
96                 <para>8 OSTs per OSS, 16TB per OST</para>
97                 <para> <emphasis>OSS count:</emphasis></para>
98                 <para>450 OSSs with 1000 4TB OSTs</para>
99                 <para>192 OSSs with 1344 8TB OSTs</para>
100               </entry>
101             </row>
102             <row>
103               <entry>
104                 <para> <emphasis role="bold">OSS Performance</emphasis></para>
105               </entry>
106               <entry>
107                 <para> <emphasis>Single OSS:</emphasis></para>
108                 <para> 5 GB/sec</para>
109                 <para> <emphasis>Aggregate:</emphasis></para>
110                 <para> 2.5 TB/sec</para>
111               </entry>
112               <entry>
113                 <para> <emphasis>Single OSS:</emphasis></para>
114                 <para> 2.0+ GB/sec</para>
115                 <para> <emphasis>Aggregate:</emphasis></para>
116                 <para> 240 GB/sec</para>
117               </entry>
118             </row>
119             <row>
120               <entry>
121                 <para> <emphasis role="bold">MDS Scalability</emphasis></para>
122               </entry>
123               <entry>
124                 <para> <emphasis>Single MDS:</emphasis></para>
125                 <para> 4 billion files</para>
126                 <para> <emphasis>MDS count:</emphasis></para>
127                 <para> 1 + 1 (primary with one backup)</para>
128               </entry>
129               <entry>
130                 <para> <emphasis>Single MDS:</emphasis></para>
131                 <para> 750 million files</para>
132                 <para> <emphasis>MDS count:</emphasis></para>
133                 <para> 1 + 1 (primary with one backup)</para>
134               </entry>
135             </row>
136             <row>
137               <entry>
138                 <para> <emphasis role="bold">MDS Performance</emphasis></para>
139               </entry>
140               <entry>
141                 <para> 35000/s create, 100000/s stat metadata operations</para>
142               </entry>
143               <entry>
144                 <para> 15000/s create, 35000/s stat metadata operations</para>
145               </entry>
146             </row>
147             <row>
148               <entry>
149                 <para> <emphasis role="bold">Filesystem Scalability</emphasis></para>
150               </entry>
151               <entry>
152                 <para> <emphasis>Single File:</emphasis></para>
153                 <para>320 TB max file size</para>
154                 <para> <emphasis>Aggregate:</emphasis></para>
155                 <para>64 PB space, 4 billion files</para>
156               </entry>
157               <entry>
158                 <para> <emphasis>Single File:</emphasis></para>
159                 <para>multi-TB max file size</para>
160                 <para> <emphasis>Aggregate:</emphasis></para>
161                 <para>10 PB space, 750 million files</para>
162               </entry>
163             </row>
164           </tbody>
165         </tgroup>
166       </table>
167       <para>Other Lustre features are:</para>
168       <itemizedlist>
169         <listitem>
170           <para><emphasis role="bold">Performance-enhanced ext4 file system:</emphasis>  Lustre uses an improved version of the ext4 journaling file system to store data and metadata. This version, called <emphasis role="italic">
171               <literal>ldiskfs</literal>
172             </emphasis>, has been enhanced to improve performance and provide additional functionality needed by Lustre.</para>
173         </listitem>
174         <listitem>
175           <para><emphasis role="bold">POSIX compliance</emphasis> : The full POSIX test suite passes in an identical manner to a local ext4 filesystem, with limited exceptions on Lustre clients. In a cluster, most operations are atomic so that clients never see stale data or metadata. Lustre supports mmap() file I/O.</para>
176         </listitem>
177         <listitem>
178           <para><emphasis role="bold">High-performance heterogeneous networking:</emphasis>  Lustre supports a variety of high performance, low latency networks and permits Remote Direct Memory Access (RDMA) for Infiniband (OFED) and other advanced networks for fast and efficient network transport. Multiple RDMA networks can be bridged using Lustre routing for maximum performance. Lustre also provides integrated network diagnostics.</para>
179         </listitem>
180         <listitem>
181           <para><emphasis role="bold">High-availability:</emphasis>  Lustre offers active/active failover using shared storage partitions for OSS targets (OSTs) and active/passive failover using a shared storage partition for the MDS target (MDT). This allows application transparent recovery. Lustre can work with a variety of high availability (HA) managers to allow automated failover and has no single point of failure (NSPF). Multiple mount protection (MMP) provides integrated protection from errors in highly-available systems that would otherwise cause file system corruption.</para>
182         </listitem>
183         <listitem>
184           <para><emphasis role="bold">Security:</emphasis>  By default TCP connections are only allowed from privileged ports. Unix group membership is verified is done on the MDS.</para>
185         </listitem>
186         <listitem>
187           <para><emphasis role="bold">Access control list (ACL), exended attributes:</emphasis>  the Lustre security model follows that of a UNIX file system, enhanced with POSIX ACLs. Noteworthy additional features include root squash.</para>
188         </listitem>
189         <listitem>
190           <para><emphasis role="bold">Interoperability:</emphasis>  Lustre runs on a variety of CPU architectures and mixed-endian clusters and is interoperable between successive major Lustre software releases.</para>
191         </listitem>
192         <listitem>
193           <para><emphasis role="bold">Object-based architecture:</emphasis>  Clients are isolated from the on-disk file structure enabling upgrading of the storage architecture without affecting the client.</para>
194         </listitem>
195         <listitem>
196           <para><emphasis role="bold">Byte-granular file and fine-grained metadata locking:</emphasis>  Many clients can read and modify the same file or directory concurrently. The Lustre distributed lock manager (LDLM) ensures that files are coherent between all clients and servers in the filesystem.  The MDT DLM manages locks on inode permissions and pathnames.   Each OST has its own DLM for locks on file stripes stored theron, which scales the locking performance as the filesystem grows.</para>
197         </listitem>
198         <listitem>
199           <para><emphasis role="bold">Quotas:</emphasis> User and group quotas are available for Lustre.</para>
200         </listitem>
201         <listitem>
202           <para><emphasis role="bold">Capacity growth:</emphasis>  The size of a Lustre file system and aggregate cluster bandwidth can be increased without interruption by adding a new OSS with OSTs to the cluster.</para>
203         </listitem>
204         <listitem>
205           <para><emphasis role="bold">Controlled striping:</emphasis> The layout of files across OSTs can be configured on a per file, per directory, or per file system basis. This allows file I/O to be tuned to specific application requirements within a single filesystem. Lustre uses RAID-0 striping and balances space usage across OSTs.</para>
206         </listitem>
207         <listitem>
208           <para><emphasis role="bold">Network data integrity protection:</emphasis>  A checksum of all data sent from the client to the OSS protects against corruption during data transfer.</para>
209         </listitem>
210         <listitem>
211           <para><emphasis role="bold">MPI I/O:</emphasis>  Lustre has a dedicated MPI ADIO layer that optimizes parallel I/O to match the underlying file system architecture.</para>
212         </listitem>
213         <listitem>
214           <para><emphasis role="bold">NFS and CIFS export:</emphasis>  Lustre files can be re-exported using NFS or CIFS (via Samba) enabling them to be shared with non-Linux clients.</para>
215         </listitem>
216         <listitem>
217           <para><emphasis role="bold">Disaster recovery tool:</emphasis>  Lustre provides a distributed file system check (lfsck) that can restore consistency between storage components in case of a major file system error. Lustre can operate even in the presence of file system inconsistencies, so lfsck is not required before returning the file system to production.</para>
218         </listitem>
219         <listitem>
220           <para><emphasis role="bold">Performance monitoring:</emphasis>  Lustre offers a variety of mechanisms to examine performance and tuning.</para>
221         </listitem>
222         <listitem>
223           <para><emphasis role="bold">Open source:</emphasis>  Lustre is licensed under the GPL 2.0 license for use with Linux.</para>
224         </listitem>
225       </itemizedlist>
226     </section>
227   </section>
228   <section xml:id="understandinglustre.components">
229     <title><indexterm><primary>Lustre</primary><secondary>components</secondary></indexterm>Lustre Components</title>
230     <para>An installation of the Lustre software includes a management server (MGS) and one or more Lustre file systems interconnected with Lustre networking (LNET).</para>
231     <para>A basic configuration of Lustre components is shown in <xref linkend="understandinglustre.fig.cluster"/>.</para>
232     <figure>
233       <title xml:id="understandinglustre.fig.cluster">Lustre components in a basic cluster </title>
234       <mediaobject>
235         <imageobject>
236           <imagedata scalefit="1" width="100%" fileref="./figures/Basic_Cluster.png"/>
237         </imageobject>
238         <textobject>
239           <phrase> Lustre components in a basic cluster </phrase>
240         </textobject>
241       </mediaobject>
242     </figure>
243     <section remap="h3">
244       <title><indexterm><primary>Lustre</primary><secondary>MGS</secondary></indexterm>Management Server (MGS)</title>
245       <para>The MGS stores configuration information for all the Lustre file systems in a cluster and provides this information to other Lustre components. Each Lustre target contacts the MGS to provide information, and Lustre clients contact the MGS to retrieve information.</para>
246       <para>It is preferable that the MGS have its own storage space so that it can be managed independently. However, the MGS can be co-located and share storage space with an MDS as shown in <xref linkend="understandinglustre.fig.cluster"/>.</para>
247     </section>
248     <section remap="h3">
249       <title>Lustre File System Components</title>
250       <para>Each Lustre file system consists of the following components:</para>
251       <itemizedlist>
252         <listitem>
253           <para><emphasis role="bold">Metadata Server (MDS)</emphasis>  - The MDS makes metadata stored in one or more MDTs available to Lustre clients. Each MDS manages the names and directories in the Lustre file system(s) and provides network request handling for one or more local MDTs.</para>
254         </listitem>
255         <listitem>
256           <para><emphasis role="bold">Metadata Target (MDT</emphasis> ) - The MDT stores metadata (such as filenames, directories, permissions and file layout) on storage attached to an MDS. Each file system has one MDT. An MDT on a shared storage target can be available to multiple MDSs, although only one can access it at a time. If an active MDS fails, a standby MDS can serve the MDT and make it available to clients. This is referred to as MDS failover.</para>
257         </listitem>
258         <listitem>
259           <para><emphasis role="bold">Object Storage Servers (OSS)</emphasis> : The OSS provides file I/O service, and network request handling for one or more local OSTs. Typically, an OSS serves between 2 and 8 OSTs, up to 16 TB each. A typical configuration is an MDT on a dedicated node, two or more OSTs on each OSS node, and a client on each of a large number of compute nodes.</para>
260         </listitem>
261         <listitem>
262           <para><emphasis role="bold">Object Storage Target (OST)</emphasis> : User file data is stored in one or more objects, each object on a separate OST in a Lustre file system. The number of objects per file is configurable by the user and can be tuned to optimize performance for a given workload.</para>
263         </listitem>
264         <listitem>
265           <para><emphasis role="bold">Lustre clients</emphasis> : Lustre clients are computational, visualization or desktop nodes that are running Lustre client software, allowing them to mount the Lustre file system.</para>
266         </listitem>
267       </itemizedlist>
268       <para>The Lustre client software provides an interface between the Linux virtual file system and the Lustre servers. The client software includes a Management Client (MGC), a Metadata Client (MDC), and multiple Object Storage Clients (OSCs), one corresponding to each OST in the file system.</para>
269       <para>A logical object volume (LOV) aggregates the OSCs to provide transparent access across all the OSTs. Thus, a client with the Lustre file system mounted sees a single, coherent, synchronized namespace. Several clients can write to different parts of the same file simultaneously, while, at the same time, other clients can read from the file.</para>
270       <para><xref linkend="understandinglustre.tab.storagerequire"/> provides the requirements for attached storage for each Lustre file system component and describes desirable characterics of the hardware used.</para>
271       <table frame="all">
272         <title xml:id="understandinglustre.tab.storagerequire"><indexterm><primary>Lustre</primary><secondary>requirements</secondary></indexterm>Storage and hardware requirements for Lustre components</title>
273         <tgroup cols="3">
274           <colspec colname="c1" colwidth="1*"/>
275           <colspec colname="c2" colwidth="3*"/>
276           <colspec colname="c3" colwidth="3*"/>
277           <thead>
278             <row>
279               <entry>
280                 <para><emphasis role="bold"/></para>
281               </entry>
282               <entry>
283                 <para><emphasis role="bold">Required attached storage</emphasis></para>
284               </entry>
285               <entry>
286                 <para><emphasis role="bold">Desirable hardware characteristics</emphasis></para>
287               </entry>
288             </row>
289           </thead>
290           <tbody>
291             <row>
292               <entry>
293                 <para> <emphasis role="bold">MDSs</emphasis></para>
294               </entry>
295               <entry>
296                 <para> 1-2% of file system capacity</para>
297               </entry>
298               <entry>
299                 <para> Adequate CPU power, plenty of memory, fast disk storage.</para>
300               </entry>
301             </row>
302             <row>
303               <entry>
304                 <para> <emphasis role="bold">OSSs</emphasis></para>
305               </entry>
306               <entry>
307                 <para> 1-16 TB per OST, 1-8 OSTs per OSS</para>
308               </entry>
309               <entry>
310                 <para> Good bus bandwidth. Recommended that storage be balanced evenly across OSSs.</para>
311               </entry>
312             </row>
313             <row>
314               <entry>
315                 <para> <emphasis role="bold">Clients</emphasis></para>
316               </entry>
317               <entry>
318                 <para> None</para>
319               </entry>
320               <entry>
321                 <para> Low latency, high bandwith network.</para>
322               </entry>
323             </row>
324           </tbody>
325         </tgroup>
326       </table>
327       <para>For additional hardware requirements and considerations, see <xref linkend="settinguplustresystem"/>.</para>
328     </section>
329     <section remap="h3">
330       <title><indexterm><primary>Lustre</primary><secondary>LNET</secondary></indexterm>Lustre Networking (LNET)</title>
331       <para>Lustre Networking (LNET) is a custom networking API that provides the communication infrastructure that handles metadata and file I/O data for the Lustre file system servers and clients. For more information about LNET, see something <xref linkend="understandinglustrenetworking"/>.</para>
332     </section>
333     <section remap="h3">
334       <title><indexterm><primary>Lustre</primary><secondary>cluster</secondary></indexterm>Lustre Cluster</title>
335       <para>At scale, the Lustre cluster can include hundreds of OSSs and thousands of clients (see <xref linkend="understandinglustre.fig.lustrescale"/>). More than one type of network can be used in a Lustre cluster. Shared storage between OSSs enables failover capability. For more details about OSS failover, see <xref linkend="understandingfailover"/>.</para>
336       <figure>
337         <title xml:id="understandinglustre.fig.lustrescale"><indexterm><primary>Lustre</primary><secondary>at scale</secondary></indexterm>Lustre cluster at scale</title>
338         <mediaobject>
339           <imageobject>
340             <imagedata scalefit="1" width="100%" fileref="./figures/Scaled_Cluster.png"/>
341           </imageobject>
342           <textobject>
343             <phrase> Lustre clustre at scale </phrase>
344           </textobject>
345         </mediaobject>
346       </figure>
347     </section>
348   </section>
349   <section xml:id="understandinglustre.storageio">
350       <title><indexterm><primary>Lustre</primary><secondary>storage</secondary></indexterm>
351           <indexterm><primary>Lustre</primary><secondary>I/O</secondary></indexterm>
352           Lustre Storage and I/O</title>
353     <para>In a Lustre file system, a file stored on the MDT points to one or more objects associated with a data file, as shown in <xref linkend="understandinglustre.fig.mdtost"/>. Each object contains data and is stored on an OST. If the MDT file points to one object, all the file data is stored in that object. If the file points to more than one object, the file data is &apos;striped&apos; across the objects (using RAID 0) and each object is stored on a different OST. (For more information about how striping is implemented in Lustre, see <xref linkend="dbdoclet.50438250_89922"/>)</para>
354     <para>In <xref linkend="understandinglustre.fig.mdtost"/>, each filename points to an inode. The inode contains all of the file attributes, such as owner, access permissions, Lustre striping layout, access time, and access control. Multiple filenames may point to the same inode.</para>
355     <figure>
356       <title xml:id="understandinglustre.fig.mdtost">MDT file points to objects on OSTs containing file data</title>
357       <mediaobject>
358         <imageobject>
359           <imagedata scalefit="1" width="100%" fileref="./figures/Metadata_File.png"/>
360         </imageobject>
361         <textobject>
362           <phrase> MDT file points to objects on OSTs containing file data </phrase>
363         </textobject>
364       </mediaobject>
365     </figure>
366     <para>When a client opens a file, the <literal>fileopen</literal> operation transfers the file layout from the MDS to the client. The client then uses this information to perform I/O on the file, directly interacting with the OSS nodes where the objects are stored. This process is illustrated in <xref linkend="understandinglustre.fig.fileio"/>.</para>
367     <figure>
368       <title xml:id="understandinglustre.fig.fileio">File open and file I/O in Lustre</title>
369       <mediaobject>
370         <imageobject>
371           <imagedata scalefit="1" width="100%" fileref="./figures/File_Write.png"/>
372         </imageobject>
373         <textobject>
374           <phrase> File open and file I/O in Lustre </phrase>
375         </textobject>
376       </mediaobject>
377     </figure>
378     <para>Each file on the MDT contains the layout of the associated data file, including the OST number and object identifier. Clients request the file layout from the MDS and then perform file I/O operations by communicating directly with the OSSs that manage that file data.</para>
379     <para>The available bandwidth of a Lustre file system is determined as follows:</para>
380     <itemizedlist>
381       <listitem>
382         <para>The <emphasis>network bandwidth</emphasis> equals the aggregated bandwidth of the OSSs to the targets.</para>
383       </listitem>
384       <listitem>
385         <para>The <emphasis>disk bandwidth</emphasis> equals the sum of the disk bandwidths of the storage targets (OSTs) up to the limit of the network bandwidth.</para>
386       </listitem>
387       <listitem>
388         <para>The <emphasis>aggregate bandwidth</emphasis> equals the minimium of the disk bandwidth and the network bandwidth.</para>
389       </listitem>
390       <listitem>
391         <para>The <emphasis>available file system space</emphasis> equals the sum of the available space of all the OSTs.</para>
392       </listitem>
393     </itemizedlist>
394     <section xml:id="dbdoclet.50438250_89922">
395         <title>
396             <indexterm><primary>Lustre</primary><secondary>striping</secondary></indexterm>
397             <indexterm><primary>striping</primary><secondary>overview</secondary></indexterm>
398             Lustre File System and Striping</title>
399       <para>One of the main factors leading to the high performance of Lustre file systems is the ability to stripe data across multiple OSTs in a round-robin fashion. Users can optionally configure for each file the number of stripes, stripe size, and OSTs that are used.</para>
400       <para>Striping can be used to improve performance when the aggregate bandwidth to a single file exeeds the bandwidth of a single OST. The ability to stripe is also useful when a single OST does not have anough free space to hold an entire file. For more information about benefits and drawbacks of file striping, see <xref linkend="dbdoclet.50438209_48033"/>.</para>
401       <para>Striping allows segments or &apos;chunks&apos; of data in a file to be stored on different OSTs, as shown in <xref linkend="understandinglustre.fig.filestripe"/>. In the Lustre file system, a RAID 0 pattern is used in which data is &quot;striped&quot; across a certain number of objects. The number of objects in a single file is called the <literal>stripe_count</literal>.</para>
402       <para>Each object contains a chunk of data from the file. When the chunk of data being written to a particular object exceeds the <literal>stripe_size</literal>, the next chunk of data in the file is stored on the next object.</para>
403       <para>Default values for <literal>stripe_count</literal> and <literal>stripe_size</literal> are set for the file system. The default value for <literal>stripe_count</literal> is 1 stripe for file and the default value for <literal>stripe_size</literal> is 1MB. The user may change these values on a per directory or per file basis. For more details, see <xref linkend="dbdoclet.50438209_78664"/>.</para>
404       <para><xref linkend="understandinglustre.fig.filestripe"/>, the <literal>stripe_size</literal> for File C is larger than the <literal>stripe_size</literal> for File A, allowing more data to be stored in a single stripe for File C. The <literal>stripe_count</literal> for File A is 3, resulting in data striped across three objects, while the <literal>stripe_count</literal> for File B and File C is 1.</para>
405       <para>No space is reserved on the OST for unwritten data. File A in <xref linkend="understandinglustre.fig.filestripe"/>.</para>
406       <figure>
407         <title xml:id="understandinglustre.fig.filestripe">File striping on Lustre</title>
408         <mediaobject>
409           <imageobject>
410             <imagedata scalefit="1" width="100%" fileref="./figures/File_Striping.png"/>
411           </imageobject>
412           <textobject>
413             <phrase>File striping pattern across three OSTs for three different data files. The file is sparse and missing chunk 6. </phrase>
414           </textobject>
415         </mediaobject>
416       </figure>
417       <para>The maximum file size is not limited by the size of a single target. Lustre can stripe files across multiple objects (up to 160), and each object can be up to 2 TB in size. This leads to a maximum file size of 320 TB. (Note that Lustre itself can support files up to 2^64 bytes depending on the backing storage used by OSTs.)</para>
418       <para>Athough a single file can only be striped over 160 objects, Lustre file systems can have thousands of OSTs. The I/O bandwidth to access a single file is the aggregated I/O bandwidth to the objects in a file, which can be as much as a bandwidth of up to 160 servers. On systems with more than 160 OSTs, clients can do I/O using multiple files to utilize the full file system bandwidth.</para>
419       <para>For more information about striping, see <xref linkend="managingstripingfreespace"/>.</para>
420     </section>
421   </section>
422 </chapter>