Hi all We are using a 2 node cluster with drbd 8 (primary/primary state) and ocfs2. Reading a file on one node while it will be written on the other node is very slow. Reading a file on node while it will be written on the same node is fast. In the first case the node which wants to read the file has to ask the other to downgrade the locklevel. In my opinion this is a bottleneck, if the files are big. Increasing clustersize did not really help. Is there a away to speed up the read of such a file? Is it possible to open files for reading in nolock mode (NL) instead of (PR)? Thanks for your response, Egon
And you are convinced that drdb's primary-primary is not the cause for the slowdown. ?? Egon Burgener wrote:> Hi all > > We are using a 2 node cluster with drbd 8 (primary/primary state) and > ocfs2. Reading a file on one node while it will be written on the other > node is very slow. Reading a file on node while it will be written on > the same node is fast. > In the first case the node which wants to read the file has to ask the > other to downgrade the locklevel. In my opinion this is a bottleneck, if > the files are big. Increasing clustersize did not really help. > > Is there a away to speed up the read of such a file? > > Is it possible to open files for reading in nolock mode (NL) instead of > (PR)? > > Thanks for your response, > > Egon > > > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users >