Reply
Old April 19th, 2002 Top | #1
beatofangel
 
beatofangel's Avatar
Unregistered
Posts: n/a

Default Virtual Memory Question...

hi,
i have my virtual memory at "system managed size" and it is going slow. It takes like 3-5 seconds to load up Microsoft Word 2000 and before it was 1-2 seconds with WiN 2000.

Should i Set the initial and max size and if so, any suggestion to what the value be?

thanks, i'm a n00b in winXP Pro

my specs are:
p4 1.6
ASUS mobo
512 mb ddram PC2100
gforce 2 gts 32 mb ddr
Creative sound card
  Reply With Quote
Old April 19th, 2002 Top | #2

OSNN Folding Team  
Terrahertz's Avatar
Extinction Agenda
Joined: April 2002
Location: New York
Posts: 972
Reputation: 294
Power: 135

Default

Damn I know this [sorry was out drinking] Its What ever your memory is divided by 2 or 4 I think....
Arhghhh just use cacheman here>
http://download.com.com/3000-2094-88...ml?legacy=cnet

INSTALLATION & ADMINISTRATION
Terrahertz is offline   Reply With Quote
Old April 19th, 2002 Top | #3
 
dreamliner77's Avatar
The Analog Kid
Joined: March 2002
Location: Red Sox Nation
Posts: 4,653
Reputation: 1111
Power: 182

Default

1.5 times the amount of ram you have. Keep min and max the same

"You can fight without ever winning, but never win without a fight." -Neil Peart of RUSH

dreamliner77 is offline   Reply With Quote
Old April 19th, 2002 Top | #4
Device
 
Device's Avatar
Unregistered
Posts: n/a

Default

You have plenty of RAM to make Windows use that only and not yoru harddisk space. It should speed up things a bit.

Go here if you want to set that (and lots of other options) easily.
  Reply With Quote
Old April 19th, 2002 Top | #5
beatofangel
 
beatofangel's Avatar
Unregistered
Posts: n/a

Default

so if i have 512 mb ram
1.5 * 512 = 768 which is the initial
and max i have 768 * 3 = 2304 as the max

are these settings right ?

thanks for the help,
  Reply With Quote
Old April 19th, 2002 Top | #6
leonlai
 
leonlai's Avatar
Unregistered
Posts: n/a

Default

u should leave min and max at 768
  Reply With Quote
Old April 19th, 2002 Top | #7
Device
 
Device's Avatar
Unregistered
Posts: n/a

Default

According to your formula, the more RAM you have, the more disk space you should allocate for a swap file. That does not make any sense at all. The more RAM you have, the more you can use and thus you will not need to make a slower virtual RAM on your hard disk. That is only helpfull if your amount of RAM isn't sufficient.

Even more senseless, you are saying that you will have your computer not let the swap file be any less than 768 MB! Now even if your computer doesn't need to swap at all, you will force it to use your slower hard disk instead of RAM, no matter how much is available.

As I said, in your case you can turn off virtual memory entirely, but if you insist, at least put the minimum to 0. (makes sense, doesn't it?) And the maximum whatever you like then, but the lower the better.
  Reply With Quote
Old April 19th, 2002 Top | #8
beatofangel
 
beatofangel's Avatar
Unregistered
Posts: n/a

Default

umm i'm lost ^_^


so who is right??
  Reply With Quote
Old April 19th, 2002 Top | #9
 
Capricorn's Avatar
OSNN Senior Addict
Joined: December 2001
Posts: 379
Reputation: 10
Power: 131

Default

I have asked about Virtual Memory before, but am still confused. I am running Win XP Pro. I get a message that my Virtual Memory is too low and that Windows is increasing it. This message only comes up when I am shutting my computer down. I know of three others running Pro, who get the same message. I have tried lots of settings including System Managed Size, but the message still comes up at shutdown. Windows does recommend 1.5 times RAM, but as stated above this does seem odd as increasing RAM would mean increasing Virtual Memory. Are any others getting this message on shutdown? If there is no other way around it is there an optrion not to show this message in the registry?
Capricorn is offline   Reply With Quote
Old April 19th, 2002 Top | #10
Outlaw21
 
Outlaw21's Avatar
Unregistered
Posts: n/a

Default

Device, here's why you have min and max the same, it doesn't become fragmented!
Device, here's why you don't disable the page file (XP calls it a page file, not virtual memory or swap file), some programs, like Adobe Photoshop require a page file.
Also, the more RAM you have, the more XP will use, having a large amount of RAM does not mean you will have gobs of unused RAM.
Device, if you want to do it your way that's fine but you're advice is poor advice for newbies.
The proper size page file is 1.5 times RAM, it should be static (min and max the same) and it should be on the fastest hard drive, if you have more than one physical drive.
  Reply With Quote
Old April 19th, 2002 Top | #11
Device
 
Device's Avatar
Unregistered
Posts: n/a

Default

Adobe Photoshop creates its own pagefile independently from Windows.

Having the minimum and maximum size the same to avoid it from becoming fragmented does sound logical and I had overlooked that fact.

But I still question why you would use hard disk space for temporary memory if you can use RAM, when RAM is so much faster.

I do use a page file, but that's because i have 256 MB of RAM. But I intend to upgrade and not use a page file at all.

But of course, to beatofangel, you can always turn it off. See how your system performs and keep an eye on your task manager. (ctrl+alt+del) If your RAM gets loaded, you can always set it back to pagefile use.
  Reply With Quote
Old April 19th, 2002 Top | #12
Raven76
 
Raven76's Avatar
Unregistered
Posts: n/a

Default

There is a lot of misconception about the Windows page file. Most of this confusion comes from the fact that Windows will use the pagefile as virtual RAM, IF you don't have enough RAM to store vital system/application info. This of course is slow since hard drive access is much slower than RAM access. However, the real problem in that situation is not having enough RAM. The pagefile is just a workaround.

The part that is misunderstood is that Windows (especially Windows NT based systems) are not completely stupid. If you have enough RAM Windows will use it properly. It will NOT write important data to the page file just because the page file happens to exist or is nice and big, or whatever. Just like any other OS, Windows will only use the page file for current data if it absolutely has too (due to lack of enough RAM). Otherwise, the page file is used to cache common data sets that are no longer needed in RAM (because that application might be closed for example), but might still be needed again later (like the next time you open that program). Bascially, when you have enough RAM to run your system, Windows uses the pagefile for what it's really intended for; a cache for RAM data blocks that are commonly used in your system, but are not needed at the moment. It is faster to load this info from the page file in a complete and ready state, than it is to read the files individually from all over the hard drive and re-process them.

With enough RAM you can disable the page file completely (though some programs are designed to use it no matter what), but it's not going to improve performance any. I disabled mine for about a month rescently just to see what would happen. Photoshop didn't like it being turned off, but aside from that I couldn't tell the difference. I now have it turned back on, and honestly I don't notice the performance increase, but I know that the pagefile is certainly not hurting anything either (other than taking up disk space).

The 1.5x your RAM rule is usually fine. Setting the min and max the same keeps the file as one big block on the drive so it doesn't get fragmented. If you have lots of RAM like 512+ you can set your page file smaller than 1.5x, but it will just be to free up disk space, not increase performance.

That's about as clear as I can make it with the lack of sleep I had last night. Hope this helps.
  Reply With Quote
Old April 19th, 2002 Top | #13
Dirk Diggler
 
Dirk Diggler's Avatar
Unregistered
Posts: n/a

Default

I will have to agree fully with Raven on this one, I could never agree to a set formula on RAM. I have one and a quarter gigs of RAM and using that formula would mean a Paging File of just short of 2 gigs, plainly rediculous.
  Reply With Quote
Old April 19th, 2002 Top | #14
 
Helmer's Avatar
Questions R me
Joined: January 2002
Posts: 199
Reputation: 0
Power: 128

Default

Hmm.. It may not have any relevance but I've installed about 10 MS Terminal Servers(NT 4.0 engine) and the recomendations to Page Files on these servers are 2.5 x your Physical memory - so if you have 1 GB RAM you make a page file of 2.5 GB.

But Terminal Servers are running as many machines in one so it needs a huge page file - you local pc does not need that much, I'd recommend that you set minimum and max page file to twice the amount of ram you have..

Asus M3A78-EH MOBO
AMD Phenom 9600 2.3GHz
Corsair XMS2 2 x 2 GB PC2-6400CL5
Sparkle GeForce 8800 GTS 512 MB
2x 512 MB SATA RAID 0 HD
650 WATT Corsair PSU

G11 Keyboard FTW in AOC
Helmer is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Got New Memory - Disable Virtual Memory? BaroqueJim General Hardware 5 June 16th, 2004 9:59am
physical/virtual memory question.... U2Penn Windows Desktop Systems 14 July 31st, 2003 9:25pm
Virtual Memory Question? lilsnoop40 Windows Desktop Systems 8 November 1st, 2002 6:02am
Question about Physical/Virtual memory. U2Penn Windows Desktop Systems 1 October 1st, 2002 7:22pm
Virtual Memory?? ZipTriX Windows Desktop Systems 23 January 9th, 2002 4:59am