My question is about remote files systems on Windows.
Suppose you have workstation X which has access to files systems on the network - say - \\ServerY\MYDir\
.
Imagine a scenario that you have two simultaneous threads on X.
- Thread 1 is writing a file to local hard drive directory in X -
C:\MYDir\
. - Thread 2 is writing to the remote file in
\\ServerY\MYDir\
.
I want to know are these two IO operations actually independent, i.e is thread 1 only using hard disk controller of X and thread 2 only using the network and passing all data to Server on the wire, where is is actually written to the hard drive on serverY.
Or
Is thread 2 also making some local cache data in X (and hence using the hard disk controller on X). In this case the IO operations of thread 2 may interfere in operation of thread1 which may lead to possible performance loss.
Basically - will there be any gain in doing writes on a local file and that on a remote file in parallel?
My question is specific to remote file system supported by windows like Microsoft Networks or NFS