X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <10204132227.AA14563@clio.rice.edu> Subject: Re: Malloc/free DJGPP code To: djgpp-workers AT delorie DOT com Date: Sat, 13 Apr 2002 17:27:03 -0500 (CDT) In-Reply-To: <3CB7A876.6BF78A5@yahoo.com> from "CBFalconer" at Apr 12, 2002 11:39:34 PM X-Mailer: ELM [version 2.5 PL2] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > It's a bad couple of weeks for me (and I still haven't gotten the 2.03 > > refresh++ done) so a review will need to wait until late April at > > earliest. > > I also have it mounted (no ftp) at: > > Yes, I still don't have my taxes done, the performance review stuff done at work, the sessions assigned to all the people requesting Proposals to Present at AspenWorld 2002, or use cases for the current project, much less refresh++ done yet, so it will wait a while more. > with the slight addition of "evilalgo.c" which shows up other > failings in the present library code to do with realloc. Please > see my message in the mailing list/newsgroup which has ab > comparisons. > > This shows that a major improvement is available, a factor of 2 to > 4 in speed, and (on my machine at least) a factor of 4 in > available memory usage. > > The realloc performance is, to my mind, quite serious. So I am > once again urging people to take a good look and possibly > incorporate it in 2.04. These are all good things, yes. If you have time check out: 1) How does DJGPP V2.01 malloc perform (including realloc) 2) How does DJGPP v2.03 " 3) How does current CVS/v2.04 do (it's got a fixed realloc) 4) How does new nmalloc do? With Unixy sbrk and non-move sbrk? Testing non-move sbrk() on windows and forcing it to return address wrapped blocks? Set unixy sbrk() and provide value of sbrk(0) at the end of each test (shows the highest address touched). Try some tests with 1,000,000 small allocations (of like 12 bytes each). Do the new CVS memory debug routines work with nmalloc? Have you built GCC or EMACS with the new nmalloc to see if they work? All of these aren't required to get it into CVS, but the more of them we know, the more confidence we'll all have. Without this info, anytime anything weird happens in new apps built with CVS someone will be saying "maybe it's the new malloc" ...