• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Memory Compression On or Off?

Memory Compression


  • Total voters
    41
Joined
Mar 18, 2023
Messages
935 (1.44/day)
System Name Never trust a socket with less than 2000 pins
Compressed memory and compressed swap are heavily researched topics. There is no clear win or non-win that you can easily predict.

Also keep in mind that some data doesn't compress with universal compression algorithms, including images and audio.
 
Joined
Jul 15, 2006
Messages
1,323 (0.20/day)
Location
Noir York
Processor AMD Ryzen 7 5700G
Motherboard Gigabyte B450M S2H
Cooling Scythe Kotetsu Mark II
Memory 2 x 16GB SK Hynix CJR OEM DDR4-3200 @ 4000 20-22-20-48
Video Card(s) Colorful RTX 2060 SUPER 8GB GDDR6
Storage 250GB WD BLACK SN750 M.2 + 4TB WD Red Plus + 4TB WD Purple
Display(s) AOpen 27HC5R 27" 1080p 165Hz curved VA
Case AIGO Darkflash C285
Audio Device(s) Creative SoundBlaster Z + Kurtzweil KS-40A bookshelf / Sennheiser HD555
Power Supply Great Wall GW-EPS1000DA 1kW
Mouse Razer Deathadder Essential
Keyboard Cougar Attack2 Cherry MX Black
Software Windows 10 Pro x64 22H2
I checked my laptop and my main PC, on PC it's on I think I recall disabling it before, but was it done on my laptop because it disabled there? Memory usage on laptop usually higher but that is understandable because my laptop only have 4GB RTX 3050 mobile plus 16GB DDR4 memory, when playing Cyberpunk for example memory hovers around 13+GB mark, with memory compression enabled it lowers slightly to around 9-10GB at the same setting. Didn't notice any performance drop
 
Joined
Feb 1, 2019
Messages
3,669 (1.70/day)
Location
UK, Midlands
System Name Main PC
Processor 13700k
Motherboard Asrock Z690 Steel Legend D4 - Bios 13.02
Cooling Noctua NH-D15S
Memory 32 Gig 3200CL14
Video Card(s) 4080 RTX SUPER FE 16G
Storage 1TB 980 PRO, 2TB SN850X, 2TB DC P4600, 1TB 860 EVO, 2x 3TB WD Red, 2x 4TB WD Red
Display(s) LG 27GL850
Case Fractal Define R4
Audio Device(s) Soundblaster AE-9
Power Supply Antec HCG 750 Gold
Software Windows 10 21H2 LTSC
Then methinks, MS should fix its MMU algorithm and swap policies, rather than forcing memory compression to take care of it. In any care, any reference to what you claim? (about 50% level)?
There is a website where someone did a test and observed similar behaviour to what I observed.

Not the same site, but this seems to explain similar benefits.

 
Joined
Aug 27, 2023
Messages
289 (0.59/day)
Really? Mine always says compressed...
My W10 too, shortly after starting up.
So that means only 146mb is compressed, right?
No, it means x amount of data has compressed to 146MB. It could be Gigabytes of data or it could be around the same size. You can check by hovering your mouse cursor over the left side of the "memory composition" graphic. It also states if memory compression enabled or not. Note that disabling the pagefile also disables memory compression, at least on this old system.

MC.png


EDIT: I tried opening up as many apps as I could and... compressed memory... went down....
Maybe some of the earlier compressed data was needed to accommodate the new data so removed from the original compressed data.
 
Last edited:
Joined
Mar 7, 2023
Messages
922 (1.39/day)
System Name BarnacleMan
Processor 14700KF
Motherboard Gigabyte B760 Aorus Elite Ax DDR5
Cooling ARCTIC Liquid Freezer II 240 + P12 Max Fans
Memory 32GB Kingston Fury Beast
Video Card(s) Asus Tuf 4090 24GB
Storage 4TB sn850x, 2TB sn850x, 2TB Netac Nv7000 + 2TB p5 plus, 4TB MX500 * 2 = 18TB. Plus dvd burner.
Display(s) Dell 23.5" 1440P IPS panel
Case Lian Li LANCOOL II MESH Performance Mid-Tower
Audio Device(s) Logitech Z623
Power Supply Gigabyte ud850gm pg5
My W10 too, shortly after starting up.

No, it means x amount of data has compressed to 146MB. It could be Gigabutes of data or it could be around the same size. You can check by hovering your mouse cursor over the left side of the "memory composition" graphic. It also states if memory compression enabled or not. Not that disabling the pagefile also disables memory compression, at least on this old system.

View attachment 371009


Maybe some of the earlier compressed data was needed to accommodate the new data so removed from the original compressed data.
Ah, I see. Well thats good to know. Still don't understand why any compression is necessary when so little memory is in use though. Do you know why that would be the case? ( not thats its overly important or anything)
 
Joined
Aug 27, 2023
Messages
289 (0.59/day)
Sorry, don't know. Perhaps a side effect of the implementation?
 

eidairaman1

The Exiled Airman
Joined
Jul 2, 2007
Messages
42,713 (6.69/day)
Location
Republic of Texas (True Patriot)
System Name PCGOD
Processor AMD FX 8350@ 5.0GHz
Motherboard Asus TUF 990FX Sabertooth R2 2901 Bios
Cooling Scythe Ashura, 2×BitFenix 230mm Spectre Pro LED (Blue,Green), 2x BitFenix 140mm Spectre Pro LED
Memory 16 GB Gskill Ripjaws X 2133 (2400 OC, 10-10-12-20-20, 1T, 1.65V)
Video Card(s) AMD Radeon 290 Sapphire Vapor-X
Storage Samsung 840 Pro 256GB, WD Velociraptor 1TB
Display(s) NEC Multisync LCD 1700V (Display Port Adapter)
Case AeroCool Xpredator Evil Blue Edition
Audio Device(s) Creative Labs Sound Blaster ZxR
Power Supply Seasonic 1250 XM2 Series (XP3)
Mouse Roccat Kone XTD
Keyboard Roccat Ryos MK Pro
Software Windows 7 Pro 64
Just try it and report findings
 
Top