Server: Fedora11client: Fedora11 use cat/proc/cpuinfo and grepMemTotal/proc/meminfo to view the configuration, and find that server: clock speed MB memory 3 Gclient
Server: Fedora 11
Client: Fedora 11
Run cat/proc/cpuinfo and grep MemTotal/proc/meminfo to view the configuration.
Server: 1600 M clock speed
3 GB memory
Client: 1200 M clock speed
2 GB memory
Embarrassed, the performance on the server side is higher than the stress on the client. How can we do the parallel test and stress test... I will try to talk to Lao Li next week to lower the server configuration.
Install nfs on Fedora:
Server:
Netstat-in view Network Interfaces
Ifconfig bind0/eth0 get ip
Su
Yum install portmap
Service rpcbind start
Su
Yum install nfs-utils
/Etc/rc. d/init. d/nfs start
Mkdir/home/nfs-server-try
Vi/etc/exports
Edit the accessible Folder/home/nfs-server-try 192.168.1.153 (rw, no_root_squash)
Exportfs-r
/Etc/rc. d/init. d/nfs restart
Client:
Use the same steps to install nfs and portmap and start
Showmount-e 192.168.1.203
Mkdir/home/client/nfs-client-try
Mount: mount 192.168.1.203:/home/nfs-server-try/home/client/nfs-client-try
Client running iozone
Download iozone and run it,
. /Iozone-acR-i0-i1/home/client/nfs-client-try-g 1G-n 512B-B/home/client/desktop/iozone-log/2.xls- p 6
An error was found: mount: can't find/home/client/nfs-client-try in/etc/fstab or/etc/mtab.
Add a line to/etc/fstab:
192.168.1.203:/home/nfs-server-try/home/client/nfs-client-try nfs ults 0 0
Running iozone again is correct ~
Posting statistical results:
Problems found:
With nfsstat-s, we found that the number of rpc calls has only increased by seven, and the number of getaddr, lookup, write, and read calls has only increased by a dozen. Why? Is it because of the Client Cache function (nfsv3 allows asynchronous writing )?