Messages in this thread | | | Date | Tue, 18 Mar 2003 03:11:04 +0100 | From | "J.A. Magallon" <> | Subject | Re: nfs and getattr |
| |
On 03.18, J.A. Magallon wrote: > A NFS client through 100Mb Ether takes a loooooooong time to read a database > from the server, which the server itself reads in less than 10 seconds. > The database is a scene description for render that basically 'includes' > the same small set of files (around 10) many times, instanced all over the > place... > > Mount in client: > 10.0.0.1:/home on /home type nfs (rw,nfsvers=2,noac,addr=10.0.0.1) >
More with a silly test:
#!/bin/bash
for i in $(seq 1000) do cat $0 > /dev/null done
annwn:~> time nfst 0.69user 1.49system 0:02.04elapsed 106%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (126416major+42508minor)pagefaults 0swaps annwn:~> time bpsh 0 nfst 1.02user 1.86system 0:33.64elapsed 8%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (280major+30minor)pagefaults 0swaps
-- J.A. Magallon <jamagallon@able.es> \ Software is like sex: werewolf.able.es \ It's better when it's free Mandrake Linux release 9.1 (Cooker) for i586 Linux 2.4.21-pre5-jam0 (gcc 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)) - 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/
| |