From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,418c1c94298f34ae X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: Tape block: size 256K faster than 512 bytes?? Date: 2000/03/01 Message-ID: <89jqfd$gnv$1@mailint03.im.hou.compaq.com>#1/1 X-Deja-AN: 591881396 Distribution: world References: <38BA9D45.CE9F53A2@mfs.misys.co.uk> X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 951938349 17151 16.82.16.67 (1 Mar 2000 19:19:09 GMT) Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Date: 1 Mar 2000 19:19:09 GMT Newsgroups: comp.unix.osf.osf1 In article <38BA9D45.CE9F53A2@mfs.misys.co.uk>, Matt writes: >I grasp that shifting larger blocks is going to be quicker, but the >performance difference is staggering. On SCO or Linux altering the >block size does not make this kind of difference. All versions of DEC OSF/1, Digital UNIX and Tru64 UNIX, should support using transfer sizes as large SCSI-2 allows. I'm fairly certain that modern versions do. Based on a little testing I've done with large transfer sizes, the one that is "too large" is the one that causes the system to start paging and swapping. Some HS family array controllers support a limited transfer size (64 KB) at the controller. If you think you may have to restore data on a tape drive connected to such a data, use a 64 KB transfer size. Some tapes do prefer fairly large block sizes, so their utility on such subsystems is limited. I think this limitation was lifted on the HSZ70 and later controllers, but I haven't checked closely. One affect this limitation has, is that recent versions of tar use an initial large transfer size to "guess" the block size at which the tape was written. I think it uses 1 MB. On tapes connected to these HS subsystems, this causes an I/O error because the controller rejects the command. The solution is to use the explicit block size if it is one the controller supports. > >Matt. (missing the point) >----- > -- Alan Rollow alan@nabeth.cxo.dec.com