From: CSBVAX::MRGATE!@KL.SRI.Com:info-vax-request@kl.sri.com@SMTP 15-JUL-1987 18:30 To: EVERHART Subj: BACKUP and SET RMS_DEFAULT/BLOCK_SIZE Received: from ucbvax.Berkeley.EDU by KL.SRI.COM with TCP; Tue 14 Jul 87 17:38:10-PDT Received: by ucbvax.Berkeley.EDU (5.58/1.27) id AA22159; Mon, 13 Jul 87 19:38:19 PDT Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-vax@kl.sri.com (info-vax@kl.sri.com) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 9 Jul 87 23:41:14 GMT From: uunet!munnari!otc!metro!ipso!runx!johnf@seismo.css.gov (John F. Baird) Organization: RUNX Un*x Timeshare. Sydney, Australia. Subject: BACKUP and SET RMS_DEFAULT/BLOCK_SIZE Message-Id: <1012@runx.ips.oz> Sender: info-vax-request@kl.sri.com To: info-vax@kl.sri.com Here's an interesting one for those of you who haven't come across it. We do a backup, not standalone, from an RA60 user disk to an RA81 system disk, then back onto a new RA60 user disk. This defragments it nicely, but fragments the RA81 quickly. The backup from the RA60 to the system disk is done like this; $ BACKUP DJA1:/IMAGE DUA0:[]RA60.SAV/SAVE/GROUP=0/NOCRC The restore onto the new RA60 is done like this; $ BACKUP DUA0:[]RA60.SAV/SAVE DJA1:/INITIALIZE (That's the background, here's the interesting stuff...) A couple of weeks ago, I stuffed up the RMS default block and buffer sizes. In fact, I set them all to zero, with the command; $ SET RMS_DEFAULT/BLOCK=0/BUFFER=0/SEQUENTIAL They were originally 16 and 2 respectively, and the backup took much much longer than usual. (Which impressed the users greatly, but then again, that's what they are there for!) So then, I changed the command to something a little more generous; $ SET RMS_DEFAULT/BLOCK=124/BUFFER=4/SEQUENTIAL Wow! Was it fast! Here's a table of timings from the restore portion of the backup procedure. The RA60 contained 247924 blocks, in files of an average size of 500 blocks. The RA81 was reasonably fragmented, the save set file was in about two hundered places. /BLOCK /BUFFER Time (Minutes) 16 2 20 0 0 97 124 4 12 So, if you have an application that spends most of its time reading or writing a large sequential file, and you think that it is more important than anything else on the system, have a look at your SHOW RMS_DEFAULT. You'll probably need some more memory though! James Cameron Kilpatrick Green Sydney, Australia via johnf@runx.oz (ACSnet)