[SERVER-4538] add pagefault detection on Windows Created: 21/Dec/11  Updated: 11/Jul/16  Resolved: 21/Dec/11

Status: Closed
Project: Core Server
Component/s: Concurrency
Affects Version/s: None
Fix Version/s: 2.1.0

Type: Improvement Priority: Minor - P4
Reporter: Eric Milkie Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: rn
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows


Participants:

 Description   

implement pagefault detection so that we don't always yield if the page is actually in our working set already.



 Comments   
Comment by auto [ 21/Dec/11 ]

Author:

{u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-4538 fix code buffer size calculation
Branch: master
https://github.com/mongodb/mongo/commit/e07910f4c70d42be505fc0af97735a5aac55e67d

Comment by auto [ 21/Dec/11 ]

Author:

{u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-4538 detect if pages are in our working set, on Windows

If the page is not in our working set, this function will return false.
This will be true for both hard and soft pagefaults; however, it is expected
under normal circumstances that most pagefaults will be hard (need to be loaded
from the pagefile on disk into RAM).
On a server with nothing else on it, the OS ought to allow mongod's working set
to expand to "most" of RAM, thus avoiding many soft pagefaults.
Branch: master
https://github.com/mongodb/mongo/commit/15d5ed29163283a784fab344f50404a0a46207af

Generated at Thu Feb 08 03:06:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.