Re: [zfs-discuss] Scrub works in parallel?

2012-06-12 Thread Richard Elling
On Jun 11, 2012, at 6:05 AM, Jim Klimov wrote: > 2012-06-11 5:37, Edward Ned Harvey wrote: >>> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- >>> boun...@opensolaris.org] On Behalf Of Kalle Anka >>> >>> Assume we have 100 disks in one zpool. Assume it takes 5 hours to scrub >> one

Re: [zfs-discuss] Scrub works in parallel?

2012-06-12 Thread Jim Klimov
2012-06-12 16:45, Roch Bourbonnais wrote: The process should be scalable. Scrub all of the data on one disk using one disk worth of IOPS Scrub all of the data on N disks using N disk's worth of IOPS. THat will take ~ the same total time. IF the uplink or processing power or some other bottl

Re: [zfs-discuss] Scrub works in parallel?

2012-06-12 Thread Roch Bourbonnais
The process should be scalable. Scrub all of the data on one disk using one disk worth of IOPS Scrub all of the data on N disks using N disk's worth of IOPS. THat will take ~ the same total time. -r Le 12 juin 2012 à 08:28, Jim Klimov a écrit : > 2012-06-12 16:20, Roch Bourbonnais wrote: >>

Re: [zfs-discuss] Scrub works in parallel?

2012-06-12 Thread Jim Klimov
2012-06-12 16:20, Roch Bourbonnais wrote: Scrubs are run at very low priority and yield very quickly in the presence of other work. So I really would not expect to see scrub create any impact on an other type of storage activity. Resilvering will more aggressively push forward on what is has t

Re: [zfs-discuss] Scrub works in parallel?

2012-06-12 Thread Roch Bourbonnais
Scrubs are run at very low priority and yield very quickly in the presence of other work. So I really would not expect to see scrub create any impact on an other type of storage activity. Resilvering will more aggressively push forward on what is has to do, but resilvering does not need to rea

Re: [zfs-discuss] Scrub works in parallel?

2012-06-11 Thread Jim Klimov
2012-06-11 5:37, Edward Ned Harvey wrote: From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- boun...@opensolaris.org] On Behalf Of Kalle Anka Assume we have 100 disks in one zpool. Assume it takes 5 hours to scrub one disk. If I scrub the zpool, how long time will it take? Will it

Re: [zfs-discuss] Scrub works in parallel?

2012-06-10 Thread Edward Ned Harvey
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of Kalle Anka > > Assume we have 100 disks in one zpool. Assume it takes 5 hours to scrub one > disk. If I scrub the zpool, how long time will it take? > > Will it scrub one disk at a time, so it

Re: [zfs-discuss] Scrub works in parallel?

2012-06-10 Thread Tomas Forsman
On 10 June, 2012 - Kalle Anka sent me these 1,5K bytes: > Assume we have 100 disks in one zpool. Assume it takes 5 hours to > scrub one disk. If I scrub the zpool, how long time will it take? > > > Will it scrub one disk at a time, so it will take 500 hours, i.e. in > sequence, just serial? Or

[zfs-discuss] Scrub works in parallel?

2012-06-10 Thread Kalle Anka
Assume we have 100 disks in one zpool. Assume it takes 5 hours to scrub one disk. If I scrub the zpool, how long time will it take? Will it scrub one disk at a time, so it will take 500 hours, i.e. in sequence, just serial? Or is it possible to run the scrub in parallel, so it takes 5h no mat