|
There was another memory leak story in The Old New Thing[^] blog: This web server that gradually had its memory filled up due to a leak. The server had to be up 24/7 without interruption, so while they were searching for a solution, they replaced the one server with a cluster and a load balancer. When any of the machines were reaching a critical limit, it was taken out of the cluster and rebooted, and then put back in. Once the leak was found, they went back to a single server setup.
(I read the story in the book that presents a long series of the blog posts. Some of them are really entertaining. They are all available on line, but this is several years back and I won't spend the time to search up this one post. Both the book and the blog is certainly recommended!)
|
|
|
|
|
Wouldn't that be the link to the blog of Mark Russinovich that you also posted?
He writes "Windows can write pages on the modified list (which represent pages that aren’t being accessed actively but have not been saved to disk) out to the paging file, thus making that memory available for more useful purposes (processes or file cache). So while there may be some workloads that perform better with no paging file, in general having one will mean more usable memory being available to the system (never mind that Windows won’t be able to write kernel crash dumps without a paging file sized large enough to hold them)."
This comes after at throrough discussion of how to determine the commit charge of your biggest workload. The size of available RAM plus the size of the pagefile should be at least the size of the commit charge. Fair enough: If you really need the space, then a page file is infinitely better thatn not having that virtual space. He refers to more useful purposes - assuming that there are more useful purposes.
Also, the way you describe it, it sounds like some work is done whether there is a pagefile or not. If MS had bothered to skip over the code when not needed, it could have been even faster with no pagefile. So there is a slowdown, compared to the ideal. When there is a pagefile present, the slowdown is required; slowdown isn't reduced.
So I suspect that you, over the years since you read it, your memory of what he said has become a little blurred. He did not make it as an unconditional blanket statement, but explained in which situations a pagefile is good to have.
The situation initially described in this thread was that your machine has RAM in such amounts that all "useful purposes" finds space in RAM. You have no need to send pages out to the pagefile to make more memory available. Why would it then speed up things, when you never invoke the function?
Now this Russionvich blog is ten years old. I wouldn't be surprised if ten years is enough to make speed optimizations so that executing paging code is skipped when there is no paging to do. I've got the latest Windows Internals at home - Russinovich is no longer stated as the (primary) author of the seventh edition (he was for the previous six), but it goes even deeper into internal workings than his old blog. I will see if I can find any explanation there for how the availability of a feature that is not used can speed up a program - if that really is the case.
|
|
|
|
|
|
Interesting. Thanks!
|
|
|
|
|
The latest version of Win10 Pro (1909) includes Windows Sandbox[^] to test dodgy software (or stuff written by QA questioners where the last thing it's ever going to do is what the author intended).
I mentioned it to Herself, and her response was "So ... perverts can watch what they like without leaving any traces?"
Hmm. Hadn't thought of that one.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
|
Pah, I already used ever since last 2 weeks! :P
|
|
|
|
|
No we know why you've been missing and what you've been up to...
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
|
I've got a feeling the garbage bits are still around on the drive. FBI sniffers will find it.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
OriginalGriff wrote: I mentioned it to Herself, and her response was "So ... perverts can watch what they like without leaving any traces?"
Hmm. Hadn't thought of that one.
Why else would she be thinking that unless she's saying she knows you're "leaving a trace"...?
|
|
|
|
|
Interestingly the 'Virus & Threat protection' was off after the restart of 1909...
Does it mean that I need no protection with all those sandbags?
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
After you displace sandbags protection becomes redundant, it's better to focus on mortar and machineguns positions.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
As a pervert, I can watch whatever I want.
I don't owe anyone an explanation of my viewing habits
How perverted am I?
Just last week I read some stuff about front-end frameworks!
So sue me
|
|
|
|
|
Sander Rossel wrote: How perverted am I?
Just last week I read some stuff about front-end frameworks!
There is the exit; please use it.
Your hat and coat have already been deposited in the street.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Front-end frameworks from Victoria's Secret?
|
|
|
|
|
Adaptive AutoSAR is much worse than that!
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
It was added in the May update (1903) rather than the October update (1909).
And I guess now we know what Mrs Griff will be using it for.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
No thanks.
And, to answer your question, I think 'donuts', but that's probably irrelevant.
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
modified 25-Nov-19 14:36pm.
|
|
|
|
|
I'm thinking you will < safely removed >most probably< /safely removed > reported soon as spammer
It does not solve my Problem, but it answers my question
modified 19-Jan-21 21:04pm.
|
|
|
|
|
You can safely remove the "most probably" part of that assertion
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
done
It does not solve my Problem, but it answers my question
modified 19-Jan-21 21:04pm.
|
|
|
|
|
Oranges.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|