"most RAM disk drivers available perform worse than a modern Hard Disk subsystem"
Is that true for mutliple random access to a large file? I would have thought that the seek time of
a hard disk subsystem would seriously slow things down if the file size is considerably larger than
the hard disk cache size. By using a RAM disk, the seek time should be much faster.
Okey, here is a complete drill-down of my scenario :
- Enviroment is a windows 2003 server wunning a windows service.
- Due to company policy i am unable to install any software on the
server.
- I'm looking for a "Microsoft" solution without the use of third party
tools. Again because of company rules.
A RAM disk consist of a device driver. So, your only option (due to policy) is to develop
such a driver yourself using the WDK (Windows Driver Kit). Wonder whether the company rules
will allow you to install such device driver though.
Not also the only sofisticated drivers will outperform the OS cache manager, most RAM disk
drivers available perform worse than a modern Hard Disk subsystem.
My windows service works as follows :
- it listens to a websphere MessageQueue from wich it receives a soap
message
- the soap contains base64 Postscript data
- file has to beconverted (this is my tricky part)
- file has to be re-encoded as a base64 string, and sent back as a soap
message
Due to requirements of the conversion only 1 package will do namely
ghostscript (which is currently going through a package acceptation by
the company ict managment)
ghostscript accepts only file paths as parameters. all disk io is done
by the dll that is called.
I want to avoid disk usage as much as possible to gain in speed.
I'm not sure whether you will gain anything when using a RAM disk, as said above modern disk
subsystems are quite performant. Anyway, the only way to find out wheter a RAM disk would be
of any help is *measure*, however, as your environment is constrained by company policies, I
don't see how you will be able to accomplish this.
Note also that I doubt you will gain anything at all using A RAM disk, after all, the
slowest link is the network (10-100? times slower than a disk).
Willy.