Bull GNU/Linux NFSv4 project

2.6.19-rc6-CITI_NFS4_ALL-1
Robustness regression tests

Introduction

Here are the last results for the Robustness and Performances testing  of the kernel and CITI patch: linux-2.6.19-rc6-CITI_NFS4_ALL-1
plus the following patch which fixes a memory leak with krb5i (
BUGZILLA #132)

diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 2dfc4a2..b88ec10 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -740,9 +740,12 @@ static inline void nfsd4_increment_op_st

 static void cstate_free(struct nfsd4_compound_state *cstate)
 {
+       if (cstate == NULL)
+               return;
        fh_put(&cstate->current_fh);
        fh_put(&cstate->save_fh);
        BUG_ON(cstate->replay_owner);
+       kfree(cstate);
 }

 static struct nfsd4_compound_state *cstate_alloc(void)


Tests performed

The following tools have been used:

Performances Results


We retrieve logically a degradation following the security flavor used. Nevertheless it looks  there is space to try to improve krb5i to be closer to the krb5 performance and there is  clearly a performance bug for krb5p (BUGZILLA#117).

Robustness Results

Kerberos Robustness Results

Get an issue when running the special tests (-s).
When running   ./runtests -s -t /mnt/krb5p/file, we get the following error:

write/read 30 MB file
write/read at 2GB, 4GB edges
can't read at offset 0x080000000: Input/output error
special tests failed 
See BUGZILLA #133

Get another error when mounting with the synchronous mode and kerberos krb5p:

test rewind support
write: Permission denied
special tests failed

This test rewind works if the mount is asynchronous.
See BUGZILLA #137
When running ./fsx-linux -N 50000 /mnt/krb5p/file

gets the following error:

READ BAD DATA: offset = 0x10d2a, size = 0xee3
OFFSET  GOOD    BAD     RANGE
0x10d2a 0x7493  0x0000  0x  edc
operation# (mod 256) for the bad data unknown, check HOLE and EXTEND ops
See BUGZILLA #136



Interoperability Robustness results


Software versions

Linux linux-2.6.19-rc6-CITI_NFS4_ALL-1
Client userland package util-linux-2.12
+ util-linux-2.12-CITI_NFS4_ALL-3.dif
Linux nfs-utils version nfs-utils-1.0.10
+nfs-utils-1.0.10-CITI_NFS4_ALL-3.dif
gssapi library
libgssapi-0.10
rpcsecgss
library
librpcsecgss-0.14
nfsidmap
library
libnfsidmap-0.18
acl
library
acl_2.2.29-1
+acl-2.2.29-CITI_NFS4_ALL-3
Linux TI-RPC 0.1.7

Hardware configuration

 Client and Server

Conclusion

Core linux-2.6.19-rc6-CITI_NFS4_ALL-1 (plus Memory leak  patch) functions should be considered as stable for the security flavors sys, krb5 and krb5i. Nevertheless tests continue for those not run yet  and tables will be completed when done.

About the security flavor krb5i, important memory leaks bugs have been fixed since 2.6.17-rc2 like BUGZILLA #109, #132. Nevertheless for krb5p, BUGZILLA #117 about performance is still remaining  and three new issues have coming BUGZILLA#133 ,#136 and #137 which prevent Special Tests Connectathon and fsx bench to run correctly.