delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/07/28/03:42:27

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <9607280701.AA13626@clio.rice.edu>
Subject: Re: Opinion
To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
Date: Sun, 28 Jul 1996 02:01:58 -0600 (CDT)
Cc: djgpp-workers AT delorie DOT com
In-Reply-To: <Pine.SUN.3.91.960728093151.23430M-100000@is> from "Eli Zaretskii" at Jul 28, 96 09:39:07 am

> If leaving CWSDPR0 alone doesn't impose any burden, I say leave it there.  

It's no problem, just two commands to build it from the same sources.  
It's just a question of whether it is still useful at all or not.

> (with any luck, this could just happen within 5 hours of releasing r3 ;-).

Ack! Reason enough!

> How about an environment variable 

No environment variables.  Maybe a command line switch.

> that, when set, will cause CWSDPMI to
> print on exit all kinds of statistics about the client?  

Might be useful.  Maybe a single line summary.

> Maximum memory usage, number of page faults, internal CWSDPMI memory usage 
> (to give a clue on how close one is to exhausting the CWSDPMI heap)--anything
> that can be of any use.  That should make diagnostics a lot easier.

None of those things are currently tracked :-)
The heap usage is difficult, since you have a hard time figuring out what the 
stack usage was.  R3 should just fail the dpmi memory call, so you may end up
with only 26Mb of memory allocated if you use small pieces.  In my test
suite there is now an image which does 32K mallocs until NULL is returned.
I can tell when I have r2 in my path, since it pagefaults instead of exits...

R3 has the largest number of changes since like beta7 or something.  It's
got the list of things done that should have been in R1.  Oh well.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019