Jump to content

Hello LTT communitty,

 

I have write cache enabled on my nvme SSD.  

 

When I write very large files to it (>100 GB) for work, they usually take up RAM first  with no disk write until it gets to 99% RAM utilization then finally something gets triggered at it starts writing to my SSD at super high speed (~1GB/s).  

 

This is generally a good thing, but I wish it would flush at a lower threshold e.g. 80% of RAM.  I have 64 GB of RAM, so it doesn't need to use every last drop for the write cache.  I start getting thousands of hard faults/second when when it gets to 99%, but I usually have less than 3/second.

 

I'm running windows server 2016, which is pretty similar to win 10 for things like this.

 

I can't find any way to modify the behavior of the write cache.  Am I missing something? 

 

Thanks for your help,

 

edit: hard faults, not segfaults

Link to comment
https://linustechtips.com/topic/973379-windows-write-cache-settings/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×