pcp
[Top] [All Lists]

Re: pmnscomp and PMNS checksums

To: markgw@xxxxxxx
Subject: Re: pmnscomp and PMNS checksums
From: Max Matveev <makc@xxxxxxx>
Date: Wed, 21 May 2008 18:23:52 +1000
Cc: nscott@xxxxxxxxxx, pcp@xxxxxxxxxxx
In-reply-to: <4833D618.3080107@xxxxxxx>
References: <1211180657.25294.446.camel@xxxxxxxxxxxxxxxxx> <4833D618.3080107@xxxxxxx>
Sender: pcp-bounce@xxxxxxxxxxx
On Wed, 21 May 2008 17:58:16 +1000, Mark Goodwin wrote:

 markgw> Nathan Scott wrote:
 >> Hi,
 >> 
 >> I came across an oddity in pmnscomp.c (the binary PMNS
 >> compiler) - the -v option contains conditional code on
 >> the BUILDTOOL macro, which conditional makes version 2
 >> available.  This is not enabled anywhere, probably was
 >> on IRIX.  Version 2 looks to be similar to version 1,
 >> except has added a checksum.
 >> 
 >> Anyone know what the history is here?  Why aren't we
 >> enabling version 2 everywhere?
Wasn't it something Mr. X Moore did as his first project?

 markgw> don't know.

 markgw> Irrespective, we should nuke compiling the pmns and just
 markgw> deal with ascii. The binary format was introduced eons ago
 markgw> for performance reasons that are no longer relevant on
 markgw> modern h/w.
Brave assertion. Did anyone ever tried to measure how long pmcd takes
to load pmns? I didn't.

Plus, compiling is used as validation step to make sure pmns we've got
makes any sense at all. If anything, this needs to be preserved.

max

<Prev in Thread] Current Thread [Next in Thread>