On Wed, Feb 09, 2000 at 04:57:36PM +0100, Andy Polyakov wrote:
> > The latest snapshot will only compile with "+O2" but not with the higher
> > optimizations at "+O3" and "+O4".
> > - At "+O3" it will optimize on a "by file" technique and it does hang at
> > crypto/sha/sha_dgst.c
> I would really appreciate if you could throw -DSHA_XARRAY at compiler
> and tell how did it go with +O3.
> > did give the machine a full weekend (friday afternoon to monday morning at
> > +O4) and it does never finish. (J280, 512MB RAM and maxdsiz at 512MB,
> > so memory starvation should not be a problem.)
> About maxdsiz. Do you know a way to figure out maxdsiz from command
> line? It should be possible with adb... Something like 'echo "maxdsiz/X"
> | adb -k /stand/vmunix /dev/mem'? We could issue a warning when it's too
> low and drop down to +O2. Do you have suggestion for maxdsiz? As far as
> I remember it was >100MB and the default is 64MB, right?
At HP-UX 10.20 you can call "/usr/sbin/sysdef", it will list a table including
the maxdsiz setting (and it's min and max value). It should be simple to
extract the info:
serv01 160: /usr/sbin/sysdef
NAME VALUE BOOT MIN-MAX UNITS FLAGS
....
maxdsiz 163840 - 256-655360 Pages -
maxssiz 16384 - 256-655360 Pages -
....
Pagesize is 4kb on this system. I don't have HP-UX 11 to crosscheck, whether
it will yield the same table.
As was found out in the old thread, a minimum value of 128MB is necessary
(maybe a bit less is enough but 128MB is known to work).
This however does not solve the problem I described. I do have 163840*4kB
available, giving 640MB altogether and it still does not work. Top shows
that the 640MB are never used, so there is no memory limit here (I have 64MB
stack limit instead of the 8MB default, so I was also generous here).
My net result as of now: +O3 and +O4 do not work on HP-UX 10.20 (and probably
with 11.0) as of the latest snapshots, even with tons of memory.
Best regards,
Lutz
--
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]