From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,2ac02b4d782b7917 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,2ac02b4d782b7917 X-Google-Attributes: gid1164f8,public From: "Bill Todd" Subject: Re: RMS (Record Manager System): 16- or more bits ? Date: 1999/12/30 Message-ID: <84gamr$ic8$1@pyrite.mv.net>#1/1 X-Deja-AN: 566594608 References: <83r8d2$fba@gap.cco.caltech.edu> <84828j$8u1$1@porthos.nl.uu.net> <848na1$pqs$1@porthos.nl.uu.net> <8mhh6scbfqvbkukfk9pg30jt9mnhefm30b@4ax.com> <84ajkv$20p$1@info.service.rug.nl> <84b0g9$lvj$2@porthos.nl.uu.net> <1999Dec28.142924.1@eisner> <84b6eb$pi4$2@porthos.nl.uu.net> <386921B6.C77CF608@us.oracle.com> <84bdjl$1cn$1@porthos.nl.uu.net> <3869413F.3E238258@us.oracle.com> <84d8pf$5k7$1@mailint03.im.hou.compaq.com> <84dpvr$qf1$3@porthos.nl.uu.net> <84em6a$178$1@pyrite.mv.net> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@mv.com X-Trace: pyrite.mv.net 946581019 18824 199.125.99.216 (30 Dec 1999 19:10:19 GMT) Organization: Why won't Outlook let me leave this blank? X-MSMail-Priority: Normal NNTP-Posting-Date: 30 Dec 1999 19:10:19 GMT Newsgroups: comp.sys.dec,comp.os.vms When RMS-11 (and the initial cut at RMS-32) was designed in 1975, the idea that any significant number of applications would really need individual records larger than 32 KB (as opposed to, for example, using block I/O to create their own large internal structures with better control over fetch/store granularity) was, shall we say, not at the forefront of concerns - though if as you suggest Fortran had to develop a work-around 'way back then it does look like an oversight. Ditto for things like indexed file buckets larger than 64 (32?) KB, which, given that records couldn't cross bucket boundaries, was consistent. Think about disk transfer rates back then, well before their Moore's-law-like rate of improvement was well established: neither decision had anything to do with '16-bit-ness' - they were simple resource conservation measures at a time when both memory and disk resources were far more precious than they are 25 years later. Introducing a new 32-bit-size variable-length record type in RMS over time, however, would have been reasonable (given some real indication of need). But, as I noted above, rolling your own using block I/O has always been an option as well (at least for sequential-file-like accessing), and isn't really very difficult. - bill Jan Vorbrueggen wrote in message news:y4yaac23lj.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de... > "Bill Todd" writes: > > > As for 16-bit-ness, when RMS-11 was designed initial work on VAX had already > > begun, and RMS-11 (as well as RMS-32, when it arrived) was designed to > > accommodate *large* (well, for that time) file systems, using 4-byte values > > for in-file block offsets, for example (that's where the 6-byte RFA field > > size comes from, and it was that size in RMS-11 V1.0). So I'm not sure > > where the idea that *either* RMS implementation was a '16-bit file system' > > came from. > > Yes, I'd say that all object sizes _except_record_lengths_ have stood the > test of time very well, and the upgrade to lift the 8 GB volume limit seemed > quite simple. OTOH, I'd also say that RMS's 16 bit record lengths, while > possibly saving a byte or two here and there, already were a limitation > with the earliest versions of VMS: see the introduction of segmented records > in the Fortran RTL, which requires unnecessary overhead both in time and in > space. At least the option to allow a version of files with variable-length > records where the record lengths are 32 bits long would have been an excellent > idea right from the start. Would that still be practical now - e.g., does the > bit field in the file header containing the record type have unused values? > > Jan