[comp.os.msdos.apps] What does EMS in WP5.1 do???

ong@d.cs.okstate.edu (ONG ENG TENG) (04/19/91)

What exactly does WP5.1 do with the EMS memory detected???

I was thinking that it might use it as text buffer space.  But when
I pull in a 750k file and shell out to DOS to look at the \WP51
directory, there is still a 500k temporary file when I have 3meg of EMS
that is detected by the WPINFO program.  What does the EMS do???

ps.
To force the WP5.1 use the RAM as text buffer space, I make my
3meg of EMS/XMS changable memory into XMS and put VDISK to work and
get a 3meg of RAM disk.  Then the first time I run WP51 since powerup, 
the essential files of WP51 are copied to the RAM disk (about 1meg, takes
about 10 second) and WP51 is ran from there.  Subsequent run of WP51 
w/o powerdown does not require the copying.  This forces
the WP51 to use the remaining of the RAM disk as text buffer space,
hence faster editing of large files (large means greater than 200k).

I was forced into doing this because once when I tried to do a 
2k block move within a 800k file, it took *15 minutes* in the 
conventional WP51 setup.  I thought my computer (386SX) hang, 
but than it came back after that long period of time (no doubt it
was thrashing the hard drive, reading and writing, I have a
"silence" hard drive).  With the RAM disk version, it took a few
seconds.  

dahlstr@hus.chalmers.se (Gunnar Dahlstrom) (04/20/91)

In article <1991Apr18.194840.4596@d.cs.okstate.edu> ong@d.cs.okstate.edu (ONG ENG TENG) writes:
>What exactly does WP5.1 do with the EMS memory detected???
>
>I was thinking that it might use it as text buffer space.  But when
>I pull in a 750k file and shell out to DOS to look at the \WP51
>directory, there is still a 500k temporary file when I have 3meg of EMS
>that is detected by the WPINFO program.  What does the EMS do???

I think it use it to put some of the code there (overlays, etc).

>
>ps.
>To force the WP5.1 use the RAM as text buffer space, I make my
>3meg of EMS/XMS changable memory into XMS and put VDISK to work and
>get a 3meg of RAM disk.  Then the first time I run WP51 since powerup, 
>the essential files of WP51 are copied to the RAM disk (about 1meg, takes
>about 10 second) and WP51 is ran from there.  Subsequent run of WP51 
>w/o powerdown does not require the copying.  This forces
>the WP51 to use the remaining of the RAM disk as text buffer space,
>hence faster editing of large files (large means greater than 200k).
>
>I was forced into doing this because once when I tried to do a 
>2k block move within a 800k file, it took *15 minutes* in the 
>conventional WP51 setup.  I thought my computer (386SX) hang, 
>but than it came back after that long period of time (no doubt it
>was thrashing the hard drive, reading and writing, I have a
>"silence" hard drive).  With the RAM disk version, it took a few
>seconds.  

Take a look in the manual and find that section (apendix) who describe WP
switches. There you can find a switch that tell wp to store temporary files
somwhere else, a good examples is to store those i a ramdisk (if you have a
large ramdisk)!
I cant remember this switch right know but there is one to do this!

// Gunnar


===============================================================================
				Gunnar Dahlstrom
			Chalmers University of Technology
			    Div. Building Technology
			   412 96 Gothenburg,  Sweden
			E-Mail:  dahlstr@hus.chalmers.se
===============================================================================

ong@d.cs.okstate.edu (ONG ENG TENG) (04/21/91)

From article <1991Apr20.081328.17398@afs-news.utc.chalmers.se>, by dahlstr@hus.chalmers.se (Gunnar Dahlstrom):
> Take a look in the manual and find that section (apendix) who describe WP
> switches. There you can find a switch that tell wp to store temporary files
> somwhere else, a good examples is to store those i a ramdisk (if you have a
> large ramdisk)!
> I cant remember this switch right know but there is one to do this!

Yeh, I looked in the manual and came up with a "/d-[drive/path]" switch.
It works great!  Thanks.  Anybody with extended memory and 
edit large WP51 documents should try this.  Use the VDISK.SYS to set
up a ramdisk using extended memory (at least 1meg recommanded), then
enter WP51 by typing 
     C:\WP51> WP /d-G:\ 
where G: drive is the ramdisk.