Re: nfsroot dead slow with redhat 7.2

Trond Myklebust (trond.myklebust@fys.uio.no)
Thu, 20 Dec 2001 03:39:39 +0100


>>>>> " " == David Chow <davidchow@rcn.com.hk> writes:

> The network is fine. It is so slow that an ls -l at the rootfs
> takes more than 2 minutes. The readdir() seems alright because
> the ls immediate counts the number of records says "total
> blahbalh" but when doing individual lookup calls, it seems slow
> like hell. We have other production i686smp servers 2.4.14

As I said: 'tcpdump' ought to show you what is going on.

> serving diskless i686 clients using
> 2.4.13 kernels works great. Is there any difference in nfsroot
> with
> normal nfsmounts? And can we configure the nfsroot use a v3

Nope: no differences. NFSroot uses the exact same code as standard
NFS.

> mount? becaus now it defaults to v2 always.

As I said in my previous mail: use the mount option 'v3' on the kernel
boot line if you want NFSv3.

e.g. nfsroot="10.0.0.1:/bar,v3"

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