.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old July 31st, 2003, 06:22 AM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default [OT] virtual memory

i've got a new hard drive. should i put virtual memory on it, to?
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote
  #2  
Old July 31st, 2003, 06:38 AM
Jack Simth's Avatar

Jack Simth Jack Simth is offline
Major General
 
Join Date: Oct 2002
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
Jack Simth is on a distinguished road
Default 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.
__________________
Of course, by the time I finish this post, it will already be obsolete. C'est la vie.
Reply With Quote
  #3  
Old July 31st, 2003, 07:32 AM
Slick's Avatar

Slick Slick is offline
Brigadier General
 
Join Date: Apr 2002
Location: Kailua, Hawaii
Posts: 1,860
Thanks: 0
Thanked 1 Time in 1 Post
Slick is on a distinguished road
Default 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.
__________________
Slick.
Reply With Quote
  #4  
Old July 31st, 2003, 07:52 AM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, �sterg�tland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default 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 ]
Reply With Quote
  #5  
Old July 31st, 2003, 09:30 PM
Thermodyne's Avatar

Thermodyne Thermodyne is offline
Lieutenant Colonel
 
Join Date: Dec 2000
Location: DC Burbs USA
Posts: 1,460
Thanks: 0
Thanked 1 Time in 1 Post
Thermodyne is on a distinguished road
Default 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 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.
__________________





Think about it
Reply With Quote
  #6  
Old August 1st, 2003, 08:20 AM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, �sterg�tland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default 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.
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.
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 ]
Reply With Quote
  #7  
Old August 1st, 2003, 08:26 AM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default 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 ]
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote
  #8  
Old August 1st, 2003, 09:07 AM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, �sterg�tland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default 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.
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.
Reply With Quote
  #9  
Old August 1st, 2003, 09:26 AM
JoeViterbo's Avatar

JoeViterbo JoeViterbo is offline
Private
 
Join Date: Jul 2003
Location: Germany
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
JoeViterbo is on a distinguished road
Default 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.
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 ]
Reply With Quote
  #10  
Old August 1st, 2003, 09:51 AM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, �sterg�tland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default 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" )

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 ]
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 08:07 AM.


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