Date: Wed, 5 Aug 92 12:13:01 -0500 From: rcharif AT math DOT utexas DOT edu Posted-Date: Wed, 5 Aug 92 12:13:01 -0500 To: buers AT dg1 DOT chemie DOT uni-konstanz DOT de Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Paging enhancement for go32 v1.07 Reply-To: rcharif AT math DOT utexas DOT edu I had two random problems with Rami El Charif's version, which I can't explain. There happened one reboot during compilation and at one stage gcc (or better cpp) wasn't able to find the include-files stdio.h etc. This was in the middle of a make, after some files I didn't check for the code being modified. I went from the idea that well behaved programs do not write code. But as DJ pointed out, this might cause some problems with the library routine int86 in some cases. I will patch what I did so that I check for modified code. I will post the patch and put them on math.utexas.edu in the next couple of days. What I called "TOPLINEINFO-patch" is a small patch I sent some weeks ago to the list. If anybody wants it, I can send it again. The speed-up of Rami El Charif's patches is much better I will include the TOPLINEINFO patch. Please resend it to me directly. (200 kB source-code, plain C, maximal size paged out during compiling about 700 kB). Performance enhancement is proportional to the swap file size and paging activity. I tried it with MAXIMA (5.5 Meg). The maximum swap file size went down from 3 to 2.3 Megs and it was slightly faster. I am working on another enhancement which will use a Not Used Recently (NUR) page replacement. I will post it when it is ready. Rami