PDA

View Full Version : Testers for Intellicache disk cache software



Mike Chambers
February 8th, 2015, 07:39 PM
If anybody is interested...

I've been writing a disk cache utility called Intellicache, and I'm looking for testers. The way this one works is that it keeps a number of multiple cache buffers in memory. By default, 16 caches of 2 KB, you can modify this on the command line. use icache.exe /? for help. It keeps a "hitlist" of how many times each cached area of the disk has been accessed, and will use this information to tend to keep the most often used data in system RAM for faster access, even over periods time. No write caching yet, that's all immediate pass-through, but I will be adding it. One thing I'd like to do is work on getting the EXE file to take up less space, pretty important with a caching program. It's 27 KB now.

Floppy caching will be added soon, and I will update the link here when it is. It should theoretically work if I enable it, but I want to give it a good workout before I release that... especially when swapping disks out.

It's in the alpha stage here, but so far even after multiple defrag.exe runs on several machines, no data has been corrupted! I feel it's very safe, but still please keep that in mind and back up anything important first. You never know... you have been warned! :o

Here's the download. Binary and source are included. It's in Turbo C++ with some inline assembly. I used 1.01. Borland C++ will probably work.

http://rubbermallet.org/icache-1.0-alpha.zip

After it's running, you can use icache.exe /reset to clear current hitlist information and reset access counts.

Enjoy! I'd love performance feedback and especially constructive criticism on how I can improve it. Yes, I know the /VGA option reports a memory fail. Working on it.

Why write this? I haven't written any new software for vintage machines in ages, and I thought this would be a fun one to get back in the loop with. Plus, afaik, this is a new approach to caching? I could be wrong! :p

luvit
February 10th, 2015, 01:35 PM
welcome back, mc. -- i'm assuming this is written for 8088, yes?

Mike Chambers
February 10th, 2015, 04:42 PM
Hi luvit! Yes, 8088 so any PC compatible ever with a hard drive should run it. I just updated the zip there too, added a /stats command so you can see how many cached versus disk reads have happened since starting it or since the last /reset. I know there's a /u option to uninstall it but for the life of me I can't get that working yet, so don't use it. It'll restore the original interrupt, but the memory it was using will still be unavailable for anything else. I'm telling DOS to free my PSP segment, but it just throws me back an error. Maybe somebody here knows the problem?

KC9UDX
February 10th, 2015, 04:50 PM
Not that I care, but, you do realise there are other products called "Intellicache", no?

Mike Chambers
February 10th, 2015, 05:27 PM
I did not... thanks for the warning, will change it tonight.

KC9UDX
February 11th, 2015, 06:31 AM
I did not... thanks for the warning, will change it tonight.

That's the hard part about naming things. :(