I just tried your test. It is almost instantenous, whether
the server is a Linux 2.2.1-ac3 box or a Solaris 2.5.1 :
/soleil/u7/danis/tmp > time ./bench-nfs toto
0.01user 0.04system 0:00.05elapsed 100%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (61major+9minor)pagefaults 0swaps
/soleil/u7/danis/tmp > ls -l toto
-rwxrwxr-x 1 danis sig 8192 mar 9 09:39 toto
/soleil/u7/danis/tmp >
The client is a 2.2.2-ac7.
With a 2.0.34 box :
/soleil/u7/danis/tmp > time ./zz toto
0.02user 1.07system 0:14.06elapsed 7%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (53major+7minor)pagefaults 0swaps
/soleil/u7/danis/tmp >
That is, 14 secondes.
A+
-- Thierry Danis- 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/