[Dovecot] NFS cache flush tester

Troy Engel tengel at fluid.com
Thu Jul 12 21:26:22 EEST 2007


Timo Sirainen wrote:
> http://dovecot.org/tools/nfstest.c

Latest version used (2007-07-12 ~11am PST) for tests.


Machine 1: CentOS 4 (RHEL 4 clone)
Linux 2.6.9-42.0.8.ELsmp #1 SMP Tue Jan 30 12:33:47 EST 2007 i686 i686 
i386 GNU/Linux

Machine 2: CentOS 4 (RHEL 4 clone)
Linux 2.6.9-42.0.10.ELsmp #1 SMP Tue Feb 27 10:11:19 EST 2007 i686 i686 
i386 GNU/Linux

NFS Server: SnapServer 4500 (linux software RAID based appliance)
Linux 2.4.19-gos-up #1 Wed Jul 12 23:00:50 PDT 2006 i686 i686 i386 GNU/Linux


machine 1: server
machine 2: client
=================
Info: Connected: client
Info: O_EXCL works
Info: Testing attribute cache..
Info: Attr cache flush fchown(-1, -1): failed
Info: Attr cache flush fchown(uid, -1): OK
Info: Attr cache flush fchmod(mode): OK
Info: Attr cache flush chown(-1, -1): failed
Info: Attr cache flush chown(uid, -1): OK
Info: Attr cache flush chmod(mode): OK
Info: Attr cache flush dup+close: OK
Info: Testing write flushing..
Info: Write flush no caching: failed
Info: Write flush fcntl(shared): OK
Info: Write flush fcntl(exclusive): OK
Info: Write flush flock(shared): failed
Info: Write flush flock(exclusive): failed
Info: Write flush reopen: OK
Info: Write flush dup+close: OK
Info: Write flush attr cache: failed
Info: Testing data cache..
Info: data cache: Reading EOF requires attribute cache flush
Info: Data cache flush no caching: failed
Info: Data cache flush attr cache: failed
Info: Data cache flush fcntl(shared): OK
Info: Data cache flush fcntl(exclusive): OK
Info: Data cache flush flock(shared): failed
Info: Data cache flush flock(exclusive): failed
Info: Data cache flush dotlock: failed
Info: Data cache flush O_DIRECT: OK
Info: Data cache flush dup+close: OK


machine 1: client
machine 2: server
=================
Info: Connected: client
Info: O_EXCL works
Info: Testing attribute cache..
Info: Attr cache flush fchown(-1, -1): failed
Info: Attr cache flush fchown(uid, -1): OK
Info: Attr cache flush fchmod(mode): OK
Info: Attr cache flush chown(-1, -1): failed
Info: Attr cache flush chown(uid, -1): OK
Info: Attr cache flush chmod(mode): OK
Info: Attr cache flush dup+close: OK
Info: Testing write flushing..
Info: Write flush no caching: failed
Info: Write flush fcntl(shared): OK
Info: Write flush fcntl(exclusive): OK
Info: Write flush flock(shared): failed
Info: Write flush flock(exclusive): failed
Info: Write flush reopen: OK
Info: Write flush dup+close: OK
Info: Write flush attr cache: failed
Info: Testing data cache..
Info: data cache: Reading EOF requires attribute cache flush
Info: Data cache flush no caching: failed
Info: Data cache flush attr cache: failed
Info: Data cache flush fcntl(shared): OK
Info: Data cache flush fcntl(exclusive): OK
Info: Data cache flush flock(shared): failed
Info: Data cache flush flock(exclusive): failed
Info: Data cache flush dotlock: failed
Info: Data cache flush O_DIRECT: OK
Info: Data cache flush dup+close: OK


-- 
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com


More information about the dovecot mailing list