6 votes

Windows Server virtual disk cache settings

I think those settings do not really have any sense if your data disks were initially configured with Read/None cache. This article states it is more a matter of host caching that can be modified ...
batistuta09's user avatar
  • 9,106
5 votes

Data corruption when disk write caching is enabled

Modern file systems (XFS, ZFS, JFS, ext4, APFS, NTFS, etc) all use journaling so yes, you’re going to lose some data (latest commits and what’s not committed yet and stored in cache, that’s obvious), ...
BaronSamedi1958's user avatar
5 votes

Windows Server virtual disk cache settings

I would suggest going with VM with enabled option "Turn off Windows write-cache buffer flushing on the device" only in the case if you have redundancy on power/UPS or storage system levels. You should ...
Mr. Raspberry's user avatar
5 votes

How to ensure HDD Write Caching is disabled on MS Storage Spaces

When it comes to the Storage Spaces cache, I read the topic and according to the results, the difference is so small so can be neglected. A little about Disk write cache on Windows VM | StarWind Blog ...
Stuka's user avatar
  • 5,775
4 votes

Are bcache and/or dm-cache considered stable for production in 2016?

I looked at your link and went through all the patches, and manually verified that each one was merged in vanilla kernel 4.9.0, with the last patch merged in on 2016-10-27 04:31:17 UTC. That last ...
Peter's user avatar
  • 2,816
3 votes
Accepted

Linux /proc/sys/vm/drop_caches in guest VMs

I often (but not always, see below) optimize my hypervisors similar to what you suggest: let VMs to heavily relay on shared host disk cache. However, using the drop_caches approach seems too heavy-...
shodanshok's user avatar
  • 50.5k
3 votes
Accepted

Windows Server 2012 write caching

The time scale of write caching is generally seconds or less. A section from the Windows 2000 Performance Guide contains the following details: The Cache Manager program documents a series of ...
HopelessN00b's user avatar
2 votes

Linux not freeing large disk cache when memory demand goes up

I encountered similar issue where the file system selection was incorrect. Switching to the xfs system from tmpfs resolved this problem. The tmpfs system was using all RAM as a page-cache, resulting ...
mrck's user avatar
  • 121
2 votes

Linux not freeing large disk cache when memory demand goes up

Apparently, postgres' shared_buffers can show up in cached, while not really being easily discardable... See OOM despite available memory (cache)
Nickolay's user avatar
  • 266
1 vote
Accepted

Google Cloud Function warning "OpenBLAS WARNING - could not determine the L2 cache size on this system"

The warning is just telling you that OpenBLAS which is a dependency of Pandas is not able to determine some settings of Cloud Function environment, most likely due to Cloud Function runs on ...
Catherine O's user avatar
1 vote

Run similar disk intensive tasks parallel or serial on regular Linux?

So I ended up adding a switch to my python program (runrestic) which lets you choose sequential or parallel execution and here are some preliminary results: local setup Regular laptop with NVMe SSD ...
nuts's user avatar
  • 285
1 vote

Questions about Varnish file storage engine

When the storage space is exhausted, Varnish won't create a new storage file or stop working. I will simply start evicting (i.e. 'nuking' using the Varnish terminology) objects cached in the storage ...
Carlos Abalde's user avatar
1 vote
Accepted

Confused by write cache flags

You have to understand how data is written to disk. You have a couple of subsystems involved in the process of writing the data from the process to physical disk. Usually the processes are asking ...
Mircea Vutcovici's user avatar
1 vote

Confused by write cache flags

Really the difference is highlighted in the Removal Policies. This looks like a similar question to: https://superuser.com/questions/215372/what-does-write-cache-buffer-flushing-mean
Ijustpressbuttons's user avatar
1 vote

Confused by write cache flags

The second option isn't "windows caching" as you say, but the inhibition of the "flush" system call: Turn off Windows write cache buffer flushing This option would disable the flush command called by ...
Saïmonn's user avatar
  • 335
1 vote

How to setup an NFS server that caches a network share?

I'm really no expert on this area (but it sure is interesting!). What I've been looking on lately is mainly dm-cache for LVM, with SSD's for the caching part of it. Here is an example text from ...
Fredrik's user avatar
  • 550
1 vote

How to setup an NFS server that caches a network share?

If the inherent linux mechanisms (like cachefs aka cachefilesd) don't work AND you have budget, you may look into WAFS (wide area file services). These are devices designed for aggressive caching of ...
Christian's user avatar
  • 295
1 vote

Should I disable write caching on my Windows 2008 VM?

To make things more clear, there can be several levels of cache, from top to bottom: software cache: handled by the OS, no matter if the disk that the OS is seeing is a physical disk or a RAID LUN ...
JotaBe's user avatar
  • 141

Only top scored, non community-wiki answers of a minimum length are eligible