Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #397

Re: HIMEMX and XMSDSK

From Martin Strömberg <ams@dexter.ludd.luth.se>
Newsgroups comp.os.msdos.programmer
Subject Re: HIMEMX and XMSDSK
Date 2011-11-02 12:43 +0000
Organization Aioe.org NNTP Server
Message-ID <j8rdt0$kt5$1@speranza.aioe.org> (permalink)
References <j84vll$la8$1@speranza.aioe.org> <j86poj$8k4$1@speranza.aioe.org>

Show all headers | View raw


Rod Pemberton <do_not_have@noavailemail.cmm> wrote:
> I've confirmed that the massive allocation issue is with XMSDSK.  I usually
> use XMSDSK like so:

>   XMSDSK  102400 E:  /C1 /T /Y

> The problem with XMSDSK is with the /T option.  With /T, XMSDSK allocates
> 1GB for a 100MB ramdisk, at least from HIMEMX ...  It allocates at the top
> of memory which allows WinSE to boot and use the ramdisk.  Without /T,
> XMSDSK allocates 100MB for a 100MB ramdisk.  However, WinSE won't
> boot when the ramdisk is allocated low.  In both cases, the disk is
> accessible to
> MS-DOS.

IIRC, XMSDSK only uses the 2.0 XMS calls (the ones limited to 64MB) to
work with XMS. So if you have a lot of memory and use /T to XMSDSK XMS
will run out of handles because it will need to allocate memory using
(total_mem-xmsdsk_size)/64 handles (my calculations might be wrong).

When XMS runs out of handles XMSDSK becomes unhappy and doesn't
deallocate what it has already allocated, which results in a lot of
XMS allocated to nobody and no free handles.

Just increase the handle count (sufficiently) for the XMS manager.


-- 
MartinS

Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

HIMEMX and XMSDSK "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-10-24 20:25 -0400
  Re: HIMEMX and XMSDSK "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-10-25 12:57 -0400
    Re: HIMEMX and XMSDSK Martin Strömberg <ams@dexter.ludd.luth.se> - 2011-11-02 12:43 +0000
      Re: HIMEMX and XMSDSK "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-11-04 04:19 -0400
        Re: HIMEMX and XMSDSK 98 Guy <98@Guy.com> - 2011-11-04 21:02 -0400
          Re: HIMEMX and XMSDSK "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-11-06 02:48 -0500
  Re: HIMEMX and XMSDSK Rugxulo <rugxulo@gmail.com> - 2011-10-26 14:04 -0700
    Re: HIMEMX and XMSDSK "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-10-26 19:00 -0400
      Re: HIMEMX and XMSDSK "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-10-31 18:07 -0400
        Re: HIMEMX and XMSDSK Rugxulo <rugxulo@gmail.com> - 2011-11-01 15:07 -0700
          Re: HIMEMX and XMSDSK "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-11-06 04:08 -0500

csiph-web