Tech ARP Forums

Go Back   Tech ARP Forums > Software Discussion > General Software
Register
FAQ Members List Calendar Arcade Mark Forums Read

Google Web www.techarp.com forums.techarp.com

General Software This is the forum for general discussions about software.

Reply
 
LinkBack Thread Tools
Old 17th Aug 2007, 03:01 AM   #1 (permalink)
Newbie
 
Join Date: 17 Aug 2007
Posts: 4
Reputation: 0
titomax82 is an unknown quantity at this point
Rep Power: 0
Default Important opinions concernig virtual memory

Hi all guys,
this is my first post - hoping I used the correct forum's section -
Sorry for my language, I'm italian... and I'm a fan of this site.
I have some question about the Virtual Memory Chapter specifically for "WIndows XP".

As the guide says, to determine the total memory needed (real + virtual), I should watch to the peak I reach with the maximum ram requiring program I use, or the maximum ram requiring situation. That's clear. Supposing I have 2GB of physical ram and my maximum demanding application doesn't need all of this ram (even considering windows background ram utilization), "in theory", I should not need paging memory. But as suggested, and as I noticed in my experience, some programs need paging memory to work, even if there isn't a real need or usage (I noticed this especially with some games).

So in my situation, for example, I don't really need paging memory, but I must enable it to make program run correctly, just to make it run.... so, it's only a question of compatibility. Supposing ram is much faster than hdd pagedfile, I could use a ramdisk to allocate pagefile, so if the "remaing" physical memory is all used (total physical - ramdisk), windows can swap to the ramdisk and it should be as fast as normal memory. This always considering that the ram needed in my situation does never exceed my 2GB so I don't go out of ram.

Even if the program pages something just because it has to do so, for how it's been programmed, I shouldn't notice performance impact because it pages to ram!

This reasonment should be correct: ram is enough, and pagefile is enabled, but not for more ram, but only because some programs requires its presence... so there are 2 important question:
- in this particular case should I however enable the "disablepagingexecutive" tweak or in this case it's useless and I leave it to 0 because paging, in this particular circumstance is useful?
- considering common programs or games that need pagingfile which is the minimum size I should use (for example some games doesn't run with 512mb, but with 768 they do). Have I to try different ramdisk pagefile all the times or you can suggest a minimum? 768 could be right? or I could use something less? (I never went out of ram with this pagefile in the past even with 1gb of physical ram, now are 2gb)

Hoping I have been clear and you can help me!
Greetings
Tito
titomax82 is offline   Reply With Quote
SPONSOR

Old 17th Aug 2007, 05:09 PM   #2 (permalink)
Active
 
jasperchc's Avatar
 
Join Date: 25 Aug 2005
Location: Kuching, MY
Posts: 542
Reputation: 48
jasperchc is on a distinguished road
Rep Power: 4
Default

hmm... not quite sure about you disabling VM, but if you wanna keep it at min, i think you should just let your system manage the size for you.
__________________
"There is nothing to fear but fear itself" (Franklin D. Roosevelt)
jasperchc is offline   Reply With Quote
Old 17th Aug 2007, 05:24 PM   #3 (permalink)
Newbie
 
Join Date: 17 Aug 2007
Posts: 4
Reputation: 0
titomax82 is an unknown quantity at this point
Rep Power: 0
Default

having the pagefile to a ramdisk I must specify a fixed size...
titomax82 is offline   Reply With Quote
Old 17th Aug 2007, 05:57 PM   #4 (permalink)
Active
 
jasperchc's Avatar
 
Join Date: 25 Aug 2005
Location: Kuching, MY
Posts: 542
Reputation: 48
jasperchc is on a distinguished road
Rep Power: 4
Default

ahh, dont know about that , i guess you need someone more knowledgable to help you
__________________
"There is nothing to fear but fear itself" (Franklin D. Roosevelt)
jasperchc is offline   Reply With Quote
Old 18th Aug 2007, 01:39 AM   #5 (permalink)
Da Boss
 
Join Date: 10 Oct 2002
Location: In front of my BenQ Joybook 7000 notebook!
Posts: 29,939
Reputation: 2958
Adrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond repute
Rep Power: 65
Default

You can enable disablepagingexecutive to force Windows to use more of your physical RAM. But many programs still require the page file to work. In any case, even if you disable the page file, Windows will still create it whenever it needs more RAM. So, it makes sense to pre-create the paging file so you can ensure that it's contiguous.

As for the smallest size you should set, as explained in the article, the best thing to do would be to try out your system with as many of your applications running together (in the worst case scenario) and check the paging file usage. Then round it up (for example, if your paging file reaches 1.3GB, round it up to 1.5GB) and use that number for your permanent paging file.

Don't worry so much about making the smallest paging file you can. Hard drive space isn't as critical as it was in the past. Now, you can add an extra 500MB to your paging file without feeling the pinch.
__________________
Dr. Adrian Wong
Tech ARP | Blog @ Tech ARP | The Free Trade Zone


DYKT : The only offshore account I have is at the sand bank?

Keep Tech ARP free! Visit our sponsors!

We need PROGRAMMERS and TECHNICAL WRITERS! Contact us if you are a hot shot programmer or technical writer!

My items for sale : 50x SD Card | Memory Stick PRO | Cyclone Energy Saver | Seiko SS watch | Tiger/Carlsberg beer jugs | Travel Speakers | Motorola V600 | Nokia N90 SOLD! | New Lowepro Mini Trekker AW

Other items for sale @ the FTZ : Zalman CNPS9500 LED @ $20 | Zalman CNPS7700 Cu @ $20 | Zalman CNPS7000 Cu @ $20 | Swarovski bracelet watches | Dell 17" LCD | Hi-Fi speakers | English DIVX movies | HP LaserJet toners! | Office chairs
Adrian Wong is offline   Reply With Quote
Old 18th Aug 2007, 01:41 AM   #6 (permalink)
Da Boss
 
Join Date: 10 Oct 2002
Location: In front of my BenQ Joybook 7000 notebook!
Posts: 29,939
Reputation: 2958
Adrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond repute
Rep Power: 65
Default

Quote:
Originally Posted by titomax82 View Post
having the pagefile to a ramdisk I must specify a fixed size...
Err.. I think I addressed the issue of placing a paging file on a RAM disk. It's pointless, like reaching behind your head to touch your nose.
__________________
Dr. Adrian Wong
Tech ARP | Blog @ Tech ARP | The Free Trade Zone


DYKT : The only offshore account I have is at the sand bank?

Keep Tech ARP free! Visit our sponsors!

We need PROGRAMMERS and TECHNICAL WRITERS! Contact us if you are a hot shot programmer or technical writer!

My items for sale : 50x SD Card | Memory Stick PRO | Cyclone Energy Saver | Seiko SS watch | Tiger/Carlsberg beer jugs | Travel Speakers | Motorola V600 | Nokia N90 SOLD! | New Lowepro Mini Trekker AW

Other items for sale @ the FTZ : Zalman CNPS9500 LED @ $20 | Zalman CNPS7700 Cu @ $20 | Zalman CNPS7000 Cu @ $20 | Swarovski bracelet watches | Dell 17" LCD | Hi-Fi speakers | English DIVX movies | HP LaserJet toners! | Office chairs
Adrian Wong is offline   Reply With Quote
Old 18th Aug 2007, 02:14 AM   #7 (permalink)
ARP Webmaster
 
peaz's Avatar
 
Join Date: 13 Oct 2002
Location: http://atpeaz.placidthoughts.com/
Posts: 8,500
Reputation: 1633
peaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant future
Rep Power: 31
Default

The best would be to purchase a second physical hard disk, partition a 1GB partition and dedicate that 1st partition to the swap file. That's what I do, except mine is a 2GB partition. With XP, you can easily disable the low disk space notification (since that partition will have like a couple of MB of free space, windows won't allow you to use the whole partition for swap file) . But for VIsta, you'd have to live with the darn nag everytime you boot vista.
peaz is offline   Reply With Quote
Old 19th Aug 2007, 01:22 AM   #8 (permalink)
Da Boss
 
Join Date: 10 Oct 2002
Location: In front of my BenQ Joybook 7000 notebook!
Posts: 29,939
Reputation: 2958
Adrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond repute
Rep Power: 65
Default

IMHO, it would be best to place a page file on every hard drive you have (with separate channels, of course). Windows will be able to switch from drive to drive, according to usage patterns for maximum performance.

Hmm.. Time to update the guide again, I think.
__________________
Dr. Adrian Wong
Tech ARP | Blog @ Tech ARP | The Free Trade Zone


DYKT : The only offshore account I have is at the sand bank?

Keep Tech ARP free! Visit our sponsors!

We need PROGRAMMERS and TECHNICAL WRITERS! Contact us if you are a hot shot programmer or technical writer!

My items for sale : 50x SD Card | Memory Stick PRO | Cyclone Energy Saver | Seiko SS watch | Tiger/Carlsberg beer jugs | Travel Speakers | Motorola V600 | Nokia N90 SOLD! | New Lowepro Mini Trekker AW

Other items for sale @ the FTZ : Zalman CNPS9500 LED @ $20 | Zalman CNPS7700 Cu @ $20 | Zalman CNPS7000 Cu @ $20 | Swarovski bracelet watches | Dell 17" LCD | Hi-Fi speakers | English DIVX movies | HP LaserJet toners! | Office chairs
Adrian Wong is offline   Reply With Quote
Old 19th Aug 2007, 09:02 AM   #9 (permalink)
ARP Webmaster
 
peaz's Avatar
 
Join Date: 13 Oct 2002
Location: http://atpeaz.placidthoughts.com/
Posts: 8,500
Reputation: 1633
peaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant futurepeaz has a brilliant future
Rep Power: 31
Default

Quote:
Originally Posted by Adrian Wong View Post
IMHO, it would be best to place a page file on every hard drive you have (with separate channels, of course). Windows will be able to switch from drive to drive, according to usage patterns for maximum performance.

Hmm.. Time to update the guide again, I think.
Hmm Windows's that advanced already? Hmmmm. Darn.
Anyways, i basically put mine at the same hard disk I use for backups.

Hmm as for seperate channels, you should be safe if you're on SATA drives right?
peaz is offline   Reply With Quote
Old 19th Aug 2007, 11:00 PM   #10 (permalink)
Da Boss
 
Join Date: 10 Oct 2002
Location: In front of my BenQ Joybook 7000 notebook!
Posts: 29,939
Reputation: 2958
Adrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond repute
Rep Power: 65
Default

Quote:
Originally Posted by peaz View Post
Hmm Windows's that advanced already? Hmmmm. Darn.
Anyways, i basically put mine at the same hard disk I use for backups.

Hmm as for seperate channels, you should be safe if you're on SATA drives right?
Yup, Windows XP and Vista will automatically switch to the paging file of any drive that is not busy.

Yeah, SATA drives all have separate channels.
__________________
Dr. Adrian Wong
Tech ARP | Blog @ Tech ARP | The Free Trade Zone


DYKT : The only offshore account I have is at the sand bank?

Keep Tech ARP free! Visit our sponsors!

We need PROGRAMMERS and TECHNICAL WRITERS! Contact us if you are a hot shot programmer or technical writer!

My items for sale : 50x SD Card | Memory Stick PRO | Cyclone Energy Saver | Seiko SS watch | Tiger/Carlsberg beer jugs | Travel Speakers | Motorola V600 | Nokia N90 SOLD! | New Lowepro Mini Trekker AW

Other items for sale @ the FTZ : Zalman CNPS9500 LED @ $20 | Zalman CNPS7700 Cu @ $20 | Zalman CNPS7000 Cu @ $20 | Swarovski bracelet watches | Dell 17" LCD | Hi-Fi speakers | English DIVX movies | HP LaserJet toners! | Office chairs
Adrian Wong is offline   Reply With Quote
Reply


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +8. The time now is 02:07 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 1998-2007 Tech ARP. All rights reserved.