|
|
|||||||
| About Us | Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
General of Tangerines
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2001
Location: Defending the Sea
Posts: 3,885
|
I have a 800MB swap file that seems to be taking up a lot of hard drive space.
With 256 MB of RAM, what is the best settings to set for my virtual memory (Min. & Max.) so that the swap file is smaller, but still have good performance on my computer? |
|
|
|
|
|
#3 (permalink) |
|
これはバタスです
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2001
Location: Toronto, Ontario, Canada
Posts: 5,811
|
Re: Optimizing Win98 Swap File
It's generally recommended that your swap file be 2x your physical RAM size. 512 MB max and 256 MB min should do just fine. Alternatively you can just have Windows manage your swap file. Windows will increase and decrease the file as needed.
__________________
CPU: Intel Core 2 Quad Q9450 @ 2.66 Ghz (Yorkfield) Mobo: Intel DX48BT2 Memory: 2048 MB PC10600 DDR3 Videocard: PNY Geforce 9800 GX2 PCIe w/ 1024 MB GDDR3 Soundcard: On-board SigmaTel High Definition Audio Hard drive: 300 MB Maxtor & 1 TB Hitachi Optical drive: LG GGW-H20L (2x BD-R DL) OS: Microsoft Windows Vista (32-bit) |
|
|
|
|
|
#5 (permalink) |
|
~¤ PanZeR ¤~ idRO Thor
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2003
Location: Valhalla, in Odin's throne
Posts: 3,145
|
Re: Optimizing Win98 Swap File
800MB Swap? Do you get it by default or you change it? If by defaul, then how much HDD space you have?
I use 98SE and 512MB RAM, Swap File = 1024K. Yes, 1MB only . I really want to disable it, but some games require Swap File, so I enabled it for 1MB
|
|
|
|
|
|
#6 (permalink) | |
|
General of Tangerines
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2001
Location: Defending the Sea
Posts: 3,885
|
Re: Optimizing Win98 Swap File
Quote:
Yes, Windows gave me the 800 MB swap file by default. |
|
|
|
|
|
|
#7 (permalink) |
|
Registered User
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2001
Location: Ohio
Posts: 1,970
|
Re: Optimizing Win98 Swap File
If you want to optimize it set it to 0, then restart. Now, change it to what ever you want it to be set at. It works better when you set the min and max to be the same so it doesn't grow and become fragmented. When you restart, the pagefile will be in 1 "piece."
__________________
Athlon64 3400+ @10.5x250MHz, 2.625GHz | DFI NF3 250GB 2x512 Corsair pc3200 | BFG FX6800 OC 128MB | X-Fi XtremeGamer |
|
|
|
|
|
#8 (permalink) | |
|
邪魔ゎ指せない
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2002
Location: Gosport, England
Posts: 26,255
|
Re: Optimizing Win98 Swap File
Quote:
__________________
![]() >Site Live< Pop over to my site for help with setting up PSX emulators. Help for the Final Fantasies and other RPGs avalaible Celes: (Desktop) Athlon 64 X2 4200+, 2Gb 400MHz DDR Ram, MSI K8N Platinum, GeForce 8800 GTS 320Mb, 500Gb RAID HDD, Vista Business Erika: (MCPC) Athlon XP 2400+, 1Gb 400MHz DDR Ram, geForce 6800 256Mb, 80Gb Hdd, XP 2005 MCE Kimiko: (Desktop 2) Athlon 64 3000+, 512Mb 400MHz DDR Ram, Asus K8V, geForce 6800 128Mb |
|
|
|
|
|
|
#9 (permalink) |
|
これはバタスです
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2001
Location: Toronto, Ontario, Canada
Posts: 5,811
|
Re: Optimizing Win98 Swap File
Heh, I've actually heard the opposite
.
__________________
CPU: Intel Core 2 Quad Q9450 @ 2.66 Ghz (Yorkfield) Mobo: Intel DX48BT2 Memory: 2048 MB PC10600 DDR3 Videocard: PNY Geforce 9800 GX2 PCIe w/ 1024 MB GDDR3 Soundcard: On-board SigmaTel High Definition Audio Hard drive: 300 MB Maxtor & 1 TB Hitachi Optical drive: LG GGW-H20L (2x BD-R DL) OS: Microsoft Windows Vista (32-bit) |
|
|
|
|
|
#10 (permalink) | |
|
邪魔ゎ指せない
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2002
Location: Gosport, England
Posts: 26,255
|
Re: Optimizing Win98 Swap File
Quote:
__________________
![]() >Site Live< Pop over to my site for help with setting up PSX emulators. Help for the Final Fantasies and other RPGs avalaible Celes: (Desktop) Athlon 64 X2 4200+, 2Gb 400MHz DDR Ram, MSI K8N Platinum, GeForce 8800 GTS 320Mb, 500Gb RAID HDD, Vista Business Erika: (MCPC) Athlon XP 2400+, 1Gb 400MHz DDR Ram, geForce 6800 256Mb, 80Gb Hdd, XP 2005 MCE Kimiko: (Desktop 2) Athlon 64 3000+, 512Mb 400MHz DDR Ram, Asus K8V, geForce 6800 128Mb |
|
|
|
|
|
|
#11 (permalink) |
|
Registered User
Join Date: Jul 2003
Location: Houston, TX, USA
Posts: 7
|
Total Swap File Optimization
First off, never completely disable your swap file, or even set it to such a small value. The swap file is an intrinsic part of Windows & it will have certain instabilities if you disable it completely.
If you really want to try & make windows be more "intelligent" about its swap file usage, do this: 1) Open your system.ini file This can be done by going to Start | Run Program Type in "sysedit.exe" & hit Enter Find the "system.ini" panel in the progam that opens 2) Find the line that says "[386Enh]" 3) Add a new line below it (place your cursor at the end of the line & press enter) that reads as follows: ConservativeSwapfileUsage=1 4) Hit the "X" button to close the application (tell it "Yes" to save) & restart windows. This will prevent Windows from creating an unnescessarily large swap file. If you want to crank a little more performance, here's another trick you can use. Grab a copy of Partition Magic, or some other program that will allow you to create a new partition without formatting your drive, & create a secondary partition on one of your harddrives. Using a drive other than the one Windows is installed on will give you the best performance, but if you've only got one drive, that drive will work. I would recommend creating a 500 meg partition (2x your RAM), but you can go a little smaller if you really want to. Once you've created the partition, change your Windows Virtual Memory settings to use a fixed Page File in the drive letter assigned to that new partition & set both the min & max size to whatever size you made your partition. Once you've got it set, you need to reboot the machine. Now your Page File will *never* become fragmented, because nothing will be written to that partition but the page file. Do this on a secondary hard drive & you'll see an even better performance boost. If you're still having problems, Win2K/XP actually has even more tweaks that can be setup, including forceing Windows not to page any system critical DLL files & destroying & recreating the Page File everytime you shutdown & startup. If you don't understand some part of my instructions, just let me know & I'll try & explain better.
__________________
Never underestimate the power of stating the obvious Did you know: If you keep your eye open by force, it will eventually pop out Dual P3 1Ghz, 1Gb RAM, 400W Antec Tower (w/5 fans), GeForce4 Ti4600, SB Audigy, Altec Lansing 3-way speakers, Adaptoid, PS->USB adapter, ActLabs PC Light Gun, Running WinXP Pro |
|
|
|
|
|
#12 (permalink) | |
|
邪魔ゎ指せない
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2002
Location: Gosport, England
Posts: 26,255
|
Re: Optimizing Win98 Swap File
Quote:
__________________
![]() >Site Live< Pop over to my site for help with setting up PSX emulators. Help for the Final Fantasies and other RPGs avalaible Celes: (Desktop) Athlon 64 X2 4200+, 2Gb 400MHz DDR Ram, MSI K8N Platinum, GeForce 8800 GTS 320Mb, 500Gb RAID HDD, Vista Business Erika: (MCPC) Athlon XP 2400+, 1Gb 400MHz DDR Ram, geForce 6800 256Mb, 80Gb Hdd, XP 2005 MCE Kimiko: (Desktop 2) Athlon 64 3000+, 512Mb 400MHz DDR Ram, Asus K8V, geForce 6800 128Mb |
|
|
|
|
|
|
#13 (permalink) | |
|
Technology Guru
![]() ![]() ![]() Join Date: Jul 2001
Location: Massachusetts
Posts: 285
|
Re: Optimizing Win98 Swap File
Quote:
http://www.adriansrojakpot.com/Speed...ization_01.htm
__________________
My System Specs: Viewsonic E790B 19" Monitor MSI 865PE Neo2 - FIS2R P4 3.2Ghz HTT Thermaltake Spark 7 HSF 2x512mb Kingston HyperX DDR400Mhz Leadtek A350 TDH Ultra (FX 5900 Ultra) (480Mhz core, 930Mhz memory) 35GB Maxtor/Quantum Ultra160 SCSI Sound Blaster Audigy 2 ZS Antec Performance Plus 660B case 400 Watt PSU WinXP Pro |
|
|
|
|
|
|
#14 (permalink) |
|
邪魔ゎ指せない
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2002
Location: Gosport, England
Posts: 26,255
|
Re: Optimizing Win98 Swap File
I found a similar article that says the opposite. I shall see if I can dig it up.
edit: reading through your article, it shows the reason for having a set swap size is fragmentation. That's not an issue if it's on a seperate partition.
__________________
![]() >Site Live< Pop over to my site for help with setting up PSX emulators. Help for the Final Fantasies and other RPGs avalaible Celes: (Desktop) Athlon 64 X2 4200+, 2Gb 400MHz DDR Ram, MSI K8N Platinum, GeForce 8800 GTS 320Mb, 500Gb RAID HDD, Vista Business Erika: (MCPC) Athlon XP 2400+, 1Gb 400MHz DDR Ram, geForce 6800 256Mb, 80Gb Hdd, XP 2005 MCE Kimiko: (Desktop 2) Athlon 64 3000+, 512Mb 400MHz DDR Ram, Asus K8V, geForce 6800 128Mb |
|
|
|
|
|
#15 (permalink) |
|
Technology Guru
![]() ![]() ![]() Join Date: Jul 2001
Location: Massachusetts
Posts: 285
|
Re: Optimizing Win98 Swap File
well, i guess it really depends on your personal experience. I have, for as long as i've owned and worked on comps with windows OS"s, set fixed swap files and enjoyed the performance boost that results. Results may vary apparently
. There are probably many factors that contribute to this including but not limited to HD speed, access time and such so there probably ins't a right answer heh.Edit: Just saw your edit heh... yes but that doesn't mean that setting a fixed swap file is a bad thing. In my experience, especially on older machines which we still have a few of around here like old P2's and some P1's heh, they greatly benefit from not having to manage the swapfile because the CPU load to increase the swap on older machines affects the performance of apps.
__________________
My System Specs: Viewsonic E790B 19" Monitor MSI 865PE Neo2 - FIS2R P4 3.2Ghz HTT Thermaltake Spark 7 HSF 2x512mb Kingston HyperX DDR400Mhz Leadtek A350 TDH Ultra (FX 5900 Ultra) (480Mhz core, 930Mhz memory) 35GB Maxtor/Quantum Ultra160 SCSI Sound Blaster Audigy 2 ZS Antec Performance Plus 660B case 400 Watt PSU WinXP Pro Last edited by Viperx25; July 17th, 2003 at 18:30. |
|
|
|
|
|
#16 (permalink) | |
|
~¤ PanZeR ¤~ idRO Thor
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2003
Location: Valhalla, in Odin's throne
Posts: 3,145
|
Re: Total Swap File Optimization
Quote:
|
|
|
|
|
|
|
#17 (permalink) |
|
Registered User
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2001
Location: Ohio
Posts: 1,970
|
Re: Optimizing Win98 Swap File
I said to set it to 0 to remove the current one so it would later create the new swap file as 1 fragment.
__________________
Athlon64 3400+ @10.5x250MHz, 2.625GHz | DFI NF3 250GB 2x512 Corsair pc3200 | BFG FX6800 OC 128MB | X-Fi XtremeGamer |
|
|
|
|
|
#18 (permalink) |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2003
Location: California
Posts: 4,684
|
Well I used Diskeeper to check the swap file size & locations and this is what I got (this is my mom's comp). I was wondering what I should set the swap file size to if I should change it at all. Everyone here says that you should set it to 2x the size of your ram, but I think that may be a little small for this comp (p1 200 mhz, 64 mb ram). I was going to try setting the swap file to 0 then changing it back so it will be 1 big file instead of lots of small ones but I don't think I should try running windows without a swap file and this amount of memory.
Note about pic: In the lower right corner is the system monitor program. It shows the processor usage as 78% while it is at idle. I tried closing down unnecessary programs and rebooting windows, but it doesn't fix it. When I reboot windows, it shows it at a normal 0-4% but as soon as I move the mouse, it jumps up to about 35-40% and stays at that level. After a while it goes up to 70-80%. I scanned the comp for viruses earlier when it was having the problem and it didn't find any. Does anyone know why the comp is doing this? I will try doing a defrag in a while to see if it helps at all. edit: the yellow sections in the diskeeper window are the swap file parts.
__________________
Main PC: DFI LAN Party nF4 SLI-DR Expert w/406-bta BIOS, AMD Opteron 165 (CCBBE 0615 EPMW) @ 3 GHz (334x9), 1.55v w/D-Tek Fuzion WB; 2x1 GB OCZ PC4000 EB Plats @ 250 MHz, 3-3-2-8, 3:4, 2.7v; ATi Radeon X1900XT 512 MB @ 668/855 w/DD Tyee WB, 150 GB WD Raptor, 4x500 GB WD RE2 (RAID 10), SB Audigy 2 ZS, 700w OCZ GameXStream, CM Stacker 810, Windows XP Pro Last edited by n_w95482; July 19th, 2003 at 00:25. |
|
|
|
|
|
#19 (permalink) |
|
Technology Guru
![]() ![]() ![]() Join Date: Jul 2001
Location: Massachusetts
Posts: 285
|
Re: Optimizing Win98 Swap File
I've generally heard and followed the idea that the swapfile should be 1.5x your RAM but it doen't really matter. On older machines, i generally default to 500MB, thats enough with room to spare for windows to run comfortably and isn't too bad on a smaller HD.
__________________
My System Specs: Viewsonic E790B 19" Monitor MSI 865PE Neo2 - FIS2R P4 3.2Ghz HTT Thermaltake Spark 7 HSF 2x512mb Kingston HyperX DDR400Mhz Leadtek A350 TDH Ultra (FX 5900 Ultra) (480Mhz core, 930Mhz memory) 35GB Maxtor/Quantum Ultra160 SCSI Sound Blaster Audigy 2 ZS Antec Performance Plus 660B case 400 Watt PSU WinXP Pro |
|
|
|
|
|
#20 (permalink) |
|
Registered User
Join Date: Jul 2003
Location: Houston, TX, USA
Posts: 7
|
If you're running Windows NT/2K/XP and you want to improve your swap file performance without creating a seperate partition, download the txt file attached to this post, change the extension to "reg" (without quotes) & double-click. A Window will then pop-up asking if you want to add the information to your registry. Click "yes". You can then delete the file. You need to reboot for the change to take effect.
Since this can be a somewhat dangerous subject (add/changing reg keys), I welcome anyone here to download & check my file to attest that it does nothing harmfull. You can open the txt file with notepad. This file will change/modify the following key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager\Memory Management] "ClearPageFileAtShutdown"=DOWRD:00000001 Remember: This only works if you're running NT, 2K, or XP.
__________________
Never underestimate the power of stating the obvious Did you know: If you keep your eye open by force, it will eventually pop out Dual P3 1Ghz, 1Gb RAM, 400W Antec Tower (w/5 fans), GeForce4 Ti4600, SB Audigy, Altec Lansing 3-way speakers, Adaptoid, PS->USB adapter, ActLabs PC Light Gun, Running WinXP Pro |
|
|
|