NFS configuration and iozone test under Fedora

Source: Internet
Author: User
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 )?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.