Moving/copying files from one file system to another
Hi, I'm looking to copy/move files from one gpfs file system to another in some efficient way. Initially I was thinking to not create another file system and just add the nsd to the current file system and gradually remove the old nsd. That would have been the easiest with little impact to the users. But I wanted to switch from a scatter allocation to a cluster allocation (too improve performance) and I cannot to that if I just add/remove nsd. I'm hopping for a better solution then a plain rsync which would probably take a few days (~210TB). Is there a gpfs solution to this? Also, another question, under what condition a scatter allocation better then cluster allocation. We currently have a cluster of 650 nodes all accessing the same 230TB gpfs file system. Richard
On Mon, 2013-10-28 at 11:31 -0400, Richard Lefebvre wrote: [SNIP]
Also, another question, under what condition a scatter allocation better then cluster allocation. We currently have a cluster of 650 nodes all accessing the same 230TB gpfs file system.
Scatter allocation is better in almost all circumstances. Basically by scattering the files to all corners you don't get hotspots where just a small subset of the disks are being hammered by lots of accesses to a handful of files, while the rest of the disks sit idle. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom.
On 10/30/13, 5:47 AM, Jonathan Buzzard wrote:
On Mon, 2013-10-28 at 11:31 -0400, Richard Lefebvre wrote:
[SNIP]
Also, another question, under what condition a scatter allocation better then cluster allocation. We currently have a cluster of 650 nodes all accessing the same 230TB gpfs file system.
Scatter allocation is better in almost all circumstances. Basically by scattering the files to all corners you don't get hotspots where just a small subset of the disks are being hammered by lots of accesses to a handful of files, while the rest of the disks sit idle.
If you do benchmarks with only a few threads, you will see higher performance with 'cluster' allocation. So if your workload is only a few clients accessing the FS in a mostly streaming way, you'd see better performance from 'cluster'. With 650 nodes, even if each client is doing streaming reads, at the filesystem level that would all be interleaved and thus be random reads. But it's tough to do a big enough benchmark to show the difference in performance. I had a tough time convincing people to use 'scatter' instead of 'cluster' even though I think the documentation is clear about the difference, and even gives you the sizing parameters ( greater than 8 disks or 8 NSDs? use 'scatter'). We use 'scatter' now. Regards -- chekh@stanford.edu
Hi, cluster will also be there for some time, as soon as one start deleting and creating file - it will kind of shift to be scattered... So, while its good for benchmarks on "clean and new" system - cluster is somewhat meaningless ( and was hidden for some time because of that). As far as it goes for copying from old to new system - AFM can be considered as well ( will make the transition easier). You can prefetch ( using mmafmctl) and even work in LU mode in order to get the data from the old FS to the new one without pushing changes back. hth, Tomer. From: Alex Chekholko <chekh@stanford.edu> To: gpfsug-discuss@gpfsug.org, Date: 10/30/2013 07:57 PM Subject: Re: [gpfsug-discuss] Moving/copying files from one file system to another Sent by: gpfsug-discuss-bounces@gpfsug.org On 10/30/13, 5:47 AM, Jonathan Buzzard wrote:
On Mon, 2013-10-28 at 11:31 -0400, Richard Lefebvre wrote:
[SNIP]
Also, another question, under what condition a scatter allocation better then cluster allocation. We currently have a cluster of 650 nodes all accessing the same 230TB gpfs file system.
Scatter allocation is better in almost all circumstances. Basically by scattering the files to all corners you don't get hotspots where just a small subset of the disks are being hammered by lots of accesses to a handful of files, while the rest of the disks sit idle.
If you do benchmarks with only a few threads, you will see higher performance with 'cluster' allocation. So if your workload is only a few clients accessing the FS in a mostly streaming way, you'd see better performance from 'cluster'. With 650 nodes, even if each client is doing streaming reads, at the filesystem level that would all be interleaved and thus be random reads. But it's tough to do a big enough benchmark to show the difference in performance. I had a tough time convincing people to use 'scatter' instead of 'cluster' even though I think the documentation is clear about the difference, and even gives you the sizing parameters ( greater than 8 disks or 8 NSDs? use 'scatter'). We use 'scatter' now. Regards -- chekh@stanford.edu _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Thank you to all that answer, I will stay with scatter. So, now I will just go with doing a series of mmadddisk and mmdeldisk in sequence. I'm not doing all the adddisk first since I down want the users to think that there disk space has doubled, it is a switch with a bit of extra. I intent to do a rebalance with the mmdeldisk commands. Since the file system is full at 97% I have a felling that if I don't rebalance, at the mmdeldisk, something will choke. Richard On 10/30/2013 01:56 PM, Alex Chekholko wrote:
On 10/30/13, 5:47 AM, Jonathan Buzzard wrote:
On Mon, 2013-10-28 at 11:31 -0400, Richard Lefebvre wrote:
[SNIP]
Also, another question, under what condition a scatter allocation better then cluster allocation. We currently have a cluster of 650 nodes all accessing the same 230TB gpfs file system.
Scatter allocation is better in almost all circumstances. Basically by scattering the files to all corners you don't get hotspots where just a small subset of the disks are being hammered by lots of accesses to a handful of files, while the rest of the disks sit idle.
If you do benchmarks with only a few threads, you will see higher performance with 'cluster' allocation. So if your workload is only a few clients accessing the FS in a mostly streaming way, you'd see better performance from 'cluster'.
With 650 nodes, even if each client is doing streaming reads, at the filesystem level that would all be interleaved and thus be random reads. But it's tough to do a big enough benchmark to show the difference in performance.
I had a tough time convincing people to use 'scatter' instead of 'cluster' even though I think the documentation is clear about the difference, and even gives you the sizing parameters ( greater than 8 disks or 8 NSDs? use 'scatter').
We use 'scatter' now.
Regards
participants (4)
-
Alex Chekholko -
Jonathan Buzzard -
Richard Lefebvre -
Tomer Perry
