Jump to content

Paging File

glasze

Paging file video - Techquickie

 

Hello everyone!

I recently upgraded my laptop with an 500 GB SSD (NVMe drive) and moved my Windows system files into the SSD.

Following this video, I set a paging file in the drive with the system files which is a SSD and another paging file in the old HDD (both are system managed)

Does that mean that the system crash files and related files will be dumped into the paging file of the SSD, while the overflowing working files into the paging file of the HDD? (just verifying if I understood the above linked video correctly)

System is running with a 16 GB dual channel RAM 2400 MT/s Windows 11.

Link to comment
Share on other sites

Link to post
Share on other sites

If you have 16GB of RAM plus a swap file on your SSD, I would recommend removing the one you put on your HDD.

An HDD is terribly much slower in every conceivable way.

Link to comment
Share on other sites

Link to post
Share on other sites

Don't bother with the HDD on your laptop. 

It can become an external drive but for day to day use it's not worth the battery life hit. 

 

Also keep page file off of hard drives. A 99% overwhelmed SSD (think installing a bunch of programs simultaneously while running PC Mark while moving a folder with tens of thousands of small files in it) will still have more headroom (measured in operations per second) than a completely free HDD. SSDs can do something like 300K-1M operations a second. Harddrives hit around 100-200 operations a second, literally 10,000x slower in the worst case scenario. 

3900x | 32GB RAM | RTX 2080

1.5TB Optane P4800X | 2TB Micron 1100 SSD | 16TB NAS w/ 10Gbe
QN90A | Polk R200, ELAC OW4.2, PB12-NSD, SB1000, HD800
 

Link to comment
Share on other sites

Link to post
Share on other sites

22 minutes ago, cmndr said:

Don't bother with the HDD on your laptop. 

It can become an external drive but for day to day use it's not worth the battery life hit. 

 

Also keep page file off of hard drives. A 99% overwhelmed SSD (think installing a bunch of programs simultaneously while running PC Mark while moving a folder with tens of thousands of small files in it) will still have more headroom (measured in operations per second) than a completely free HDD. SSDs can do something like 300K-1M operations a second. Harddrives hit around 100-200 operations a second, literally 10,000x slower in the worst case scenario. 

Yes exactly, I moved all the heavy programs (Autodesk, photoshop and so on) into the SSD and am only using the HDD to store images, docs, one drive local copy, downloads folder and so on. It is inside the laptop but being used like an external HDD to store bulk files (Was thinking of moving it out of the laptop, but didn't want to limit the speed to that of the USB port).

 

As paging file means constant write operations to the drive and that is inversely proportional to the life of an SSD, I wanted to reduce it by making an additional paging file in the HDD.

Link to comment
Share on other sites

Link to post
Share on other sites

34 minutes ago, Mr.Zixxel said:

If you have 16GB of RAM plus a swap file on your SSD, I would recommend removing the one you put on your HDD.

An HDD is terribly much slower in every conceivable way.

As paging file means constant write operations to the drive and that is inversely proportional to the life of an SSD, I wanted to reduce the strain on the SSD by making an additional paging file in the HDD.

Link to comment
Share on other sites

Link to post
Share on other sites

25 minutes ago, glasze said:

Yes exactly, I moved all the heavy programs (Autodesk, photoshop and so on) into the SSD and am only using the HDD to store images, docs, one drive local copy, downloads folder and so on. It is inside the laptop but being used like an external HDD to store bulk files (Was thinking of moving it out of the laptop, but didn't want to limit the speed to that of the USB port).

 

As paging file means constant write operations to the drive and that is inversely proportional to the life of an SSD, I wanted to reduce it by making an additional paging file in the HDD.

A USB 3 port (300+ MBPs) is generally going to be faster than a harddrive (100-200MBPs, probably less since it's laptop drive) can operate at. Latency will also be better than a harddrive can provide. There will be some overhead but you SERIOUSLY underestimate how awful harddrive performance is. 

 


Writing to an SSD does wear it out, but in practice NAND wearing out isn't why SSDs die, it's more along the lines of "random failures" - think the controller dying or a chip just dying outright. The main exception to this would be using the SSD as a write log (think SLOG use in ZFS) which is very tough on the chips. You're not doing this. 


This is a case of you being too clever for your own good. Full disclosure I had the same worries and concerns as you back in 2009. They don't matter. 

3900x | 32GB RAM | RTX 2080

1.5TB Optane P4800X | 2TB Micron 1100 SSD | 16TB NAS w/ 10Gbe
QN90A | Polk R200, ELAC OW4.2, PB12-NSD, SB1000, HD800
 

Link to comment
Share on other sites

Link to post
Share on other sites

46 minutes ago, cmndr said:

A USB 3 port (300+ MBPs) is generally going to be faster than a harddrive (100-200MBPs, probably less since it's laptop drive) can operate at. Latency will also be better than a harddrive can provide. There will be some overhead but you SERIOUSLY underestimate how awful harddrive performance is. 

 


Writing to an SSD does wear it out, but in practice NAND wearing out isn't why SSDs die, it's more along the lines of "random failures" - think the controller dying or a chip just dying outright. The main exception to this would be using the SSD as a write log (think SLOG use in ZFS) which is very tough on the chips. You're not doing this. 


This is a case of you being too clever for your own good. Full disclosure I had the same worries and concerns as you back in 2009. They don't matter. 

Well, it is my first time using an internal SSD, so I guess I have got a bit more learning to do. Thank you for the advice.

Link to comment
Share on other sites

Link to post
Share on other sites

47 minutes ago, glasze said:

Well, it is my first time using an internal SSD, so I guess I have got a bit more learning to do. Thank you for the advice.

Not too much learning to do. For the most part it'll just work and modern versions of windows handle it reasonably well. 

Hope you're enjoying your upgrade. 

3900x | 32GB RAM | RTX 2080

1.5TB Optane P4800X | 2TB Micron 1100 SSD | 16TB NAS w/ 10Gbe
QN90A | Polk R200, ELAC OW4.2, PB12-NSD, SB1000, HD800
 

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, glasze said:

As paging file means constant write operations to the drive and that is inversely proportional to the life of an SSD, I wanted to reduce it by making an additional paging file in the HDD.

Your not going to wear out an SSD because of paging. 
 

Don’t worry about SSD lifespan. It will outlive the usable life of the laptop, unless you are doing extremely write intensive tasks on the laptop, which would be an extremely rare use case. 

Rig: i7 13700k - - Asus Z790-P Wifi - - RTX 4080 - - 4x16GB 6000MHz - - Samsung 990 Pro 2TB NVMe Boot + Main Programs - - Assorted SATA SSD's for Photo Work - - Corsair RM850x - - Sound BlasterX EA-5 - - Corsair XC8 JTC Edition - - Corsair GPU Full Cover GPU Block - - XT45 X-Flow 420 + UT60 280 rads - - EK XRES RGB PWM - - Fractal Define S2 - - Acer Predator X34 -- Logitech G502 - - Logitech G710+ - - Logitech Z5500 - - LTT Deskpad

 

Headphones/amp/dac: Schiit Lyr 3 - - Fostex TR-X00 - - Sennheiser HD 6xx

 

Homelab/ Media Server: Proxmox VE host - - 512 NVMe Samsung 980 RAID Z1 for VM's/Proxmox boot - - Xeon e5 2660 V4- - Supermicro X10SRF-i - - 128 GB ECC 2133 - - 10x4 TB WD Red RAID Z2 - - Corsair 750D - - Corsair RM650i - - Dell H310 6Gbps SAS HBA - - Intel RES2SC240 SAS Expander - - TreuNAS + many other VM’s

 

iPhone 14 Pro - 2018 MacBook Air

Link to comment
Share on other sites

Link to post
Share on other sites

On 4/24/2023 at 10:11 PM, glasze said:

As paging file means constant write operations to the drive and that is inversely proportional to the life of an SSD, I wanted to reduce the strain on the SSD by making an additional paging file in the HDD.

No...

 

Its best to leave page file at default settings *especially* for people that don't understand how it works, its a none issue. its only an issue when users think they need to change it for whatever reason. 

The direction tells you... the direction

-Scott Manley, 2021

 

Softwares used:

Corsair Link (Anime Edition) 

MSI Afterburner 

OpenRGB

Lively Wallpaper 

OBS Studio

Shutter Encoder

Avidemux

FSResizer

Audacity 

VLC

WMP

GIMP

HWiNFO64

Paint

3D Paint

GitHub Desktop 

Superposition 

Prime95

Aida64

GPUZ

CPUZ

Generic Logviewer

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

On 4/24/2023 at 11:11 PM, glasze said:

As paging file means constant write operations to the drive and that is inversely proportional to the life of an SSD, I wanted to reduce the strain on the SSD by making an additional paging file in the HDD.

That video is 9 years old and probably has some information that is no longer relevant or accurate. Including the note about having page file on both drives. Thats from era where 120Gb was most common SSD for OS and it got stuffed fast. Its also from era where it was possible that mobo's could lose SATA connections on boot, so if you had pagefile only on secondary drive, you would have very bad time loading into OS.

 

Today things are better in many ways. Like as already noted, you don't need to worry about SSD. You also don't need more than 8gb of pagefile, so it won't take that much space on your main drive anyway. And if it would be too much still, mobos losing connection to some SATA devices is really, really rare.

^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×