[Ocfs2-users] read/write performance across cluster

2011-05-04 Thread Florin Andrei
Red Hat 5 kernel 64 bit, OCFS2 1.4.4. Two servers with lots of RAM, filesystem is on a SAN via Fiber Channel, the Ethernet between servers is pretty fast. There's a volume on the SAN used for logs. A log collector runs on one server, appending lines to a variety of log files in real time. The

Re: [Ocfs2-users] read/write performance across cluster

2011-05-04 Thread Srinivas Eeda
Florin Andrei wrote: Red Hat 5 kernel 64 bit, OCFS2 1.4.4. Two servers with lots of RAM, filesystem is on a SAN via Fiber Channel, the Ethernet between servers is pretty fast. There's a volume on the SAN used for logs. A log collector runs on one server, appending lines to a variety of

Re: [Ocfs2-users] read/write performance across cluster

2011-05-04 Thread Florin Andrei
On 05/04/2011 09:44 AM, Srinivas Eeda wrote: Yes, there is locking involved. Extending a file needs an exclusive lock. Grepping a file needs read lock. If the same node(lets call it writer node) does extending and grepping, then grep already has a compatible lock and the data is also cached on

Re: [Ocfs2-users] read/write performance across cluster

2011-05-04 Thread Sunil Mushran
On 05/04/2011 09:56 AM, Florin Andrei wrote: On 05/04/2011 09:44 AM, Srinivas Eeda wrote: Yes, there is locking involved. Extending a file needs an exclusive lock. Grepping a file needs read lock. If the same node(lets call it writer node) does extending and grepping, then grep already has a

Re: [Ocfs2-users] read/write performance across cluster

2011-05-04 Thread Srinivas Eeda
Florin Andrei wrote: On 05/04/2011 09:44 AM, Srinivas Eeda wrote: Yes, there is locking involved. Extending a file needs an exclusive lock. Grepping a file needs read lock. If the same node(lets call it writer node) does extending and grepping, then grep already has a compatible lock and