From: neil AT robots DOT ox DOT ac DOT uk (Neil Townsend) Newsgroups: comp.os.msdos.djgpp Subject: Re: GCC / RHIDE and CWSDMPI/CWSDPR0/Stubbing Date: Wed, 2 Sep 1998 12:16:55 GMT Organization: None evident here. Message-ID: <1998Sep2.121655.28457@catorobots.ox.ac.uk> References: NNTP-Posting-Host: cato.robots.ox.ac.uk NNTP-Posting-Date: 2 Sep 1998 12:17:00 GMT Originator: neil AT cato Lines: 31 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In comp.os.msdos.djgpp Eli Zaretskii writes: > >I would imagine that the overhead of the (unused) disk swap decisions is >minimal. I don't think that it should have any real effect on the speed >of your program. In any case, I'd suggest to test this before you >decide. Since CWSDPR0 is tested (by DJGPP users) much less than CWSDPMI, >chances are that it has more bugs or surprising features. > >It might be more important to understand how does your data-gathering >program gets the data. For example, if it uses hardware interrupts, then >CWSDPR0 might be better because it has less overhead in handling >interrupts. But even then I'd suggest to try CWSDPMI first, and if it >suits you, stick with it, that was the recommendation of Charles >Sandmann, the author of both CWSDPMI and CWSDPR0, last time I checked. I do in fact have quite a heavy interrupt load, which again does mitigate in favour of using CWSDPR0, although I take your points about CWSDPR0 being less tested. For what it's worth, it seems to work just fine (I'm using DZ's serial comms package and the allegro timer on the interrupt front). Since I started this, I've been looking at the memory behaviour and have noticed something rather strange: My machine has 48M, and both CWSDPMI and CWSDPR0 recognise this (either HIMEM only or HIMEM + EMM NOEMS NOVCPI) but wont actually let me have the final 16M of physical memory. I can allocate up to 32M all told just fine, but if I ask for just a bit more it refuses! This seems odd - is there anyone in particular I should talk to about this? (Charles Sandmann?) Neil -- Neil Townsend +44 (1865) 273121 neil AT robots DOT ox DOT ac DOT uk