Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

Subject: swapfile??

Original Message
Name: ZM
Date: August 1, 2001 at 11:38:49 Pacific
Subject: swapfile??
Comment:
ive read several times on here that it is advantageous to set your swapfile size to 1.5 times the amount of ram you have. i would greatly appreciate an explanation as to what swapfile is and why it is better to have a fixed size than the default windows settings.

also, how do i change it?

system specs (i dont know why youd need my system specs, but you never know)
PIII 866 mhz
256 mb ram
40 gb hard drive
WIN ME
NVIDIA TNT2


Report Offensive Message For Removal

Response Number 1
Name: Eric
Date: August 1, 2001 at 12:05:12 Pacific
Subject: swapfile??
Reply: (edit)
I have heard anywhere from 1.5 to 2.5 your memory. Windows uses the swap file when you don't have enough real memory left. I pages whatever is not active out to the swap file to make room for the active application.

If you let Windows manage the swap file, it will keep allocating more and more hard drive space as needed until it could conceivably use your entire drive. Also, when the swap file is allocated dynamically, you will get a fragmented file and Windows needs to use your cpu to calculate swap file size. A fixed swapfile will be placed at the top of your drive after a defrag (at least norton does it) and since it never grows, you should get better performance.

You can change it in system properties/performance/virtual memory.



Report Offensive Follow Up For Removal

Response Number 2
Name: Miroslav Vadovic
Date: August 1, 2001 at 12:06:43 Pacific
Subject: swapfile??
Reply: (edit)
main advantage of setting fixed size of the swap file is reduction of disk fragmentation... you can almost eliminate fragmentation if you set the min and max swap file size to the same value (200 meg or 300 meg should work good for you... it is easy to experiment with the size) and move the swap file to a diferent partition.. it also reduces load on the CPU, becuse it does not need constantly evaluate the free disk space to set the swap file size
Regards Miro

Report Offensive Follow Up For Removal

Response Number 3
Name: DaBeast
Date: August 1, 2001 at 12:07:23 Pacific
Subject: swapfile??
Reply: (edit)
Hi ZM,
To begin with, 1.5 x your ram should be fine for the amount of RAM you have (you can increase it later if it gives you trouble).

The swap file is a portion of your hard drive set by you or your operating system to allow your computer to run more programs then it has RAM for by shuttling some of the load to the HD.

When you allow windows to set the size, it calculates how much space is available on the partition that it resides in and sets that as the maximum and 0 as the minimum. The advantage of setting your own is that the swap file does not become fragmented it stays in one location and windows then "knows" the size and location of the swap file, making accessing it faster. Being a set size saves your CPU from constantly checking and resizing it.

To change it, press your "Windows logo" and "break" key, which will bring up your system properties, select the performance tab, press the virtual memory button, click the "let me specify my own virtual memory settings." radio button, set the minimum and the maximum settings at 384 (256 x 1.5) and push OK.

Hope this answers your questions.


Report Offensive Follow Up For Removal

Response Number 4
Name: DaBeast
Date: August 1, 2001 at 12:10:53 Pacific
Subject: swapfile??
Reply: (edit)
Wow you guys type fast. There weren't any responses when I started mine.

Report Offensive Follow Up For Removal

Response Number 5
Name: Renaissance Man
Date: August 2, 2001 at 11:08:53 Pacific
Subject: swapfile??
Reply: (edit)
This is from posting # 6952:

*****
Response Number 2
Name: Renaissance Man
Date: March 10, 2001 at 17:24:34 Pacific
Subject: Win ME and swap file

Reply:
Do NOT set the swap file to 2.5 times the size of your memory. Set the swap file the SAME size. For the most thorough discussion of swap files you will ever need or can imagine, go to www.rojakpot.com and look in the "Speed Demonz' Area."
*****

I haven't gone there in quite a while; I hope it's still there. A stunning and comprehensive article.

I have 256K memory and a 256K swap file and it works fine. The most important thing is that it is fixed. The next most important thing is that it is the FIRST thing on your disk. The article explains all that. Good luck!


Report Offensive Follow Up For Removal

Response Number 6
Name: Renaissance Man
Date: February 21, 2002 at 10:12:26 Pacific
Subject: swapfile??
Reply: (edit)
I have since doubled my swap file to 512K.


Report Offensive Follow Up For Removal



Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: swapfile??

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software



Version Tracker Pro
Keep your software current and secure, effortlessly

Click Here for a Free Scan

Driver Agent
Automatically find the latest drivers for your computer.
Click Here for a Free Scan



The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC