home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
netutils
/
asap_r2.arj
/
SPEED.TIP
< prev
Wrap
Text File
|
1994-03-15
|
2KB
|
70 lines
┌────────────┐
│ Speed Tips │
└────────────┘
The following tips can help ASAP! really fly on your network:
+ Specify a local hard disk for the /SWAPPATH: parameter. If not
possible, create a RAMDRIVE to use for the temporary swap files.
If using MS-RAMDRIVE.SYS, use the /A or /E parameters to load the
entire Ram disk in XMS or EMS memory.
You can test for the existance of a local drive with a batch
command such as:
set swap=f:\users\%login_name%
if exist d:\PRN set swap=d:\
set asap!=/path:m: /swappath:%swap%
If you specify the /SWAPPATH: parameter on the command line (as
opposed to the ASAP! environment variable), precede the
command with a double-slash. For example: asap! //swappath:c:
+ Use a Disk Cache for your local hard disk, such as MS' SMARTDRV.EXE.
This will greatly improve workstation performance.
+ Run ASAP!.EXE from a local hard disk if possible. The program
must constantly refer back to this file for information, so
placing it on a local cached hard disk can greatly affect
performance. Even if not cached, most local hard disks can
outperform heavily loaded network drives.
┌─────────────────────┐
│ Example Batch Files │
└─────────────────────┘
The following sample batch tests a workstation to see if it has a local
hard disk, and if so, checks to see if the ASAP!.EXE file is located
on the local disk. If not, it copies the file to the local hard disk,
then runs the program from there.
If the machine does not have a hard disk, the program is run from
the network drive. The batch file tests to see if the local workstation
has a RAM disk installed (as D:). If so, it uses the RAM disk as the
/SWAPPATH: location. If not, the swap files are written to the
network drive.
*************************************************************************
@echo off
cls
map root m:=sys:asap! >>nul
if not exist c:\PRN goto NETWORK
if not exist c:\asap!\PRN md c:\asap!
if not exist c:\asap!\asap!.exe copy m:\asap!.exe c:\asap! >>nul
:LOCAL
c:
asap! /path:m: /r
goto EXIT
:NETWORK
set swap=f:\users\%login_name%
if exist d:\PRN set swap=d:\
m:
asap! /r /swappath:%swap%
:EXIT
set swap=