From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,707ba86df1f88f16 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,707ba86df1f88f16 X-Google-Attributes: gid1164f8,public From: "Simon Maslin" Subject: Re: Require help with msync() functionality in OpenVMS Cluster env. Date: 1999/12/07 Message-ID: <82jdn3$no0@news.go.dlr.de>#1/1 X-Deja-AN: 557772663 References: <82goqs$lti@news.go.dlr.de> Organization: DLR X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: comp.os.vms,comp.sys.dec >AFAIK, you can't do that across cluster members. Presumably, msync() writes >all modified pages to the section file, and maps to the $UPDSEC system call. >However, there is no way, short of unmapping and remapping the section file, >that the other node can invalidate its local copy of those modified pages so >that they will be read from disk the next time they are accessed. > >Describe in more detail the problem you want to solve, if you want help. > > Jan Jan, Thanks for taking an interest. I am analysing software written by someone else. According to my understanding they are using msync() to write the shared memory (global section) data to disk and then to INVALIDATE it so that the next read by those mapped to the area causes a read from the disk into memory, (does it?) The question is whether this function works correctly on a Open VMS cluster and if so how are the writes/reads on each machine synchronised. For example does read I/O on the second machine hold-up write I/O on the first machine ? I assume that msync() has similar features to $UPDSEC although the parameter options are far fewer wih msync(). Are there situations/problems to be aware of using this function ? Thanks, Simon.