knfsd performance vs. unfsd performance

Greg Whalin (gwhalin@numerix.com)
Sat, 19 Sep 1998 15:12:52 -0500 (CDT)


OK, I have been running some benchmarks on a new linux NFS server (Dual
PPro 200, linux-2.1.122). I am having it be a NFS server for a network
of diverse platforms. I ran the benchmark program named bonnie on a SunOS
client and here are the results:

Solaris NFS Server:

File './bonnie.10945', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 2...Seeker 1...Seeker 3...start 'em...done...done...done...
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
100 353 24.5 380 3.8 166 3.6 375 30.6 793 5.8 41.4 6.1

Linux NFS server using knfsd-980915:

File './bonnie.21608', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 3...Seeker 2...start 'em...done...done...done...
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
100 64 4.5 62 0.6 40 0.9 379 30.2 965 7.8 48.4 6.6

Linux NFS Server using unfsd (nfs-server-2.2beta36 with patch c):

File './bonnie.13980', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 3...Seeker 1...Seeker 2...start 'em...done...done...done...
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
100 472 29.1 795 7.3 239 4.7 375 30.6 864 6.0 160.8 14.7

As you can see, the linux unfsd outperforms the original Solaris server we
had, however, the knfsd performance is terrible.

Any thoughts on how to boost performance for the knfsd? Or is this just a
limitation?

Thoughts?

Greg

--------------------
Greg Whalin
gwhalin@numerix.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/