Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!husc6!unix!mxmora From: mxmora@unix.SRI.COM (Matt Mora) Newsgroups: comp.sys.mac.programmer Subject: Re: Disk swapping joys... Keywords: swapping Message-ID: <9492@unix.SRI.COM> Date: 23 Feb 90 21:33:29 GMT References: <37707@cornell.UUCP> Reply-To: mxmora@unix.UUCP (Matt Mora) Distribution: comp Organization: SRI International, Menlo Park, CA Lines: 34 In article <37707@cornell.UUCP> wayner@cs.cornell.edu (Peter Wayner) writes: >I just tried a program I wrote on a one drive MacPlus. The memory >and the system components were fine, but I must have swapped the >program disk with the system disk about 30 times before the program >ran. What are the best ways to load all the different code resources >into memory at the beginning before running anything and generating >system calls? I suppose this might belong in alt.folklore, but I would >like to make my code run smoother for the people who still live in >the pre-hard-disk world. > >Thanks to anyone who can give me some hints... >-Peter Wayner >(wayner@cs.cornell.edu) You might want to set the preload bit of your resources to true. This might help but on a mac plus you might be running up to some memory limits. What does your program do? Does it use a lot of resources? Any more information would help. -- ___________________________________________________________ Matthew Mora SRI International mxmora@unix.sri.com ___________________________________________________________