[lustre-discuss] How does one process write to multiple OSTs
paf at cray.com
Thu Jul 2 05:05:25 PDT 2015
"If the stripe index of the directory is set to -1, then the files are distributed round-robin to the OSTs."
Just to be clear, this is the default behavior.
Lfs setstripe can be used to change this, though there are a number of details to its usage.
From: lustre-discuss [lustre-discuss-bounces at lists.lustre.org] on behalf of Oliver Mangold [Oliver.Mangold at EMEA.NEC.COM]
Sent: Thursday, July 02, 2015 1:40 AM
To: lustre-discuss at lists.lustre.org
Subject: Re: [lustre-discuss] How does one process write to multiple OSTs
On 02.07.2015 05:59, Prakrati.Agrawal at shell.com<mailto:Prakrati.Agrawal at shell.com> wrote:
I have two very basic doubts.
1. If I have only one process writing to multiple OSTs, is it still a parallel write or does it become sequential as only one process is writing?
In principle it should still be parallel, but performance depends on many factors, like e.g. the access patterns and client cache settings.
2. Does MPI communication fabric interferes with file I/O?
Performance-wise certainly. Concerning correctness, no. Many people are doing that without problems.
I have a basic doubt:
If I have a directory whose stripe size is default and stripe count is set to 1. I have thousand files in that directory.
Total number of OSTs in my Lustre file system is say 8. Then how are those thousand files written to the OSTs?
Is it that first one OST is filled up with as many files as possible and then next OST is targeted or is it like file 1 to OST 1, file 2 to OST 2 and so on and then it comes back from file 13 to OST1.
If the stripe index of the directory is set to -1, then the files are distributed round-robin to the OSTs.
More information about the lustre-discuss