fsgregs wrote:Selden:
I have a 120 GB Hard Drive and 512 MB of RAM.
512MB is not enough RAM if you want to tour much of
The Billow Maidens without exiting from Celestia. :(
My system at work has 512MB and it choked.
1GB of RAM probably is more appropriate.
Also, after I viewed about a dozen locations, some objects that I was visiting for the first time weren't being drawn. I presume this means that more than 128MB of graphics memory is needed, too. :(
What is the procedure to optimize memory allocation in a WIN XP system to please the demands of Celestia? You mentioned how to do it once before somewhere, but if you could please re-explain, I'd appreciate it.
Please remember that a paging file can only make it possible to run large programs. It can't make them run well. For that you need more RAM. Optimizing the paging file is not going to increase Celestia's frame rate by very much.
Basically, the paging file needs to be contiguous.
A non-contiguous file has pieces scattered all over the disk. Moving the disk heads is slow, so you want to minimize the need to move them. A contiguous file has all of its blocks next to one another.
To minimize interference with other disk I/O, the paging file also should not be on a disk where you do a lot of other I/O. Paging takes priority over all other I/O requests.
Here is one method of optimizing a paging file, assuming you're currently letting Windows control it dynamically.
1. defragment the disk containing your paging file.
2. Reboot (so that the system is using a minimal paging file.)
3. Allocate a paging file with a large fixed size
(When Windows is allowed to control the size, it allocates new paging file chunks wherever it finds room on the disk.)
4. optional: defragment the paging file.
(When you allocate the file, it'll be in at least two pices, maybe more. At least one piece will be what Windows dynamically allocated, and one large piece that was added when you configured the fixed size. Unfortunately, Windows doesn't include software that can defragment a paging file. There are 3rd party programs that can.)
5. reboot
Step 3 is the important one, of course. Under XP you can create a fixed size paging file by following this procedure:
1. open the Start menu
2. open the Control Panel
3. open the System window
4. select the Advanced tab
5. select the Performance Settings button
+ the "Performance Options" window opens
6. select the Advanced tab
7. select the Virtual Memory Change button (near the bottom right of the window)
+ the "Virtual Memory" window opens
8. highlight the drive where you want the paging file to be -- normally C:
9. select "Custom Size"
10. Set "Initial Size" to a large value, maybe 4096
11. Set "Maximum Size" to exactly that same value
(You do
not want Windows to even consider adding to it and thus causing it to fragment.)
12. Select the "Set" button
13. Click on all the OK buttons, closing all the windows.
14. Reboot so the new paging file is used.
15. verify that the new paging file actually is being used. (I've seen cases where sometimes it wasn't.)
15a. open the Windows Task Manager
15b. select the Performance tab
15c. observe the "Commit Charge (K) pane at the bottom left. The "Limit" value should be the sum of your systems RAM size and the size of the new paging file.
My system at work has 512MB of main memory and 2048MB of virtual memory, and its Limit value is 2588772
Whew!
I hope this helps.