home *** CD-ROM | disk | FTP | other *** search
/ BUG 2 / BUGCD1997_01.iso / utils / vramdir / readme.txt < prev    next >
Text File  |  1996-10-07  |  18KB  |  439 lines

  1.                                 
  2.                                 
  3.                     ========================
  4.                           VRAMDIR 1.07
  5.                     for Microsoft Windows 95
  6.                     ========================
  7.                                 
  8.                                 
  9.                          Copyright 1996
  10.                   Virtual Software Corporation
  11.                          15016 SE 63 St.
  12.                      Bellevue, WA 98006-4634
  13.             http://accessone.com/~virtual/vramdir.htm
  14.                       virtual@accessone.com
  15.  
  16.  
  17. VRAMDIR is a dynamic 32-bit virtual RAM file system driver for
  18. Windows 95.
  19.  
  20.  
  21. A. Introduction
  22. B. Advantages of VRAMDIR over Hard-disks
  23. C. Advantages of VRAMDIR over RAM-disks
  24. D. Advantages of VRAMDIR over Disk-Cache
  25. E. Installation
  26. F. Usage
  27. G. Benchmarks
  28. H. Where to Get the FREE Trial Version of VRAMDIR
  29. I. Limit of the Trial Version
  30. J. How to Order VRAMDIR
  31. K. Technical Support
  32. L. License and Disclaimer
  33.  
  34.  
  35.    ============
  36. A. Introduction
  37.    ============
  38.  
  39.    VRAMDIR is a dynamic 32-bit virtual RAM file system driver for
  40.    Windows 95. It is to replace RAM-disk and speed up hard-disk
  41.    related operations. VRAMDIR is over 30 times faster than hard-
  42.    disks, 5 times faster than RAM-disks, and 2 times faster than
  43.    disk-cache. VRAMDIR also keeps hard-disks less fragmented,
  44.    saves hard-disk wears and tears, and saves battery power on
  45.    notebook computers.
  46.    
  47.    VRAMDIR does not pre-allocate any memory, and it has no
  48.    practical limit on the amount of files it can hold. No matter
  49.    how much RAM your system has, VRAMDIR puts it into more
  50.    efficient use and speeds up the system. If the system has more
  51.    than 32MB RAM, VRAMDIR prevents the RAM from being wasted; if
  52.    the system has less than 16MB RAM, it is important to use
  53.    VRAMDIR to increase system speed.
  54.  
  55.  
  56.    =====================================
  57. B. Advantages of VRAMDIR over Hard-disks
  58.    =====================================
  59.  
  60.    VRAMDIR is tens and thousands of times faster than hard-disks.
  61.  
  62.    VRAMDIR creates file systems in Random Access Memory (RAM) to
  63.    simulate hard-disks.
  64.    
  65.    In access time, RAM is thousands of times faster than hard-
  66.    disks. Locating an address in RAM takes 50-100ns, while
  67.    seeking to a sector on a hard-disk takes 5-20ms. So RAM access
  68.    is about 100,000 times faster.
  69.    
  70.    In throughput, RAM is tens of times faster than hard-disk.
  71.    Reading/writing one block of data in RAM is about 20-100MB/s,
  72.    while on hard-disks it is 1-2MB/s. So RAM throughput is 10-100
  73.    times faster.
  74.    
  75.    By using VRAMDIR file systems, file operations are tens and
  76.    thousands of times faster than hard-disks.
  77.    
  78.    VRAMDIR keeps the hard-disks less fragmented. Without VRAMDIR,
  79.    temporary files scatter around on hard-disks. This can be
  80.    prevented by creating the temporary files in VRAMDIR. Less
  81.    fragmented hard-disks result in faster hard-disk access.
  82.    
  83.    VRAMDIR saves wears and tears of hard-disks. Hard-disks have
  84.    mechanical parts and thus have much shorter life-spans than
  85.    RAM. When accessing files in VRAMDIR, hard-disks are not
  86.    accessed. Thus hard-disks are less probable to fail, and hard-
  87.    disks live longer, hence it is less likely to lose your data
  88.    on hard-disks.
  89.    
  90.    VRAMDIR saves battery power on notebook computers. When hard-
  91.    disks are less often accessed because of VRAMDIR, less power
  92.    is consumed by hard-disks, and the battery runs longer.
  93.  
  94.  
  95.    =============================================
  96. C. Advantages of VRAMDIR over RAM-Disk Utilities
  97.    =============================================
  98.  
  99.    VRAMDIR is several times faster than RAM-disk utilities.
  100.  
  101.    VRAMDIR is a 32-bit protected-mode Windows 95 native virtual
  102.    device driver (VxD), while RAM-disk utilities are 16-bit real-
  103.    mode DOS device drivers. With RAM-disks, Windows 95 needs to
  104.    switch forth and back between 16-bit real-mode and 32-bit
  105.    protected-mode. This very time consuming mode switching is
  106.    avoided in VRAMDIR. For example, when benchmarked against
  107.    RAMDRIVE, VRAMDIR is more than 4 times faster.
  108.    
  109.    VRAMDIR is dynamic. When there is no file in VRAMDIR, VRAMDIR
  110.    does not allocate any memory. RAM-disks, on the other hand,
  111.    pre-allocate fixed amount of memory. Even when the memory is
  112.    not used by files on a RAM-disk, the memory is no longer
  113.    available to system and application programs. With VRAMDIR, no
  114.    extra memory is taken, more memory is available to the system,
  115.    and the system runs faster.
  116.    
  117.    When more files need to be on RAM-disk than the fixed amount
  118.    pre-allocated, RAM-disk is not able to hold them. The
  119.    operation will fail, and your application or even the system
  120.    may crash as a result. With VRAMDIR, it expands on demand.
  121.    There is no practical limit on the number of files and the
  122.    size of files that can fit into VRAMDIR. (The limit is the
  123.    total amount of physical memory plus the free hard-disk space
  124.    in your system, which is even larger than what is available
  125.    without VRAMDIR, the free hard-disk space alone.)
  126.    
  127.    VRAMDIR is virtual. VRAMDIR can return memory back to the
  128.    system, while RAM-disks can never do that. When other
  129.    applications need more memory, files in VRAMDIR can be saved
  130.    onto hard-disks and memory is returned to system. You never
  131.    need to worry about VRAMDIR using too much memory. VRAMDIR
  132.    makes sure that it always puts memory into the best use and
  133.    that the system runs as fast as possible.
  134.    
  135.    VRAMDIR creates virtual file systems, while RAM-disks create
  136.    disk images on which to build FAT file systems. Disks are
  137.    block devices and have limitations. For example, on a disk
  138.    even when only 1-byte is used in a block, the rest is not
  139.    available to other files. RAM is different from disks. It is
  140.    not efficient to use RAM in the same block manner as disks.
  141.    FAT file system has further limitations. In RAM-disks, e.g.,
  142.    space needs to be pre-allocated for File Allocation Tables
  143.    (FAT), the block size and the number of entries in the root
  144.    directory, etc., needs to be pre-determined. VRAMDIR avoids
  145.    the limitations of block devices and the FAT system. VRAMDIRÆs
  146.    file system is virtual and much more efficient. There is no
  147.    setting needs to be fine-tuned.
  148.    
  149.    VRAMDIR maps directories into RAM, while RAM-disks create new
  150.    drives. With VRAMDIR, it is easy to map existing directories,
  151.    e.g., TEMP directories, into RAM. There is no new drive letter
  152.    to worry about. Existing settings for the system and
  153.    applications do not need to be changed to point to the new
  154.    drive letter. VRAMDIR is very easy to set up, and the system
  155.    runs exactly like before, except that with VRAMDIR it will be
  156.    much faster.
  157.    
  158.    VRAMDIR supports Long File Name, while RAM-disks only support
  159.    short name.
  160.    
  161.    
  162.    ===============================================
  163. D. Advantages of VRAMDIR over Disk-Cache Utilities
  164.    ===============================================
  165.  
  166.    VRAMDIR is several times faster than disk-cache utilities.
  167.    
  168.    VRAMDIR is not designed to replace disk-cache, but VRAMDIR
  169.    does something that disk-cache can not do. Disk cache cannot
  170.    replace VRAMDIR. They are used for different purposes.
  171.    
  172.    Disk-cache keeps most recently accessed files in memory. You
  173.    do not have control of what to keep in the cache and what not.
  174.    VRAMDIR let you control what to be put in RAM. VRAMDIR is
  175.    designed to speed up temporary file access.
  176.    
  177.    VRAMDIR is much faster than disk-cache in the best
  178.    circumstances. Many applications create temporary files on
  179.    hard-disks. With disk-cache, when a temporary file is created,
  180.    it will stay in memory for a short while. Then within, e.g., 1
  181.    second, disk cache will write the file out to hard-disks,
  182.    which is very slow. With VRAMDIR, files can stay in memory
  183.    much longer. A temporary file may stay in memory during its
  184.    entire existence, from the point it is created, to the point
  185.    it is deleted. Hard-disks may never need to be accessed in
  186.    these temporary file operations.
  187.    
  188.    VRAMDIR is still several times faster than disk-cache overall,
  189.    even in the worst situations. For example, WINBENCHÆs disk/mix
  190.    test, which emulates popular applicationsÆ disk operations,
  191.    reads/writes over 100MB of files. When the test is run on a
  192.    Pentium 100 with 32MB RAM, VRAMDIR needs to swap a lot of data
  193.    to the disk. This is one of the worst scenario for VRAMDIR.
  194.    But running the test on VRAMDIR is still over 2 times faster
  195.    than VCACHE.
  196.  
  197.  
  198.    ============
  199. E. Installation
  200.    ============
  201.  
  202.    If applicable, Unzip VRAM107T.ZIP or VRAMD107.ZIP into a
  203.    directory, e.g., C:\VRAMDIR
  204.    
  205.    Switch to the directory, e.g., C:, CD C:\VRAMDIR
  206.    
  207.    In Windows 95, run INSTALL.BAT. This copies files into the
  208.    Windows system directory and modifies system settings. It
  209.    automatically sets the directories pointed to by the TEMP and
  210.    TMP environment variables to be handled by VRAMDIR.
  211.    
  212.    After Windows restarts, all newly created files and sub-
  213.    directories under the TEMP directories will be in RAM.
  214.    Previously existing files and directories will still be on the
  215.    hard-disks.
  216.    
  217.    You can run the control panel VRAMDIR configuration utility to
  218.    change the list of directories to be handled by VRAMDIR.
  219.    
  220.    If you want to temporarily disable VRAMDIR, you can remove all
  221.    the directories in the list using the VRAMDIR configuration
  222.    utility in control panel.
  223.    
  224.    If you want to completely uninstall VRAMDIR, you can run
  225.    Control Panel - Add/Remove Programs - Install/Uninstall,
  226.    select VRAMDIR, then press Add/Remove.
  227.    
  228.    
  229.    =====
  230. F. Usage
  231.    =====
  232.  
  233.    IMPORTANT: Any files under VRAMDIR will be deleted after
  234.    Windows is shut down or restarted. So only temporary files
  235.    should be put under VRAMDIR. If you put other files in VRAMDIR
  236.    for faster operations on them, remember to move them out to
  237.    non-VRAMDIR directories after you finish working with them, if
  238.    you want to save them on the hard-disk.
  239.    
  240.    When VRAMDIR is first installed, it will automatically put
  241.    TEMP and TMP directories under VRAMDIR. You can later use
  242.    VRAMDIR configuration utility in control panel to edit the
  243.    list.
  244.    
  245.    When you delete VRAMDIR files in Windows Explorer, if you say
  246.    YES to put the files into Recycle Bin, the files will be
  247.    written onto disk in Recycle Bin, which can be slow. If this
  248.    is not what you want, you can delete the files without saving
  249.    them into Recycle Bin by holding down the SHIFT key when you
  250.    press DELETE in Windows Explorer.
  251.  
  252.    If an application queries for the amount of free space in a
  253.    VRAMDIR directory, the free space of the hard-disk that host
  254.    the directory is returned. If the application complains about
  255.    not enough space, more space on the hard-disk need to be
  256.    freed. Most likely, VRAMDIR does not need the free space on
  257.    the hard-disk, and VRAMDIR is able to hold more files than
  258.    what the hard-disk free space indicates. For example, if the
  259.    hard-disk has 10MB free, after 5MB of new files are created in
  260.    VRAMDIR, the hard-disk may still have 10MB free, instead of
  261.    5MB.
  262.  
  263.    Directories mapped to VRAMDIR can not be deleted or renamed.
  264.    For example, if C:\WIN95\TEMP is mapped to VRAMDIR, C:\WIN95
  265.    can not be deleted, nor can it be renamed, e.g., to
  266.    C:\WINDOWS. If you want to delete or rename such directories,
  267.    you should unmap the VRAMDIR directory first, e.g., unmap
  268.    C:\WIN95\TEMP in the control panel VRAMDIR configuration
  269.    utility.
  270.    
  271.    You can get VRAMDIR performance statistics from System
  272.    Monitor:
  273.    
  274.    VRAMDIR - Memory Allocated: the total amount of virtual memory
  275.    allocated by VRAMDIR at the moment.
  276.    
  277.    VRAMDIR - Bytes Read/Written: the total number of bytes
  278.    read/written in VRAMDIR from system boot-up.
  279.    
  280.    VRAMDIR - Operations Performed: the total number of file
  281.    operations performed by VRAMDIR.
  282.    
  283.    
  284.    ==========
  285. G. Benchmarks
  286.    ==========
  287.    
  288.    Wintune 95, WINDOWS Magazine's test and tune-up kit,
  289.    http://www.winmag.com/software/wt95.htm
  290.    
  291.    WinBench 96, PC Magazine,
  292.    http://www.zdnet.com/zdbop/winbench/winbench.html
  293.    
  294.    MDB95,
  295.    http://ourworld.compuserve.com/homepages/mschoebel/mdb95.htm
  296.    
  297.    To test VRAMDIR speed with these benchmarks, you need to map a
  298.    root directory to VRAMDIR, e.g., D:\. You should select a
  299.    drive with the fewest files. Remember to remove the mapping
  300.    after you finish benchmarking. Otherwise, all new files on
  301.    that drive will be in RAM and will not be saved onto the hard-
  302.    disk.
  303.    
  304.    For the true speed of hard-disks, you need to look at the
  305.    uncached benchmark number in MDB or Wintune.
  306.    
  307.    To get the true speed of VRAMDIR, you need 3MB free memory to
  308.    run Wintune, or enough free memory to hold the test file in
  309.    MDB. Before you run the benchmarks, you can check the amount
  310.    of free memory using System Monitor. To make more free memory
  311.    available, you can limit VCACHE size by putting the following
  312.    in SYSTEM.INI, e.g.:
  313.    
  314.    [vcache]
  315.    MinFileCache = 1000
  316.    MaxFileCache = 1000
  317.    
  318.    You can remove these settings after you finish benchmarking.
  319.    
  320.    To get the real life speed difference between VRAMDIR and
  321.    cached hard-disks, you can run the Disk WinMark in WinBench,
  322.    which emulates disk file operations in 13 popular Windows
  323.    applications.
  324.    
  325.    For example, the results of the benchmarks on a Gateway 2000
  326.    Pentium 100:
  327.    
  328.    MDB 16MB file:
  329.    
  330.    Hard-disk: 1.4 MB/s
  331.    RAMDRIVE:  9.0 MB/s
  332.    VRAMDIR:  35.0 MB/s
  333.    
  334.    WinBench Disk WinMark:
  335.    
  336.    VCACHE:  0.7 MB/s
  337.    VRAMDIR: 1.5 MB/s
  338.  
  339.  
  340.    ==============================================
  341. H. Where to Get the FREE Trial Version of VRAMDIR
  342.    ==============================================
  343.    
  344.    http://accessone.com/~virtual/vramdir.htm
  345.    
  346.    
  347.    ==========================
  348. I. Limit of the Trial Version
  349.    ==========================
  350.  
  351.    If you have not paid Virtual Software Corporation for VRAMDIR,
  352.    you are running a trial version of VRAMDIR. After you
  353.    experienced the advantages provided by VRAMDIR, you can order
  354.    the full version from Virtual Software Corporation.
  355.    
  356.    The trial version is time limited to 30 minutes. After 30
  357.    minutes, the files will be written to hard-disks instead of in
  358.    VRAMDIR. The system will function as before. If you need more
  359.    time to evaluate VRAMDIR, you can restart Windows and VRAMDIR
  360.    will run for another 30-minute. If you buy the full version,
  361.    there will be no time limit, and VRAMDIR will function all the
  362.    time.
  363.    
  364.    After 30 minutes, a message box will pop up signaling the
  365.    expiration of the trial period. If the display is blanked into
  366.    power-saving mode when the message box pop up, the message box
  367.    will not be visible. Just press SPACE to get rid of the
  368.    invisible message box.
  369.    
  370.    In the trial version, sub-directories under VRAMDIR are
  371.    created on the hard-disks, while files under VRAMDIR are in
  372.    RAM. If you buy the full version, all files and sub-
  373.    directories under VRAMDIR will be in RAM.
  374.    
  375.    The full version is a little bit faster than the trial
  376.    version.
  377.    
  378.    
  379.    ====================
  380. J. How to Order VRAMDIR
  381.    ====================
  382.  
  383.    If you have an email account, we can send you a UUENCODED
  384.    VRAMD107.ZIP file through email. It costs US$10. Fill and
  385.    print out ORDER.TXT form and send it to us with a check of
  386.    US$10. Please make sure to include your email address.
  387.    
  388.    If you prefer to receive a floppy disk, it costs US$15 for an
  389.    address in US, and US$20 for outside US. Fill and print out
  390.    ORDER.TXT form and send it to us with fund in US$.
  391.    
  392.    You can send the check and the order form to:
  393.    
  394.    Virtual Software Corporation
  395.    15016 SE 63 St.
  396.    Bellevue, WA 98006-4634
  397.    USA
  398.    
  399.    
  400.    =================
  401. K. Technical Support
  402.    =================
  403.  
  404.    You can visit our www site at:
  405.    http://accessone.com/~virtual/vramdir.htm
  406.    
  407.    If you have further questions, you can send us email to:
  408.    virtual@accessone.com
  409.    
  410.    You can also send us postal mail to:
  411.    
  412.    Virtual Software Corporation
  413.    15016 SE 63 St.
  414.    Bellevue, WA 98006-4634
  415.    USA
  416.    
  417.    
  418.    ======================
  419. L. License and Disclaimer
  420.    ======================
  421.  
  422.    One copy of VRAMDIR can only be installed on one workstation
  423.    computer. It can NOT be put on network servers to be shared by
  424.    workstations. The full version of VRAMDIR can NOT be
  425.    distributed or copied to any other people in any way.
  426.  
  427.    Anyone distributing the trial version of VRAMDIR must first
  428.    contact Virtual Software Corporation for authorization.
  429.  
  430.    Users of VRAMDIR must accept this disclaimer of warranty:
  431.    
  432.    VRAMDIR is supplied as is. The author disclaims all
  433.    warranties, expressed or implied, including, without
  434.    limitation, the warranties of merchantability and of fitness
  435.    for any purpose. The author assumes no liability for damages,
  436.    direct or consequential, which may result from the use of
  437.    VRAMDIR.
  438.  
  439.