Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3
timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #3165195 28-Nov-2023 18:18
Send private message

25GB/hr does seem a little high. I think I'll be best doing a fresh Windows 10 install, and probably buying HD Sentinel or getting a similar product to monitor things more closely for a while.




Oblivian
7345 posts

Uber Geek
+1 received by user: 2117

ID Verified

  #3165374 28-Nov-2023 22:05
Send private message

You say it was an install from some time ago, but the
SSD is only a year.

Out of curiosity did you use the Samsung optimisation tools post SSD and make other OS changes, or just clone it from a spinning?

Trim is obviously on per message, but is caching and search indexing etc off?

Those updating continually, especially if you are updating the tiny profile files every refresh will soon add up. I know windows optimises for fresh SSD installs, but likely won't from a change in drive on it's own

timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #3165377 28-Nov-2023 22:23
Send private message

I installed Windows 10 fresh onto this SSD when I got it 3 years ago. l did a new build with a Ryzen 5600, 32GB RAM, B550 motherboard. The disk has one year runtime because the computer is not turned on all the time. I don't remember if I did anything in magician, I have a vague feeling that I did something.

I'm pretty sure I disabled Windows search service, but the OS drive allowed indexing.

I'm thinking that cloning this windows install would be a fairly bad idea, and that I should install Windows 11 fresh on the new SSD.



K8Toledo
1018 posts

Uber Geek
+1 received by user: 311


  #3166107 30-Nov-2023 08:02
Send private message

timmmay:
eonsim:

 

If you don't have enough RAM then Windows will use C drive as a Swap disk which can result in a fair bit of data writes as it swaps stuff in and out. Secondly if you hibernate your computer I believe it writes the full content of your RAM to C drive.

 



Thanks for the thoughts. The computer has 32 GB RAM and I don't use hibernate, I suspend. I'm pretty sure I have swap on a different disk as well.

 

 

 

@timmmay

 

With 32GB of RAM the pagefile should really be disabled, it's possibly eating ~40GB of drive space.

 

A pagefile has never been an essential part of the OS, and if it is in use the machine needs more RAM.  You can easily tell by looking at the Commit Charge, if the Commited amount is more than RAM, the pagefile is in use. Otherwise, disable it.

 

 

 

Fwiw, if you can, try to keep the OS on it's own drive.

 

In general, multiple drives with single partitions perform better and work less than single drives with multiple partitions. A multi partioned system drive isn't really ideal. 

 

 

 

Turning off Hibernation will free up some more space.

 

Run Admin Command Prompt 

 

powercfg -h off

 

 

 

230 TBW in 3 years seems very high...here's a comparison...

 

I usually disable browser caching. In Firefox at least, "caching" means caching to disk.  Turning this off forces caching in RAM, which is how it should be.

 

 

 

 

 

 

 

 

 

 

And have you tried out System Informer

 

 

 

 

 

 

 It can show total reads or writes for a given process....

 

 

 

 

 

 

 


xpd

xpd
Geek of Coastguard
14116 posts

Uber Geek
+1 received by user: 4579

Retired Mod
ID Verified
Trusted
Lifetime subscriber

  #3166113 30-Nov-2023 08:21
Send private message

Stats for my EVO 850 in my server...

 

 

 

 

 





XPD / Gavin

 

LinkTree

 

 

 


timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #3166114 30-Nov-2023 08:24
Send private message

K8Toledo:

 

With 32GB of RAM the pagefile should really be disabled, it's possibly eating ~40GB of drive space.

 

A pagefile has never been an essential part of the OS, and if it is in use the machine needs more RAM.  You can easily tell by looking at the Commit Charge, if the Commited amount is more than RAM, the pagefile is in use. Otherwise, disable it.

 

 

 

Fwiw, if you can, try to keep the OS on it's own drive.

 

In general, multiple drives with single partitions perform better and work less than single drives with multiple partitions. A multi partioned system drive isn't really ideal. 

 

 

 

Turning off Hibernation will free up some more space.

 

Run Admin Command Prompt 

 

powercfg -h off

 

230 TBW in 3 years seems very high...here's a comparison...

 

I usually disable browser caching. In Firefox at least, "caching" means caching to disk.  Turning this off forces caching in RAM, which is how it should be.

 

And have you tried out System Informer?  It can show total reads or writes for a given process....

 

 

I think I just leave page file on system managed, on another drive. I could disable it, but if the OS doesn't need it I expect it won't use it. I already disabled hiberation. Disagree with disabling disk caching, that would mean slower page loading and increased bandwidth usage. I'll have a look at system informer, thanks, but I purchased HDSentinel as well.

 

Why do you think partitioned system drives perform better and work less? Do you have a reference for this opinion? I have the OS on its own drive / partition because that way when I do Macrium Reflect backups I don't back up a large amount of data with the system partition. I did wonder about partition level wear leveling, but I'll make the OS partition larger this time.

 

 


 
 
 
 

Shop now on Samsung phones, tablets, TVs and more (affiliate link).
SpartanVXL
1498 posts

Uber Geek
+1 received by user: 666


  #3166397 30-Nov-2023 13:33
Send private message

Yea don’t disable pagefile on windows. Doesn’t matter if you don’t need it or not, memory management still expects it to exist. Have it at 1GB if you really don’t want it, system managed setting should also have it quite low unless you actively have a lot going on.

networkn
Networkn
32864 posts

Uber Geek
+1 received by user: 15454

ID Verified
Trusted
Lifetime subscriber

  #3166418 30-Nov-2023 14:27
Send private message

SpartanVXL: Yea don’t disable pagefile on windows. Doesn’t matter if you don’t need it or not, memory management still expects it to exist. Have it at 1GB if you really don’t want it, system managed setting should also have it quite low unless you actively have a lot going on.

 

I have 64GB Memory and system managed, my computer says it still wants a 19GB Pagefile!


xpd

xpd
Geek of Coastguard
14116 posts

Uber Geek
+1 received by user: 4579

Retired Mod
ID Verified
Trusted
Lifetime subscriber

  #3166431 30-Nov-2023 14:57
Send private message

networkn:

 

SpartanVXL: Yea don’t disable pagefile on windows. Doesn’t matter if you don’t need it or not, memory management still expects it to exist. Have it at 1GB if you really don’t want it, system managed setting should also have it quite low unless you actively have a lot going on.

 

I have 64GB Memory and system managed, my computer says it still wants a 19GB Pagefile!

 

 

32GB here with a 5GB page file.

 

Depends what youre doing I guess......

 

 





XPD / Gavin

 

LinkTree

 

 

 


timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #3166562 30-Nov-2023 20:44
Send private message

Windows 11 new install, 32GB RAM, windows managed page file, it says it's 5GB. I see no need to turn it off.


K8Toledo
1018 posts

Uber Geek
+1 received by user: 311


  #3166622 1-Dec-2023 03:29
Send private message

SpartanVXL: Yea don’t disable pagefile on windows. Doesn’t matter if you don’t need it or not, memory management still expects it to exist. Have it at 1GB if you really don’t want it, system managed setting should also have it quite low unless you actively have a lot going on.

 

@SpartanVXL

 

Sorry but this statement is completely false, demonstrates a lack of understanding of Memory Managment, or what a pagefile is, and the history of AMD vs Intel. 

 

It also sounds like parotting of misinformation scattered around the internet, on various forums, and on Wikpedia by Intel and Microsoft technet blogs in the mid 2000's. 

 

Microsoft have since dispelled this myth. 

 

This misinformation campaign was noted during the landmark AMD vs Intel case, when Intel and Microsoft tried to drive AMD under after the release of Athlon 64 and AMD's x86-64 bit extension.

 

One of the editors Intel paid to edit Wikipedia articles related to memory, died in 2016, his name was Jamie Hanrahan.

 

Jamie was behind the MSDN blog "Pushing the limits of Physical Memory" that had Mark Russonovich's name at the top.

 

It was one of the most heavily cited, and fallicious blogs on the internet regarding Windows memory limits. It's been referenced on Wikipedia many times, by paid editors. 

 

 

 

It stemmed mainly from Athlon 64's better performance vs IA-32e in x64 (long) mode. Athlon 64 also threatened Intel's dominance with Xeon,  in the server market. 

 

 

 

For 64bit programs to run, at least 4GB of space must be available to the CPU, for storing and retrieving data when requested by the OS, any less the program will not execute,  including Windows.

 

Hence why Windows x64 can't be installed on IA-32 machines.

 

The CPU stores the data in RAM, the MMU keeps a record of where in RAM that piece of data is stored using address registers, so it can be retrieved.

 

RAM is primary storage for the CPU (excluding L1/L2/L3). You could even call RAM L4 cache, and the drive L5.  That's storage is, different cache levels.

 

If the OS requests the CPU store a piece of data, and there is no more room in RAM to store it, that piece of data will then be stored on the hard drive, which is nothing more than secondary storage. The MMU keeps track of where on the hard drive this data is stored, by way of page tables held in RAM that record the exact location on the drive where the piece of data is stored.

 

When the data needs to be retrieved again, the CPU walks the page table, finds the location on the hard drive where it's stored, pages it back into RAM and then CPU cache.

 

The area on the drive where that data is stored, is called the page file.  Apple call it swap space.   

 

The windows pagefile must be enabled to give the CPU permission to store program data on the drive, otherwise it stores it in RAM. 

 

CPU's are designed to communicate directly with RAM, not a hard drive. Read the hundreds of pages of the AMD Bios Developers and Programmers guide. The word "pagefile" is not mentioned once.

 

Conversly, in Intel's several hundred page IA-32/IA-32e programmers guide, the term "32bit" is ommited. Instead, Intel refer to something called "non Intel 64 mode".  No flags raised here......

 

 

 

Prior to C2D, the only CPU in  Intel's stable supporting more than 4GB of RAM was Xeon.

 

IA-32 had 32bit address registers and 32 bit data bus, limiting total address space to 4GB. IA-32e had 36bit address registers, and a 32bit data bus for storage.

 

A 32bit data bus and Intel's 2x 2GB segmented memory model with 2GB reserved for the OS, meant only 2GB was available for user mode programs. 

 

And as I said, a 64bit program will not execute unless 4GB of address space is available to store program data. So a 2GB page file was needed.

 

Intel CPU's were "x64 compatable" and could execute 64 bit programs, but only if the page file was enabled.

 

Athlon 64 data bus was 40 bit, supporting over 8GB of RAM and used the flat memory model. AMD rigs could run Windows x64 and 64bit programs entirely in RAM, without a pagefile required. 

 

Here's why Intel CPU's were slower than AMD's when running in x64 mode. 

 

 

 

If you want confirmation, read AMD Programmers manual, Winternals 7, IBM server documentation, Pearsons, or look up Microsofts own library.   

 

Personally speaking, I haven't used a pagefile since XP, none of the machines I supply or look after have it enabled either.

 

Conclusions are best drawn from sound reasoning and emperical evidence.

 

 

 

Also, up until W7 the default size of the PF was 1.5x RAM, it had been that way since Windows 3.1.

 

 

 

Memory Management is handled by the CPU MMU (Memory Management Unit), and the CPU does not "expect it to exist".

 

It only expects that if the OS requests a piece of data be stored by the CPU for later retrieval, there will be storage space available in RAM, to hold that piece of data.

 

If not, then some of the data will be stored on a slower storage medium, the HDD.   The answer here is more RAM, not more pagefile.


 
 
 
 

Shop now on Samsung phones, tablets, TVs and more (affiliate link).
cddt
1967 posts

Uber Geek
+1 received by user: 1904


  #3166639 1-Dec-2023 07:14
Send private message

cddt:

 

What happened was that I had a swap partition on my SSD (thought it would be good to have a "fast" swap partition lol). One day I wrote some code which contained a pretty horrendous memory leak, but I didn't know that at the time. I knew it would take my program a while to run (a few hours) so I left it running overnight. I woke up in the morning to see 100% activity on the disk and the machine completely unresponsive. 

 

 

Got my NVME stats. My "Samsung SSD 960 EVO 250GB" has been my main drive since mid-2017 across two PCs.

 

 

 

16.4 TB written over 1,045 hours. Works out to average 16 GB / hour. But as mentioned above, I believe the vast majority of these writes were due to the self-inflicted scenario described. 

 

 

 

Critical Warning:                   0x00
Temperature:                        30 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    8%
Data Units Read:                    120,146,982 [61.5 TB]
Data Units Written:                 32,128,374 [16.4 TB]
Host Read Commands:                 1,772,976,021
Host Write Commands:                652,964,586
Controller Busy Time:               2,742
Power Cycles:                       2,560
Power On Hours:                     1,045
Unsafe Shutdowns:                   232
Media and Data Integrity Errors:    0
Error Information Log Entries:      1,194
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               30 Celsius
Temperature Sensor 2:               36 Celsius


timmmay

20858 posts

Uber Geek
+1 received by user: 5350

Trusted
Lifetime subscriber

  #3166732 1-Dec-2023 09:48
Send private message

K8Toledo:

 

Microsoft have since dispelled this myth. 

 

 

Can you provide a link? Also, what do you think the downside of having a swap / page file is?


SpartanVXL
1498 posts

Uber Geek
+1 received by user: 666


  #3166747 1-Dec-2023 11:05
Send private message

Sorry my mistake, memory management isn’t the right subject term. In the context of Windows ‘s***’ expects the pagefile to exist, likely from said misinformation or historical inaccuracies, ergo the advice to keep it enabled at a minimal size is still recommended to avoid any issues.

Personally (from experience) I’d rather not spend time figuring out why something doesn’t work without it versus just keeping it enabled.

Jase2985
13732 posts

Uber Geek
+1 received by user: 6205

ID Verified
Lifetime subscriber

  #3167039 1-Dec-2023 22:05
Send private message

Desktop at home, 1240 days powered on, 80.9tb writes, 80% life remaining.

 

you must have had something doing some serious writes on your PC, surprised you didn't notice it.

 

 

 

personally i run fixed sized page files on my PCs, normally about 1/2 to full size of the ram installed. this resides on the OS drive.


1 | 2 | 3
View this topic in a long page with up to 500 replies per page Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.