[SERVER-13329] Flush different regions of mmap files in parallel to achieve higher flush times on Windows Created: 24/Mar/14  Updated: 26/Oct/21  Resolved: 26/Oct/21

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

Type: Task Priority: Minor - P4
Reporter: Alexander Komyagin Assignee: Geert Bosch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Tested
Participants:

 Description   

Presently mmap'ed file flush happens in sequence for multiple files. This results in long flush times on Azure / Windows platform where the OS is not able to do concurrent flushes of the contents of the file. See SERVER-12401 for more details.

The issue is especially critical if there are lot of random updates that dirty large parts of the mmap'ed region. At some point (Q3'14?) Microsoft will release the fix for the Windows Cache Manager, and we will be able to flush file regions in parallel. It will provide better performance than SERVER-12733 on average.



 Comments   
Comment by Paulo [ 10/Apr/15 ]

WhymI cant install this hotfix on windows server 2012 r2?

error message: this update is not applicable to your computer..

regards

Comment by Matt Kangas [ 11/Sep/14 ]

Hi andrewk - thanks for the offer to help test! We have not yet made changes in the server to flush in parallel, so you will (probably) see no performance gain with the hotfix at this time. We plan to revisit this after 2.8 ships.

Comment by AndrewK [ 11/Sep/14 ]

I'm happy to test this. I've installed the patch. Is it possible to get this done in parallel now (via a flag?) or do you still have work to do on the server side?

Comment by Matt Kangas [ 20/Aug/14 ]

The hotfix from Microsoft has now shipped for Windows 8 and Windows Server 2012.

http://support.microsoft.com/kb/2981965

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