I was thinking about something based on the available physical memory at the time avisynth starts, so it should never trash to virtual memory, whatever the number of instances running concurrently (unless all instances are launched at exactly the same time).
@dividee Yes. Setting max memory to 40MB cleared the problem. I think this is a serious issue with the current version. There's no warning anywhere and if people don't know they will unnecessarily throw away over half their performance! I just happened to notice a massive slowdown when I installed 2.04. :) @droolian01 It's not an issue of how fast the machine is. Mine is an XP 1900+ with 512Meg of RAM and a fast disk. It might be even faster for you with this memory increase!
The memory thing could be an issue in another way. I sometimes use GreedyHMA (or Decomb?) with DirectShowSource or other input that does not necessarily have complete support for random seeking. But GreedyHMA does indeed read records randomly and I've usually felt I could get away with it because records read out of order will usually be within the last 5-6 records read, and therefore already in Avisynth buffers. But if the random record requires actually going back to the file instead of buffer cache then it is not only a possible performance hit but also may cause errors for some of these filters. And since I'm often reading 1920x1080 sized records I could eat up the available buffers pretty quick. So it is nice to know about the memory condition and the override command. Thanks, :) - Tom
@trbarry How could going back to the disk versus the frame cache cause problems other than performance ones? Accessing the frame cache randomly should present the same problems as accessing the file system randomly. No?
--------------------- 1995 325i coupe, Superchipped, Mania RVR 18" alloys with 225/40/18 Continentals. Full M Tech kit(no sideskirts yet), M3 mirrors(not fitted yet). Kenwood KDC-MP6090R MP3 head unit, Kenwood C-717 10 x CD autochanger
neuron2 - Well, correct me if I'm wrong, but if you have just read record 10 and you choose to next read record 5 then Avisynth will probably just ask for record 5. But I'm not sure that some decoders can gracefully read backwards. When they are going forward they can just chug through the records, and some do. DVD2AVI, for instance, will check to see if the record you are asking for happens to be one more than the last one and take an optimized path. But I don't think full random access always works with DirectShowSource or some other decoders. But Avisynth's cache is (I think) by clip & frame number and if he's already got it then all is okay. - Tom