...
We could prefetch/fault-in the tail of the oplog if we think that it is not in memory so when we go to delete the docs to put new entries we don't block on the disk io. This could be done for all capped collections optionally.
xgen-internal-githook commented on Wed, 29 Jan 2014 18:16:10 +0000: Author: {u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'} Message: SERVER-9335: fix dbtests with new alloc code Branch: master https://github.com/mongodb/mongo/commit/2bee3f018b8d4351f8261c405adcdff44c7f9a70 xgen-internal-githook commented on Wed, 29 Jan 2014 18:16:06 +0000: Author: {u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'} Message: SERVER-9335: madvise sequenetial for all capped collections Branch: master https://github.com/mongodb/mongo/commit/e5f5ff9ef84c38e2b66cc9bb31ada12c4ed26c50 xgen-internal-githook commented on Wed, 29 Jan 2014 18:16:03 +0000: Author: {u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'} Message: SERVER-9335: remove addRecordToRecListInExtent and allocateSpaceForANewRecord from pdfile Branch: master https://github.com/mongodb/mongo/commit/a2741dab6e7b447e610968002d835c60b7043773 xgen-internal-githook commented on Wed, 29 Jan 2014 18:16:01 +0000: Author: {u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'} Message: SERVER-9335: don't call getCollection from NamesapceDetails Branch: master https://github.com/mongodb/mongo/commit/2906d67b2f1d9e7feff5e679489e835c491ec8bd xgen-internal-githook commented on Wed, 29 Jan 2014 18:15:59 +0000: Author: {u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'} Message: SERVER-9335: some notion of interface is there now Branch: master https://github.com/mongodb/mongo/commit/7c1edcfa9c017fc6bfdebdefeb918e2d91287d8f xgen-internal-githook commented on Wed, 29 Jan 2014 18:15:57 +0000: Author: {u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'} Message: SERVER-9335: remove dead code from NamespaceDetails Branch: master https://github.com/mongodb/mongo/commit/266626f3bc8a61a452e774b42686161ea773923b xgen-internal-githook commented on Wed, 29 Jan 2014 18:15:55 +0000: Author: {u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'} Message: SERVER-9335: move cap.cpp with namespace_details Branch: master https://github.com/mongodb/mongo/commit/b9e2ba4a31c95a00f4fcee8ffe316a9c8136f6a7 scotthernandez commented on Sun, 21 Apr 2013 13:59:22 +0000: One way to implement this would be to use madvise MADV_SEQUENTIAL for the collection's extents and/or MADV_WILLNEED for the next part of the oplog (logical tail).