Virtual memory on or off windows performance


cash4carti

Member
Local time
1:17 PM
Posts
5
OS
windows 11
Hello everyone, I wanted to share a question that has been on my mind. I know virtual memory is needed for playing most current games and I know it's useful. The question I'm wondering is, I think that turning off virtual memory and then memory compression can give me performance in the windows interface. Because the dependency on the disk will decrease. what are your ideas?
 

My Computer My Computer

At a glance

windows 11i5 7200u8 gbnvidia 940mx 4gb gddr5
OS
windows 11
Computer type
Laptop
Manufacturer/Model
acer f5 573g
CPU
i5 7200u
Memory
8 gb
Graphics Card(s)
nvidia 940mx 4gb gddr5
Hard Drives
1tb hdd, 240gb ssd
Mouse
razer orochi v2
Browser
edge
Antivirus
default
Virtual Memory [Paging file/swapfile] gives a program the ability to perform better on large files when the physical memory has filled up and older data can be swapped out to VM without having the program crash or lose a document being worked on. To avoid use of it merely requires having as much physical memory modules installed, e.g. having 128GB RAM may never require VM. A few things that need more RAM are video editing, gaming, working on large documents such as spreadsheets and databases, accounting programs, etc. I've not played with memory compression, no need yet. The main issue with memory, data stored in it, is that a crash or reboot will cause loss of that data. Some programs have a setting that can autostore or recover against such an event.
 

My Computers My Computers

  • At a glance

    Win11 Pro RTM Version 24H2 Build 26100.4202Intel Core i5 11th Gen. 2.40GHz12GB
    OS
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe M.2
  • At a glance

    Win11 Pro RTM Version 24H2 Build 26100.4202Intel Core i5 10th Gen. 2.90GHz16GBOnboard, no VGA, using a DisplayPort-to-VGA a...
    Operating System
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 4TB Seagate HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
Virtual Memory [Paging file/swapfile] gives a program the ability to perform better on large files when the physical memory has filled up and older data can be swapped out to VM without having the program crash or lose a document being worked on. To avoid use of it merely requires having as much physical memory modules installed, e.g. having 128GB RAM may never require VM. A few things that need more RAM are video editing, gaming, working on large documents such as spreadsheets and databases, accounting programs, etc. I've not played with memory compression, no need yet. The main issue with memory, data stored in it, is that a crash or reboot will cause loss of that data. Some programs have a setting that can autostore or recover against such an event.
Hi there
It's not so simple -- this is not a 1:1 relationship. Disk I/O is generally very slow compared with cpu / memory operations -- so what the computer tends to do is store "pending I/O" requests into the fast areas of the disk controller or cache area --so always when buying HDD's look for those with the largest and fastest cache systems for best performance. These are "queued up" and then executed while the computer is doing other things e.g waiting for keyboard input or output to video. Since also only a small amount of RAM is currently in use at any one time the system makes an "internal" map of RAM use so each time an app gets focus again its entire memory space doesn't need to be reloaded again. This is known essentially as demand paging and works essentially by a complex algorithm known as LRU or "Least Recently Used" which are flushed first.

Don't confuse with Swapping where an entire users address space is written to disk -- a much slower process and only really of concern to multi-user systems with many users concurrently logged on. such as on Linux, and Windows servers. The inactive ones can be "Swapped out" in their entirety.

Unless you really know EXACTLY what you are doing - just leave these sorts of things for Windows to manage. Chances are any "User fiddling" will just hose it up.

The exact mechanics of how this works is well beyond the scope of what the OP wants to know -- which IMO is leave paging etc to Windows to sort out.
 

My Computer My Computer

At a glance

Windows XP,11 Linux Fedora Rawhide pre-releas...2 X Intel i7
OS
Windows XP,11 Linux Fedora Rawhide pre-release 46
Computer type
PC/Desktop
CPU
2 X Intel i7
Screen Resolution
4KUHD X 2
Hi there
It's not so simple -- this is not a 1:1 relationship. Disk I/O is generally very slow compared with cpu / memory operations -- so what the computer tends to do is store "pending I/O" requests into the fast areas of the disk controller or cache area --so always when buying HDD's look for those with the largest and fastest cache systems for best performance. These are "queued up" and then executed while the computer is doing other things e.g waiting for keyboard input or output to video. Since also only a small amount of RAM is currently in use at any one time the system makes an "internal" map of RAM use so each time an app gets focus again its entire memory space doesn't need to be reloaded again. This is known essentially as demand paging and works essentially by a complex algorithm known as LRU or "Least Recently Used" which are flushed first.

Don't confuse with Swapping where an entire users address space is written to disk -- a much slower process and only really of concern to multi-user systems with many users concurrently logged on. such as on Linux, and Windows servers. The inactive ones can be "Swapped out" in their entirety.

Unless you really know EXACTLY what you are doing - just leave these sorts of things for Windows to manage. Chances are any "User fiddling" will just hose it up.

The exact mechanics of how this works is well beyond the scope of what the OP wants to know -- which IMO is leave paging etc to Windows to sort out.
I have to agree with this one too. Windows uses page files a lot more then you know even if you had 1 terabytes of ram. It's not about how much ram you have it is what is being done in programs.
 

My Computer My Computer

At a glance

Windows 11 (NTLITE optimized)Amd 8350 Overclocked to 4.72400 MHz DDR 3 GSkillNvidia 1070
OS
Windows 11 (NTLITE optimized)
Computer type
PC/Desktop
Manufacturer/Model
Custom
CPU
Amd 8350 Overclocked to 4.7
Motherboard
Asus Sabertooth r2
Memory
2400 MHz DDR 3 GSkill
Graphics Card(s)
Nvidia 1070
Sound Card
Denon receiver 7.1/Atmos
Monitor(s) Displays
LG C7
Screen Resolution
4k
Hard Drives
Samsung SSD 840 512 gig
Backup drive 18 terabyte hhd
Cooling
Hyper 212 Cpu cooler with case fans
Keyboard
Simple keyboard
Mouse
Simple mouse
Internet Speed
1.5 gig Fiber
Browser
Edge
Antivirus
Never
I have to agree with this one too. Windows uses page files a lot more then you know even if you had 1 terabytes of ram. It's not about how much ram you have it is what is being done in programs.
@Necrosaro

any details on W11 NTLITE -- I used to use that type of thing (assuming it's similar) on XP and W7.

BTW running W2k22 server (free 180 day trial) "modded" for a desktop runs incredibly fast and has zero bloat and a networking system that actually works -- probably a ist or certainly a record for Windows Networking -- the only program "Not installable" has been Macrium since it needs server edition version -- costly !! -- but stand alone iso works and as I've installed the W2k22 server to a vhdx file I just copy that with file explorer when backing it up. Mounting the vhdx on say W11 via select file=xxxx.vhdx, attach vdisk in diskpart I can get access to any of the data files as W11 just then sees the vhdx file as another "Disk". !!

wserver.png


Fastest OS yet !!!! well worth trying - especially as it's free for 180 days !!! - Suits me.

cheers
jimbo
 

My Computer My Computer

At a glance

Windows XP,11 Linux Fedora Rawhide pre-releas...2 X Intel i7
OS
Windows XP,11 Linux Fedora Rawhide pre-release 46
Computer type
PC/Desktop
CPU
2 X Intel i7
Screen Resolution
4KUHD X 2
@Necrosaro

any details on W11 NTLITE -- I used to use that type of thing (assuming it's similar) on XP and W7.

BTW running W2k22 server (free 180 day trial) "modded" for a desktop runs incredibly fast and has zero bloat and a networking system that actually works -- probably a ist or certainly a record for Windows Networking -- the only program "Not installable" has been Macrium since it needs server edition version -- costly !! -- but stand alone iso works and as I've installed the W2k22 server to a vhdx file I just copy that with file explorer when backing it up. Mounting the vhdx on say W11 via select file=xxxx.vhdx, attach vdisk in diskpart I can get access to any of the data files as W11 just then sees the vhdx file as another "Disk". !!

View attachment 34604

Fastest OS yet !!!! well worth trying - especially as it's free for 180 days !!! - Suits me.

cheers
jimbo
Yes similar just some things that could be removed in older operating system could cause issues with the newer one. There is tons that can be removed though.

Never tried windows server. Would have to take a look
 

My Computer My Computer

At a glance

Windows 11 (NTLITE optimized)Amd 8350 Overclocked to 4.72400 MHz DDR 3 GSkillNvidia 1070
OS
Windows 11 (NTLITE optimized)
Computer type
PC/Desktop
Manufacturer/Model
Custom
CPU
Amd 8350 Overclocked to 4.7
Motherboard
Asus Sabertooth r2
Memory
2400 MHz DDR 3 GSkill
Graphics Card(s)
Nvidia 1070
Sound Card
Denon receiver 7.1/Atmos
Monitor(s) Displays
LG C7
Screen Resolution
4k
Hard Drives
Samsung SSD 840 512 gig
Backup drive 18 terabyte hhd
Cooling
Hyper 212 Cpu cooler with case fans
Keyboard
Simple keyboard
Mouse
Simple mouse
Internet Speed
1.5 gig Fiber
Browser
Edge
Antivirus
Never

Latest Support Threads

Back
Top Bottom