[Info-vax] VAX Macro to C conversion
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Sat Jul 13 00:30:09 EDT 2019
On 2019-06-24, Dave Froble <davef at tsoft-inc.com> wrote:
> On 6/24/2019 1:24 PM, Simon Clubley wrote:
>> On 2019-06-24, Michael Moroney <moroney at world.std.spaamtrap.com> wrote:
>>> =?UTF-8?Q?Jan-Erik_S=c3=b6derholm?= <jan-erik.soderholm at telia.com> writes:
>>>
>>>> Den 2019-06-24 kl. 15:59, skrev Michael Moroney:
>>>>> Simon Clubley <clubley at remove_me.eisner.decus.org-Earth.UFP> writes:
>>>>>
>>>>>> How much work would be involved in a rewrite of the shadowing code in C ?
>>>>>
>>>>> $ dir/size/grand xf72_resd$:[shadowing*.src]*.mar;
>>>>>
>>>>> Grand total of 12 directories, 55 files, 9878 blocks.
>>>>> $
>>>>>
>>
>> Thanks.
>>
>>>
>>>> And how many "Records searched:" from:
>>>
>>>> $ sea/stat/win=0 xf72_resd$:[shadowing*.src]*.mar; qwertyasdfgh
>>>
>>>> ?
>>>
>>> $ sea/stat/win=0 xf72_resd$:[shadowing*.src]*.mar; qwertyasdfgh
>>>
>>> Files searched: 55 Buffered I/O count: 217
>>> Records searched: 159718 Direct I/O count: 130
>>> Characters searched: 4639981 Page faults: 24
>>> Records matched: 0 Elapsed CPU time: 0 00:00:00.45
>>> Lines printed: 0 Elapsed time: 0 00:00:00.97
>>> %SEARCH-I-NOMATCHES, no strings matched
>>> $
>>>
>>>
>>>> So the new file system will not support shadowing from the start?
>>>
>>> The new file system will support disks > 2TB. Shadowing doesn't, and cannot
>>> without a lot of work.
>>
>> Will shadowing work on the new file system if disk sizes are kept
>> at 2TB or smaller ?
>>
>> If so, is it viable to convert the signed values to unsigned values
>> to at least get the maximum disk size supported up to 4TB ?
>
> I'd guess, in such an environment, in Macro-32, that signed intergers
> are not used. But what do I know.
>
Actually, there has traditionally been a problem with signed integers
used in some data structures where unsigned integers would be better.
The real problem here however was that I was stupidly thinking about
the values involved in the byte level boundaries (from 2GB to 4GB)
instead of the values involved in block level boundaries (from 1TB to 2TB).
Simon.
--
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world
More information about the Info-vax
mailing list