Changing the swap file

desktopstu

New member
Local time
3:01 PM
Messages
4
Location
Newport
Hi all,

I would like to move the swap file from the hard drive its currently residing in to a 4 gb USB stick id like to install.

How would I do this and what would be the best size to make the swap file.

Also, is there any mileage in my doing this in Win7? It used to be a handy speed up for windows 2000 and XP but dont know about 7.
 

My Computer

Computer Manufacturer/Model Number
Compusys self build
OS
windows 2000 pro sp4
CPU
Slot 1 933 overclocked to 970Mhz
Motherboard
Aopen AXB6 C Pro i440BX chipset
Memory
3 x 256mb Hynix pc 133 SDRAM
Graphics Card(s)
Xabre 200 32mb AGP
Sound Card
ISA soundblaster AWE 32
Monitor(s) Displays
Proview 17" TFT
Screen Resolution
1280 x 1024
Hard Drives
Seagate 10gb master
Maxtor 40gb slave
PSU
Delta 250w psu
Case
Compusys beige desktop
Cooling
1 x 12cm case fan
Keyboard
Benq standard uk layout ps2
Mouse
Trust optical ps2
Internet Speed
100 mbps download speeds vary about the 5mb mark
Other Info
Opticals: LG DVDRW and Optiarc 40x CDR
Flopticals: 1.4mb floppy
Putting the pagefile on a usb stick doesn't seem like a good idea to me as it is written to and read from frequently and usb sticks aren't designed to copy with that in a long term. Furthermore the usb stick is slower than your hd so I don't see any benefit of it performance wise either.
 

My Computer

OS
Windows 7 64
CPU
AMD Phenom II X4 Black Edition 940
Motherboard
Gigabyte GA-MA790X-UD3P
Memory
8 GB
Graphics Card(s)
Nvidia 8800GTS
Monitor(s) Displays
Benq G2420HDBL
Screen Resolution
1920x1080
Case
Lian-Li
Internet Speed
10/10 mb/s

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up
moving swap/paging file from drive C: to partitioned drive D:

Hello,

I'm new to Windows 7 but having relocated swap- and paging files in earlier OS'es and even in Linux.

My system has a separate swap partition defined for Windows 7 and one for WinXP being on the same computer, but on different partitions.

The thread in your link was quite interesting, but had nothing to to with the original posting, because my main interest ist more or less the same question as the guy who asked for it in the early stage of your posting, namely, how to relocate the pagefile.

He didn't get the answer he was looking for.

OK, he now knows that a USB-stick is a bad choice, but he still doesn't know how to relocate and I neither, had to register to ask you experts to please answer the main question.

My main interest is what I have to do to relocate the pagefile, i.e., what config files I need to edit, how to become a admin user on my newly installed system and take the appropriate actions to get Windows 7 to look for it's pagefile on volume D: next time it boots or to creat the file there if it's missing.

In the main setup the options are very limited and setting up a pagefile is only possible on the very same drive.

Now please, I don't need a discussion on if it is useful or not, just what to do to have it done.

If it kills my system performance I'll see that and change back to earlier stage with default pagefile settings, more or less.

It's just that I want to give it a try. If it fails, I'll use the spare partition for something else like installing a new linux distro on the 5gb partition.

Thanks for any support you can give me. I do hope this thread is still being monitored.


MyLux

 

My Computer

Computer Manufacturer/Model Number
Many systems, mainly HP + Toshiba laptops and selfmade desktops
OS
Win 7 Enterprise x64, WinXP-Pro, Linux: Multiboot
CPU
slowest AMD486, fastest AMD X2 Turion 64 at this time
Motherboard
Toshiba laptops (dont know), HP Laptops Quanta 30DA
Memory
30DA: 2gb+4gb, other laptops lowest RAM 16mb, PC's max. 4gb
Graphics Card(s)
many different
Sound Card
many different
Monitor(s) Displays
Monitor 19", Laptops 10" to 17"
Hard Drives
smallest: 40mb IDE, largest SATA 1tb.
PSU
Many different
Case
Many different
Cooling
regular fan
The paging file is easy to configure - Control Panel > System applet > Advanced System Settings link > Advanced tab > Settings button (under "Performance" section", 1st Settings button) > Advanced tab > Change button. However, it is worth noting in passing that if you're moving the paging file to just a separate partition on the same physical disk that the Windows partition is installed to, you will at best get zero performance gain, and at worst actually see a performance decrease. However, test for yourself to see what works for you and your usage habits - one size does not fit all (although underlying paging file location and sizing guidelines for performance in general do not change).
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 10 Pro x64
CPU
Intel Core i7 4790K @ 4.5GHz
Motherboard
Asus Maximus Hero VII
Memory
32GB DDR3
Graphics Card(s)
Nvidia GeForce GTX970
Sound Card
Realtek HD Audio
Screen Resolution
1920x1200
Hard Drives
1x Samsung 250GB SSD
4x WD RE 2TB (RAIDZ)
PSU
Corsair AX760i
Case
Fractal Design Define R4
Cooling
Noctua NH-D15
Back
Top