.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   [OT] virtual memory (http://forum.shrapnelgames.com/showthread.php?t=10042)

narf poit chez BOOM July 31st, 2003 06:22 AM

[OT] virtual memory
 
i've got a new hard drive. should i put virtual memory on it, to?

Jack Simth July 31st, 2003 06:38 AM

Re: [OT] virtual memory
 
You usually want to put virtual memory on the drive with the most free space. If the new drive has more free space, go for it.

Slick July 31st, 2003 07:32 AM

Re: [OT] virtual memory
 
I think you should put your vm on the fastest drive. 99% of the time, the slowest and most limiting component on a computer is the harddrive. Speed it up, access it less, or access a faster one and you have a faster system.

JM $0.02

Slick.

Ruatha July 31st, 2003 07:52 AM

Re: [OT] virtual memory
 
If you have enough RAM you can try to disable virtual memory altogether.
If you get out of memory errors or warnings you can enable it.

If you can work without virtual memory it is prefarable, as it will speed up the computer some.
If you must use VM try to set it to a fixed size, the scaling of it up and down also takes some time, and if it is a fixed size you can do a boot defrag on it, if it's dynamic it will fragmantize.

[ July 31, 2003, 06:54: Message edited by: Ruatha ]

Thermodyne July 31st, 2003 09:30 PM

Re: [OT] virtual memory
 
The virtual memory should be fixed in size, do not let the page file alter its size dynamically. This causes it to be fragmented all over the partition.

If you have a second drive on a second controller, moving the page file to that drive will speed performance a little. It lets the system page at the same time that the system is accessing data on the system drive. Well, almost at the same time http://forum.shrapnelgames.com/images/icons/icon7.gif Moving it to your SCSI stripe volume could be interesting :0

With a gig of memory, a large page file will slow the system down. Above a gig, the memory addressing load will start to slow system performance, and windows has a way of grabbing every bite of ram that it can latch onto.

As a rule, the page file should be 1.5 times the size of the installed ram. But I never found any reason for this. Big page files take longer to access, so IMHO keep it small.

No page file can cause problems. Some apps are written to use the page file for some data. This was done to free up system ram back in the day, but it still populates some code. Seti is an app that pages by default. IMHO 128megs is a ball park lower limit.

All things ram are done in 32’s, 32-64-128-256-512-1024. Try to work the page file size in the same increments. It eases the addressing load on the CPU.

Ruatha August 1st, 2003 08:20 AM

Re: [OT] virtual memory
 
Quote:

Originally posted by Thermodyne:

No page file can cause problems. Some apps are written to use the page file for some data. This was done to free up system ram back in the day, but it still populates some code. Seti is an app that pages by default. IMHO 128megs is a ball park lower limit.

<font size="2" face="Verdana, Helvetica, sans-serif">Still, if you don't use proggies that needs VM it's better to have none, as it then won't access the HD all the time.

Quote:


All things ram are done in 32’s, 32-64-128-256-512-1024. Try to work the page file size in the same increments. It eases the addressing load on the CPU.

<font size="2" face="Verdana, Helvetica, sans-serif">This I seriously question!
What should be the reason for the CPU to have "easier adress load" with 33554432 Bytes (32M) or 32M-some (ex 30M)?
Every adress between the 24 and the 32M range uses the same adress length (actually, above 16M it uses the same registers IIRC).
And a modern PC is made for large adress lenghts, so it should make no significant change to the internal workload for the computer what size the page file is, the only difference is in the drive handling. (And as I've stated far below in fragmantazion, aka also drive issues)
Right?
Enlighten me.

[ August 01, 2003, 07:24: Message edited by: Ruatha ]

narf poit chez BOOM August 1st, 2003 08:26 AM

Re: [OT] virtual memory
 
i read 2.5.

what's an SCSI?

and remember, when you open up a bunch of tabs, reload.

[ August 01, 2003, 07:27: Message edited by: narf poit chez BOOM ]

Ruatha August 1st, 2003 09:07 AM

Re: [OT] virtual memory
 
Quote:

Originally posted by narf poit chez BOOM:
i read 2.5.

what's an SCSI?

and remember, when you open up a bunch of tabs, reload.

<font size="2" face="Verdana, Helvetica, sans-serif">Small Computer Systems Interface.

A interface for harddrives and other peripheals, instead of the AT/IDE bus and for example the parallel port.
Can be used for a various array of peripherals but is mainly used for disks.
Previously RAID was exlusive for SCSI (Redundant Array of Inexpensive Disks) but now you can do that in IDE with a RAID controller aswell.
The SCSI interface is smarter than IDE and has some inbuilt logic circuits that made it faster in shuffling data and SCSI disks where generally faster and larger than their ATA counterparts.
The differences are lessening all the time.

JoeViterbo August 1st, 2003 09:26 AM

Re: [OT] virtual memory
 
The configuration of virtual memory even depends on your Version of windows. i think windows xp can even manage multiple page-files.

On rule to speed up things is: if you have two drives, put them on different controllers. Put your resource-consuming application to the drive where the page file is NOT. So using the page file and reloading software components won't interfere.

It is not a good solution to turn of the virtual memory. If you run multiple applications, your system will soon need it. Btw: Windows usually writes first the data to disk, that appears to be less important( e.g. idle apps etc )

Quote:

All things ram are done in 32’s, 32-64-128-256-512-1024. Try to work the page file size in the same increments. It eases the addressing load on the CPU.
<font size="2" face="Verdana, Helvetica, sans-serif">I think the cpu runs in protected mode anyways. So every address is 32-Bit. There are no more "far" and "short" jumps. the cpu accesses each (even)adress at the same speed.

[ August 01, 2003, 08:37: Message edited by: JoeViterbo ]

Ruatha August 1st, 2003 09:51 AM

Re: [OT] virtual memory
 
I ran along time with 512M ram and no page file.
It's just when I started using many programs at once that I needed the VM, and then you get an error message telling you soo.
So there's no danger in trying to disable it and see if you can live without it.

I use XP an dhas most unnessacary services disabled or started when needed (Started automaticly then but actually in the services folder it says "Manual" http://forum.shrapnelgames.com/images/icons/icon7.gif )

And yes, in XP you can configure one page file for each drive if you wish.

[ August 01, 2003, 08:54: Message edited by: Ruatha ]


All times are GMT -4. The time now is 11:52 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.