
At application layer of TCP/IP model, make use of RPC
When someone access a file over NFS, the kernel places an RPC call to nfsd ( the NFS daemon ) on the server machine
$cat /proc/filesystems displays file systems it supports
stateless
Caching
treat cache data as links -- cached data are not expected to be completely accurate
e.g. NFS tries to make server as simple as possible and let clients do most of the work
NFS does not specify a mechanism for assuring that
cached copies of data blocks are consistent
Each implementation is free to use its own method of
determining consistency
A typical approach is
if client detects that the copy has been modified since the client received it, it can invalidate its own copy
Virtual File System ( VFS ) interface -- defines the procedures that operate on the file as a whole
By supporting different VFS interfaces, NFS can support different file systems
a virtual node ( vnode ) for every object
vnodes are unique reimplementation of inodes
contains a numerical designator that is network node unique
Thus VFS distinguishes local files from remote ones, and local files are further distinguished according to their file-system types
|
--------- |
|
See Lab 2
|
| . . . . . . |
| |||||||||||||||||||
| * * * * * * * * * * * * * * * | ||||||||||||||||||||||
| ||||||||||||||||||||||
| Basic Concept of Shared Memory |
Actual Implementation |
|---|---|
![]() |
![]() |
| pages | → | | | | - - |
|
A memory reference causes a page fault when the page containing
the memory location is not in a processor's current
physical memory.
When this happens, M.M.M. retrieves the page from either
disk or from the memory of another processor
If the page also has copies in other nodes, then some work
must be done to keep the memory coherent.
A parallel program is a set of threads or processes that share a virtual address space.
allow processes of a program to execute on different processors in parallel
if gap between sequence # => something missing
→ request retransmission