From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6f9abf670add977a X-Google-Attributes: gid1164f8,public X-Google-Thread: fbad3,6f9abf670add977a X-Google-Attributes: gidfbad3,public X-Google-Thread: 10e1c8,6f9abf670add977a X-Google-Attributes: gid10e1c8,public X-Google-ArrivalTime: 1994-08-06 11:53:33 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!howland.reston.ans.net!agate!library.ucla.edu!csulb.edu!csus.edu!netcom.com!netcomsv!netapp.netapp.com!netapp.netapp.com!not-for-mail From: hitz@netapp.netapp.com (Dave Hitz) Newsgroups: comp.arch.storage,comp.periphs.scsi,comp.sys.dec Subject: Re: Those confusing RAID levels (was: RAID 7's improvements of VAX p Date: 6 Aug 1994 09:45:28 -0700 Organization: Network Appliance Corp. Message-ID: <320en8$h7p@netapp.netapp.com> References: <30rq92$bet@nova.netapp.com> <31519d$fbb@nova.netapp.com> NNTP-Posting-Host: 192.9.200.1 Xref: bga.com comp.arch.storage:1707 comp.periphs.scsi:8100 comp.sys.dec:4904 In article , John Chandy wrote: >One problem with numbering blocks down one disk, is that you can't >take advantage of the parallel bandwidth when reading multiple blocks. >For example, if reading sequential blocks, and blocks are numbered >across the disks, you can read all the disks at once to get the data. This assumes that the file system isn't smart enough understand how the RAID layer beneath it lays out blocks. WAFL (our file system) does understand RAID. WAFL puts a certain number of blocks from a file down a single disk, but past that limit it moves to the next disk. The result is that it only needs to seek one disk to satisfy a small read with a little read ahead, but it can get multiple disks working in parallel for for large files with large read ahead. >The other advantage is >that for large writes across disks, the parity block can be written at >the same time as the data instead of doing the normal pre reads to >generate the parity. When WAFL moves to a new disk, it tries to align writes with the blocks from the previous disk when possible. It does lots of allocation in a single write episode before sending the stripes down to RAID. This makes sure that RAID gets all the blocks for a single stripe at once so that it can handle them as efficiently as possible. (WAFL uses NV-RAM to store write data so that it has the flexibility to wait until it has collected lots of data before deciding where on disk to put the data.) I know that for many RAID systems it isn't possible to modify the overlying file system, but if you can, there lots of fun performance hacks. Dave Hitz hitz@netapp.com Network Appliance (415) 428-5106