* Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13
@ 2010-05-26 12:35 Benny Halevy
2010-05-26 14:03 ` Boaz Harrosh
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: Benny Halevy @ 2010-05-26 12:35 UTC (permalink / raw)
To: steved, NFS list; +Cc: Chen, Helen Y
[-- Attachment #1: Type: text/plain, Size: 4191 bytes --]
Helen, please note that the pnfs@linux-nfs.org mailing list was deprecated.
Forwarding to linux-nfs@vger.kernel.org.
>From a quick glance I'm not sure what went wrong with your build,
Steve should know better :-)
Benny
On May. 19, 2010, 20:32 +0300, "Chen, Helen Y" <hycsw@sandia.gov> wrote:
Has anyone successfully build pnfs enabled nfs utils under Fedora 13?
I am running the kernel from:
http://steved.fedorapeople.org/repos/pnfs/13/x86_64/
I installed libtirpc{,-devel}, tcp_wrappers{,-devel}, libevent{,-devel},
nfs-utils-lib{,-devel},
libgssglue{,-devel}, libblkid{,-devel}, and libcap{,-devel}
per instructions from:
_http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilati__on_
<http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilation>
I used libnfsidmap{,-devel} bundled in:
Nfs-utils-lib-devel-1.1.5-1.fc13.X86_64.rpm
Finally, I downloaded _nfs-utils-1.2.2-4.1.pnfs.src.rpm_
<http://steved.fedorapeople.org/repos/pnfs/13/source/nfs-utils-1.2.2-4.1.pnfs.src.rpm>
from _http://steved.fedorapeople.org/repos/pnfs/13/source/_
I am having trouble building these utils. I failed to generate
‘configure’ when I ran autogen.sh:
/c//leaning up ............. done
//lobotomize//: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `aclocal'.
libtoolize: copying file `aclocal/libtool.m4'
libtoolize: copying file `aclocal/ltoptions.m4'
libtoolize: copying file `aclocal/ltsugar.m4'
libtoolize: copying file `aclocal/ltversion.m4'
libtoolize: copying file `aclocal/lt~obsolete.m4'
configure.ac:5: installing `./config.guess'
configure.ac:5: installing `./config.sub'
configure.ac:421: required file `tools/mountstats/Makefile.in' not found
configure.ac:421: required file `tools/nfs-iostat/Makefile.in' not found/
I deleted the two Makefile.in requirements from line 421 in configure.ac
because there were only python scripts inside those directories.
When I ran the ‘configure’ generated after the modification, it failed
with the following output:
/checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... no
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for clnt_tli_create in -ltirpc... yes
checking /usr/include/tirpc/netconfig.h usability... yes
checking /usr/include/tirpc/netconfig.h presence... yes
checking for /usr/include/tirpc/netconfig.h... yes
checking for prctl... yes
checking for cap_get_proc in -lcap... yes
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking for libwrap... /
But libwrap is obviously installed based on the locate command:
#locate libwrap
/usr/lib/libwrap.so
/usr/lib/libwrap.so.0
/usr/lib/libwrap.so.0.7.6
/usr/lib64/libwrap.so
/usr/lib64/libwrap.so.0
/usr/lib64/libwrap.so.0.7.6
I am new at this and would appreciate any help you can provide.
Thanks,
Helen
[-- Attachment #2: Attached Message Part --]
[-- Type: text/plain, Size: 343 bytes --]
_______________________________________________
NOTE: THIS LIST IS DEPRECATED. Please use linux-nfs@vger.kernel.org
instead. (To subscribe to linux-nfs@vger.kernel.org: send "subscribe
linux-nfs" in the body of a message to majordomo@vger.kernel.org.)
pNFS mailing list
pNFS@linux-nfs.org
http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 2010-05-26 12:35 Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 Benny Halevy @ 2010-05-26 14:03 ` Boaz Harrosh 2010-05-26 18:17 ` Steve Dickson ` (2 subsequent siblings) 3 siblings, 0 replies; 13+ messages in thread From: Boaz Harrosh @ 2010-05-26 14:03 UTC (permalink / raw) To: Benny Halevy; +Cc: steved, NFS list, Chen, Helen Y On 05/26/2010 03:35 PM, Benny Halevy wrote: > Helen, please note that the pnfs@linux-nfs.org mailing list was deprecated. > Forwarding to linux-nfs@vger.kernel.org. > >>From a quick glance I'm not sure what went wrong with your build, > Steve should know better :-) > > Benny > > On May. 19, 2010, 20:32 +0300, "Chen, Helen Y" <hycsw@sandia.gov> wrote: > > > > > Has anyone successfully build pnfs enabled nfs utils under Fedora 13? > I am running the kernel from: > http://steved.fedorapeople.org/repos/pnfs/13/x86_64/ > > I installed libtirpc{,-devel}, tcp_wrappers{,-devel}, libevent{,-devel}, > nfs-utils-lib{,-devel}, > libgssglue{,-devel}, libblkid{,-devel}, and libcap{,-devel} > > per instructions from: > _http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilati__on_ > <http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilation> > > I used libnfsidmap{,-devel} bundled in: > Nfs-utils-lib-devel-1.1.5-1.fc13.X86_64.rpm > > Finally, I downloaded _nfs-utils-1.2.2-4.1.pnfs.src.rpm_ > <http://steved.fedorapeople.org/repos/pnfs/13/source/nfs-utils-1.2.2-4.1.pnfs.src.rpm> > from _http://steved.fedorapeople.org/repos/pnfs/13/source/_ > > I am having trouble building these utils. I failed to generate > ‘configure’ when I ran autogen.sh: > > /c//leaning up ............. done > //lobotomize//: putting auxiliary files in `.'. > libtoolize: copying file `./ltmain.sh' > libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `aclocal'. > libtoolize: copying file `aclocal/libtool.m4' > libtoolize: copying file `aclocal/ltoptions.m4' > libtoolize: copying file `aclocal/ltsugar.m4' > libtoolize: copying file `aclocal/ltversion.m4' > libtoolize: copying file `aclocal/lt~obsolete.m4' > configure.ac:5: installing `./config.guess' > configure.ac:5: installing `./config.sub' > configure.ac:421: required file `tools/mountstats/Makefile.in' not found > configure.ac:421: required file `tools/nfs-iostat/Makefile.in' not found/ > > I deleted the two Makefile.in requirements from line 421 in configure.ac > because there were only python scripts inside those directories. > > When I ran the ‘configure’ generated after the modification, it failed > with the following output: > > /checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking for style of include used by make... GNU > checking for gcc... gcc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking dependency style of gcc... gcc3 > checking how to run the C preprocessor... gcc -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ANSI C header files... no > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... no > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for clnt_tli_create in -ltirpc... yes > checking /usr/include/tirpc/netconfig.h usability... yes > checking /usr/include/tirpc/netconfig.h presence... yes > checking for /usr/include/tirpc/netconfig.h... yes > checking for prctl... yes > checking for cap_get_proc in -lcap... yes > checking sys/capability.h usability... yes > checking sys/capability.h presence... yes > checking for sys/capability.h... yes > checking for libwrap... / > > But libwrap is obviously installed based on the locate command: > #locate libwrap > /usr/lib/libwrap.so > /usr/lib/libwrap.so.0 > /usr/lib/libwrap.so.0.7.6 > /usr/lib64/libwrap.so > /usr/lib64/libwrap.so.0 > /usr/lib64/libwrap.so.0.7.6 > Yes I think I had that to, on FC12 did you also install tcp_wrappers-devel [What configure does is look for the tcpd.h file. So basically you: - Look in configure what failed, and analyse what was missing here it was "#include <tcpd.h>". - yum provides "*/tcpd.h" - will show the tcp_wrappers-devel Imagine that stupid me, I attempted to configure without reading the wiki first and had about 10 of these, by the time I gut to libwrap it was becoming routine RANT: I wish configure would leave the failing code on disk and specify the commands I need to do to run the failing test. Or at least save and print the gcc output of the failing test, rrrr ... ] > I am new at this and would appreciate any help you can provide. > So there you have it > Thanks, > Helen > Boaz ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 2010-05-26 12:35 Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 Benny Halevy 2010-05-26 14:03 ` Boaz Harrosh @ 2010-05-26 18:17 ` Steve Dickson [not found] ` <4BFD65CA.7080509-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org> 2010-08-04 21:59 ` pNFS file layout performance Chen, Helen Y [not found] ` <F9F38212E2D77948B1CD89D239A7C07B138EE2E46F@ES01SNLNT.srn.sandia.gov> 3 siblings, 1 reply; 13+ messages in thread From: Steve Dickson @ 2010-05-26 18:17 UTC (permalink / raw) To: Benny Halevy; +Cc: NFS list, Chen, Helen Y On 05/26/2010 08:35 AM, Benny Halevy wrote: > Has anyone successfully build pnfs enabled nfs utils under Fedora 13? Yes... I run both the kernel and nfs-utils on a number of my test machines to ensure they stability. > I am running the kernel from: > http://steved.fedorapeople.org/repos/pnfs/13/x86_64/ You might want to think about installing the yum repo at http://steved.fedorapeople.org/pnfs.repo so you can automatically get updates > > I am having trouble building these utils. I failed to generate > ‘configure’ when I ran autogen.sh: Here is the list of packages that need to be installed to build the Fedora nfs-utils: libgssglue-devel libevent-devel libcap-devel nfs-utils-lib-devel libtirpc-devel libblkid-devel openldap-devel krb5-devel tcp_wrappers-devel To install these all at once, cat them into a file and then: yum install `cat /tmp/list` Next run the following commands: ./autogen.sh && ./configure && make > I am new at this and would appreciate any help you can provide. Well welcome... and please let know if there any more problems... steved. ^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <4BFD65CA.7080509-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>]
* RE: Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 [not found] ` <4BFD65CA.7080509-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org> @ 2010-07-20 22:51 ` Chen, Helen Y [not found] ` <7A6A58246D5F0B4EA127BEA555B3A9AD06111FB6@RTPMVEXC1-PRD.hq.netapp.com> 0 siblings, 1 reply; 13+ messages in thread From: Chen, Helen Y @ 2010-07-20 22:51 UTC (permalink / raw) To: 'Steve Dickson', 'Benny Halevy'; +Cc: 'NFS list' Hi Benny, I installed Steve's fedora 13 pnfs kernel and your pnfs utils from the git tree on my 3 node testbed, a client, a MDS and a DS. I have successfully configured and mounted pNFS from the client, but can only create empty files in the directory. All attempts to write resulted in remote I/O errors. I discovered later that spnfsd is not running on the MDS. It dies silently every time I tried to start it. Running spnfsd with gdb indicated that it is reading /etc/spnfsd.conf correctly but crashed while writing to /proc/fs/spnfs/config. Your help will be appreciated? Thanks in advance, Helen -----Original Message----- From: Steve Dickson [mailto:SteveD@redhat.com] Sent: Wednesday, May 26, 2010 11:18 AM To: Benny Halevy Cc: NFS list; Chen, Helen Y Subject: Re: Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 On 05/26/2010 08:35 AM, Benny Halevy wrote: > Has anyone successfully build pnfs enabled nfs utils under Fedora 13? Yes... I run both the kernel and nfs-utils on a number of my test machines to ensure they stability. > I am running the kernel from: > http://steved.fedorapeople.org/repos/pnfs/13/x86_64/ You might want to think about installing the yum repo at http://steved.fedorapeople.org/pnfs.repo so you can automatically get updates > > I am having trouble building these utils. I failed to generate > 'configure' when I ran autogen.sh: Here is the list of packages that need to be installed to build the Fedora nfs-utils: libgssglue-devel libevent-devel libcap-devel nfs-utils-lib-devel libtirpc-devel libblkid-devel openldap-devel krb5-devel tcp_wrappers-devel To install these all at once, cat them into a file and then: yum install `cat /tmp/list` Next run the following commands: ./autogen.sh && ./configure && make > I am new at this and would appreciate any help you can provide. Well welcome... and please let know if there any more problems... steved. ^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <7A6A58246D5F0B4EA127BEA555B3A9AD06111FB6@RTPMVEXC1-PRD.hq.netapp.com>]
[parent not found: <7A6A58246D5F0B4EA127BEA555B3A9AD06111FB6-rtwIt2gI0FxT+ZUat5FNkAK/GNPrWCqfQQ4Iyu8u01E@public.gmane.org>]
* Re: Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 [not found] ` <7A6A58246D5F0B4EA127BEA555B3A9AD06111FB6-rtwIt2gI0FxT+ZUat5FNkAK/GNPrWCqfQQ4Iyu8u01E@public.gmane.org> @ 2010-07-21 13:31 ` Steve Dickson [not found] ` <4C46F6A7.3090800-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 13+ messages in thread From: Steve Dickson @ 2010-07-21 13:31 UTC (permalink / raw) To: Sager, Mike; +Cc: Chen, Helen Y, Benny Halevy, NFS list On 07/20/2010 10:50 PM, Sager, Mike wrote: > Does the kernel have spnfs configured in (i.e., CONFIG_SPNFS)? Upon > start up, spnfsd expects to find certain files under /proc/fs/spnfs. If > spnfs isn't configured, those files won't exist. Yes... I have the following set, CONFIG_SPNFS=y CONFIG_SPNFS_LAYOUTSEGMENTS=y CONFIG_SPNFS_BLOCK=y steved. ^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <4C46F6A7.3090800-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>]
* RE: Fwd: Re: [pnfs] typo in the pnfs setup wiki? [not found] ` <4C46F6A7.3090800-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org> @ 2010-07-21 19:06 ` Chen, Helen Y 0 siblings, 0 replies; 13+ messages in thread From: Chen, Helen Y @ 2010-07-21 19:06 UTC (permalink / raw) To: 'Steve Dickson', 'Sager, Mike' Cc: 'Benny Halevy', 'NFS list' Mike, I got spnfsd to run successfully after I corrected a typo in the DataServers section of my spnfsd.conf. I didn't step far enough in gdb to realize that I actually had a typo there. Sorry if I have wasted your time! I was still struggling with the remote I/O error even after spnfsd had been started successfully. I had to remove the pnfs option in /etc/exportfs on the DS server to get rid of the remote I/O error. Is there a mistake in the wiki instruction? Thank you very much for your help, Helen -----Original Message----- From: Steve Dickson [mailto:SteveD@redhat.com] Sent: Wednesday, July 21, 2010 6:31 AM To: Sager, Mike Cc: Chen, Helen Y; Benny Halevy; NFS list Subject: Re: Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 On 07/20/2010 10:50 PM, Sager, Mike wrote: > Does the kernel have spnfs configured in (i.e., CONFIG_SPNFS)? Upon > start up, spnfsd expects to find certain files under /proc/fs/spnfs. If > spnfs isn't configured, those files won't exist. Yes... I have the following set, CONFIG_SPNFS=y CONFIG_SPNFS_LAYOUTSEGMENTS=y CONFIG_SPNFS_BLOCK=y steved. ^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: pNFS file layout performance 2010-05-26 12:35 Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 Benny Halevy 2010-05-26 14:03 ` Boaz Harrosh 2010-05-26 18:17 ` Steve Dickson @ 2010-08-04 21:59 ` Chen, Helen Y 2010-08-05 16:31 ` Benny Halevy [not found] ` <F9F38212E2D77948B1CD89D239A7C07B138EE2E46F@ES01SNLNT.srn.sandia.gov> 3 siblings, 1 reply; 13+ messages in thread From: Chen, Helen Y @ 2010-08-04 21:59 UTC (permalink / raw) To: 'Benny Halevy', 'steved@redhat.com', 'NFS list' Steve and Benny, Thank you very much for your help! I have successfully set up a 3-node testbed and ran some benchmark since. Unfortunately, throughput results are very poor. I am running Steve's 2.6.33.5-112.2.2.pnfs.fc13.x86_64 kernel, and exported a 28GB ramfs from my DS to the MDS. I was able to achieve ~400 MB/s over NFS using iozone. I then proceed to run the same test from the pNFS client and got only 50 MB/s. After detecting that my test data had landed on both the MDS and DS, I assumed disk I/O on the MDS was the bottleneck. So I proceeded to rebuild the kernel with CONFIG_PNFSD_LOCAL_EXPORT disabled, but achieved only 6 MB/s afterward. Is this expected, or am I doing something wrong? Please let me know if I need to provide further information. Thanks, Helen -----Original Message----- From: Benny Halevy [mailto:bhalevy.lists@gmail.com] On Behalf Of Benny Halevy Sent: Wednesday, May 26, 2010 5:36 AM To: steved@redhat.com; NFS list Cc: Chen, Helen Y Subject: Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 Helen, please note that the pnfs@linux-nfs.org mailing list was deprecated. Forwarding to linux-nfs@vger.kernel.org. >From a quick glance I'm not sure what went wrong with your build, Steve should know better :-) Benny On May. 19, 2010, 20:32 +0300, "Chen, Helen Y" <hycsw@sandia.gov> wrote: Has anyone successfully build pnfs enabled nfs utils under Fedora 13? I am running the kernel from: http://steved.fedorapeople.org/repos/pnfs/13/x86_64/ I installed libtirpc{,-devel}, tcp_wrappers{,-devel}, libevent{,-devel}, nfs-utils-lib{,-devel}, libgssglue{,-devel}, libblkid{,-devel}, and libcap{,-devel} per instructions from: _http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilati__on_ <http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilation> I used libnfsidmap{,-devel} bundled in: Nfs-utils-lib-devel-1.1.5-1.fc13.X86_64.rpm Finally, I downloaded _nfs-utils-1.2.2-4.1.pnfs.src.rpm_ <http://steved.fedorapeople.org/repos/pnfs/13/source/nfs-utils-1.2.2-4.1.pnfs.src.rpm> from _http://steved.fedorapeople.org/repos/pnfs/13/source/_ I am having trouble building these utils. I failed to generate 'configure' when I ran autogen.sh: /c//leaning up ............. done //lobotomize//: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `aclocal'. libtoolize: copying file `aclocal/libtool.m4' libtoolize: copying file `aclocal/ltoptions.m4' libtoolize: copying file `aclocal/ltsugar.m4' libtoolize: copying file `aclocal/ltversion.m4' libtoolize: copying file `aclocal/lt~obsolete.m4' configure.ac:5: installing `./config.guess' configure.ac:5: installing `./config.sub' configure.ac:421: required file `tools/mountstats/Makefile.in' not found configure.ac:421: required file `tools/nfs-iostat/Makefile.in' not found/ I deleted the two Makefile.in requirements from line 421 in configure.ac because there were only python scripts inside those directories. When I ran the 'configure' generated after the modification, it failed with the following output: /checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... no checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for clnt_tli_create in -ltirpc... yes checking /usr/include/tirpc/netconfig.h usability... yes checking /usr/include/tirpc/netconfig.h presence... yes checking for /usr/include/tirpc/netconfig.h... yes checking for prctl... yes checking for cap_ge! t_proc in -lcap... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for libwrap... / But libwrap is obviously installed based on the locate command: #locate libwrap /usr/lib/libwrap.so /usr/lib/libwrap.so.0 /usr/lib/libwrap.so.0.7.6 /usr/lib64/libwrap.so /usr/lib64/libwrap.so.0 /usr/lib64/libwrap.so.0.7.6 I am new at this and would appreciate any help you can provide. Thanks, Helen ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: pNFS file layout performance 2010-08-04 21:59 ` pNFS file layout performance Chen, Helen Y @ 2010-08-05 16:31 ` Benny Halevy 0 siblings, 0 replies; 13+ messages in thread From: Benny Halevy @ 2010-08-05 16:31 UTC (permalink / raw) To: Chen, Helen Y; +Cc: 'steved@redhat.com', 'NFS list' On Aug. 05, 2010, 0:59 +0300, "Chen, Helen Y" <hycsw@sandia.gov> wrote: > Steve and Benny, > > Thank you very much for your help! I have successfully set up a 3-node testbed and ran some benchmark since. Unfortunately, throughput results are very poor. > > I am running Steve's 2.6.33.5-112.2.2.pnfs.fc13.x86_64 kernel, and exported a 28GB ramfs from my DS to the MDS. I was able to achieve ~400 MB/s over NFS using iozone. I then proceed to run the same test from the pNFS client and got only 50 MB/s. After detecting that my test data had landed on both the MDS and DS, I assumed disk I/O on the MDS was the bottleneck. So I proceeded to rebuild the kernel with CONFIG_PNFSD_LOCAL_EXPORT disabled, but achieved only 6 MB/s afterward. Is this expected, or am I doing something wrong? Please let me know if I need to provide further information. This performance level seems unacceptable and something must have went wrong. Were you able to get the 400 MB/s over NFSv4.1 to the MDS? Benny > > Thanks, > Helen > > -----Original Message----- > From: Benny Halevy [mailto:bhalevy.lists@gmail.com] On Behalf Of Benny Halevy > Sent: Wednesday, May 26, 2010 5:36 AM > To: steved@redhat.com; NFS list > Cc: Chen, Helen Y > Subject: Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 > > Helen, please note that the pnfs@linux-nfs.org mailing list was deprecated. > Forwarding to linux-nfs@vger.kernel.org. > > From a quick glance I'm not sure what went wrong with your build, Steve should know better :-) > > Benny > > On May. 19, 2010, 20:32 +0300, "Chen, Helen Y" <hycsw@sandia.gov> wrote: > > > > > Has anyone successfully build pnfs enabled nfs utils under Fedora 13? > I am running the kernel from: > http://steved.fedorapeople.org/repos/pnfs/13/x86_64/ > > I installed libtirpc{,-devel}, tcp_wrappers{,-devel}, libevent{,-devel}, nfs-utils-lib{,-devel}, libgssglue{,-devel}, libblkid{,-devel}, and libcap{,-devel} > > per instructions from: > _http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilati__on_ > <http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilation> > > I used libnfsidmap{,-devel} bundled in: > Nfs-utils-lib-devel-1.1.5-1.fc13.X86_64.rpm > > Finally, I downloaded _nfs-utils-1.2.2-4.1.pnfs.src.rpm_ > <http://steved.fedorapeople.org/repos/pnfs/13/source/nfs-utils-1.2.2-4.1.pnfs.src.rpm> > from _http://steved.fedorapeople.org/repos/pnfs/13/source/_ > > I am having trouble building these utils. I failed to generate 'configure' when I ran autogen.sh: > > /c//leaning up ............. done > //lobotomize//: putting auxiliary files in `.'. > libtoolize: copying file `./ltmain.sh' > libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `aclocal'. > libtoolize: copying file `aclocal/libtool.m4' > libtoolize: copying file `aclocal/ltoptions.m4' > libtoolize: copying file `aclocal/ltsugar.m4' > libtoolize: copying file `aclocal/ltversion.m4' > libtoolize: copying file `aclocal/lt~obsolete.m4' > configure.ac:5: installing `./config.guess' > configure.ac:5: installing `./config.sub' > configure.ac:421: required file `tools/mountstats/Makefile.in' not found > configure.ac:421: required file `tools/nfs-iostat/Makefile.in' not found/ > > I deleted the two Makefile.in requirements from line 421 in configure.ac because there were only python scripts inside those directories. > > When I ran the 'configure' generated after the modification, it failed with the following output: > > /checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... > checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... no checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for clnt_tli_create in -ltirpc... yes checking /usr/include/tirpc/netconfig.h usability... yes checking /usr/include/tirpc/netconfig.h presence... yes checking for /usr/include/tirpc/netconfig.h... yes checking for prctl... yes checking for cap_g et_proc in -lcap... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for libwrap... / > > But libwrap is obviously installed based on the locate command: > #locate libwrap > /usr/lib/libwrap.so > /usr/lib/libwrap.so.0 > /usr/lib/libwrap.so.0.7.6 > /usr/lib64/libwrap.so > /usr/lib64/libwrap.so.0 > /usr/lib64/libwrap.so.0.7.6 > > I am new at this and would appreciate any help you can provide. > > Thanks, > Helen > > > > > > > > > ^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <F9F38212E2D77948B1CD89D239A7C07B138EE2E46F@ES01SNLNT.srn.sandia.gov>]
* RE: pNFS file layout performance [not found] ` <F9F38212E2D77948B1CD89D239A7C07B138EE2E46F@ES01SNLNT.srn.sandia.gov> @ 2010-08-05 0:20 ` Chen, Helen Y 2010-08-05 16:33 ` Benny Halevy 2010-08-05 22:01 ` Daniel.Muntz 0 siblings, 2 replies; 13+ messages in thread From: Chen, Helen Y @ 2010-08-05 0:20 UTC (permalink / raw) To: Chen, Helen Y, 'Benny Halevy', 'steved@redhat.com', 'NFS list' I add a 2nd DS and repeated the benchmark. It had seemed the test data had been placed on the MDS and not the DS'es? Any idea why? Thanks, Helen The following are my notes on kernel, configuration set up, and results: I rebuilt Steve's f13 pnfs kernel source with: # CONFIG_PNFSD_LOCAL_EXPORT is not set Configuration set up: Data Server: /etc/fstab tmpfs /export/spnfs tmpfs size=85% 0 0 /etc/exports /export/spnfs *(rw,sync,fsid=0,insecure,no_subtree_check,pnfs,no_root_squash) Meta Data Server: /etc/fstab wtb9-10g:/ /spnfs/192.168.96.109 nfs4 minorversion=1,intr,soft,rsize=32768,wsiz e=32768 0 0 wtb10-10g:/ /spnfs/192.168.96.110 nfs4 minorversion=1,intr,soft,rsize=32768,wsiz e=32768 0 0 wtb11-10g:/ /spnfs/192.168.96.11 nfs4 minorversion=1,intr,soft,rsize=32768,wsiz e=32768 0 0 /etc/exports /export *(rw,sync,pnfs,fsid=0,insecure,no_subtree_check,no_root_squash) /etc/spnfsd.conf [General] Verbosity = 1 Stripe-size = 8192 Dense-striping = 0 Pipefs-Directory = /var/lib/nfs/rpc_pipefs DS-Mount-Directory = /spnfs [DataServers] NumDS = 2 DS1_IP = 192.168.96.109 DS1_PORT = 2049 DS1_ROOT = / DS1_ID = 1 DS2_IP = 192.168.96.110 DS2_PORT = 2049 DS2_ROOT = / DS2_ID = 2 pNFS Client: /etc/fstab wtb8-10g:/ /mnt nfs4 minorversion=1,tcp,intr,soft,rsize=32768,wsize=32768,timeo=600 0 The following is one of my benchmark result: iozone -i 0 -s 1g -r 32k -f /mnt/1g -c -w 1. on Client: [root@wtb7 pnfs-tests]# ls -l /mnt total 132100 -rw-r----- 1 root root 1073741824 Aug 4 16:25 1g 2. on MDS [root@wtb8 ~]# stat /export/1g File: `/export/1g' Size: 1073741824 Blocks: 264200 IO Block: 4096 regular file Device: 805h/2053d Inode: 491522 Links: 1 Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2010-08-04 16:24:48.000000000 -0700 Modify: 2010-08-04 16:25:28.000000000 -0700 Change: 2010-08-04 16:25:28.000000000 -0700 2. on MDS [root@wtb8 ~]# stat /export/1g File: `/export/1g' Size: 1073741824 Blocks: 264200 IO Block: 4096 regular file Device: 805h/2053d Inode: 491522 Links: 1 Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2010-08-04 16:24:48.000000000 -0700 Modify: 2010-08-04 16:25:28.000000000 -0700 Change: 2010-08-04 16:25:28.000000000 -0700 3. op DS1: [root@wtb9 ~]# stat /export/spnfs File: `/export/spnfs' Size: 60 Blocks: 0 IO Block: 4096 directory Device: 14h/20d Inode: 8981 Links: 2 Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2010-08-04 16:26:49.938720191 -0700 Modify: 2010-08-04 16:58:31.959755618 -0700 Change: 2010-08-04 16:58:31.959755618 -0700 4. on DS2 [root@wtb10 ~]# stat /export/spnfs/ File: `/export/spnfs/' Size: 60 Blocks: 0 IO Block: 4096 directory Device: 13h/19d Inode: 8694 Links: 2 Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2010-08-04 16:26:54.573669020 -0700 Modify: 2010-08-04 16:58:18.525689302 -0700 Change: 2010-08-04 16:58:18.525689302 -0700 ________________________________________ From: Chen, Helen Y Sent: Wednesday, August 04, 2010 3:59 PM To: 'Benny Halevy'; 'steved@redhat.com'; 'NFS list' Subject: RE: pNFS file layout performance Steve and Benny, Thank you very much for your help! I have successfully set up a 3-node testbed and ran some benchmark since. Unfortunately, throughput results are very poor. I am running Steve's 2.6.33.5-112.2.2.pnfs.fc13.x86_64 kernel, and exported a 28GB ramfs from my DS to the MDS. I was able to achieve ~400 MB/s over NFS using iozone. I then proceed to run the same test from the pNFS client and got only 50 MB/s. After detecting that my test data had landed on both the MDS and DS, I assumed disk I/O on the MDS was the bottleneck. So I proceeded to rebuild the kernel with CONFIG_PNFSD_LOCAL_EXPORT disabled, but achieved only 6 MB/s afterward. Is this expected, or am I doing something wrong? Please let me know if I need to provide further information. Thanks, Helen -----Original Message----- From: Benny Halevy [mailto:bhalevy.lists@gmail.com] On Behalf Of Benny Halevy Sent: Wednesday, May 26, 2010 5:36 AM To: steved@redhat.com; NFS list Cc: Chen, Helen Y Subject: Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 Helen, please note that the pnfs@linux-nfs.org mailing list was deprecated. Forwarding to linux-nfs@vger.kernel.org. >From a quick glance I'm not sure what went wrong with your build, Steve should know better :-) Benny On May. 19, 2010, 20:32 +0300, "Chen, Helen Y" <hycsw@sandia.gov> wrote: Has anyone successfully build pnfs enabled nfs utils under Fedora 13? I am running the kernel from: http://steved.fedorapeople.org/repos/pnfs/13/x86_64/ I installed libtirpc{,-devel}, tcp_wrappers{,-devel}, libevent{,-devel}, nfs-utils-lib{,-devel}, libgssglue{,-devel}, libblkid{,-devel}, and libcap{,-devel} per instructions from: _http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilati__on_ <http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilation> I used libnfsidmap{,-devel} bundled in: Nfs-utils-lib-devel-1.1.5-1.fc13.X86_64.rpm Finally, I downloaded _nfs-utils-1.2.2-4.1.pnfs.src.rpm_ <http://steved.fedorapeople.org/repos/pnfs/13/source/nfs-utils-1.2.2-4.1.pnfs.src.rpm> from _http://steved.fedorapeople.org/repos/pnfs/13/source/_ I am having trouble building these utils. I failed to generate ‘configure’ when I ran autogen.sh: /c//leaning up ............. done //lobotomize//: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `aclocal'. libtoolize: copying file `aclocal/libtool.m4' libtoolize: copying file `aclocal/ltoptions.m4' libtoolize: copying file `aclocal/ltsugar.m4' libtoolize: copying file `aclocal/ltversion.m4' libtoolize: copying file `aclocal/lt~obsolete.m4' configure.ac:5: installing `./config.guess' configure.ac:5: installing `./config.sub' configure.ac:421: required file `tools/mountstats/Makefile.in' not found configure.ac:421: required file `tools/nfs-iostat/Makefile.in' not found/ I deleted the two Makefile.in requirements from line 421 in configure.ac because there were only python scripts inside those directories. When I ran the ‘configure’ generated after the modification, it failed with the following output: /checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... no checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for clnt_tli_create in -ltirpc... yes checking /usr/include/tirpc/netconfig.h usability... yes checking /usr/include/tirpc/netconfig.h presence... yes checking for /usr/include/tirpc/netconfig.h... yes checking for prctl... yes checking for cap_ge! t_proc in -lcap... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for libwrap... / But libwrap is obviously installed based on the locate command: #locate libwrap /usr/lib/libwrap.so /usr/lib/libwrap.so.0 /usr/lib/libwrap.so.0.7.6 /usr/lib64/libwrap.so /usr/lib64/libwrap.so.0 /usr/lib64/libwrap.so.0.7.6 I am new at this and would appreciate any help you can provide. Thanks, Helen ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: pNFS file layout performance 2010-08-05 0:20 ` Chen, Helen Y @ 2010-08-05 16:33 ` Benny Halevy 2010-08-05 21:11 ` Chen, Helen Y 2010-08-05 22:01 ` Daniel.Muntz 1 sibling, 1 reply; 13+ messages in thread From: Benny Halevy @ 2010-08-05 16:33 UTC (permalink / raw) To: Chen, Helen Y; +Cc: 'steved@redhat.com', 'NFS list' On Aug. 05, 2010, 3:20 +0300, "Chen, Helen Y" <hycsw@sandia.gov> wrote: > I add a 2nd DS and repeated the benchmark. It had seemed the test data had been placed on the MDS and not the DS'es? Any idea why? Any chance you forgot to modprobe nfslayoutdriver? BTW, this requirement just changed with a patch merge today that should automatically load the nfsv41 files layout driver on the client. Benny > > Thanks, > Helen > > The following are my notes on kernel, configuration set up, and results: > > I rebuilt Steve's f13 pnfs kernel source with: > # CONFIG_PNFSD_LOCAL_EXPORT is not set > > > Configuration set up: > Data Server: > /etc/fstab > tmpfs /export/spnfs tmpfs size=85% 0 0 > > /etc/exports > /export/spnfs *(rw,sync,fsid=0,insecure,no_subtree_check,pnfs,no_root_squash) > > > Meta Data Server: > /etc/fstab > wtb9-10g:/ /spnfs/192.168.96.109 nfs4 minorversion=1,intr,soft,rsize=32768,wsiz > e=32768 0 0 > wtb10-10g:/ /spnfs/192.168.96.110 nfs4 minorversion=1,intr,soft,rsize=32768,wsiz > e=32768 0 0 > wtb11-10g:/ /spnfs/192.168.96.11 nfs4 minorversion=1,intr,soft,rsize=32768,wsiz > e=32768 0 0 > > /etc/exports > /export *(rw,sync,pnfs,fsid=0,insecure,no_subtree_check,no_root_squash) > > /etc/spnfsd.conf > [General] > Verbosity = 1 > Stripe-size = 8192 > Dense-striping = 0 > Pipefs-Directory = /var/lib/nfs/rpc_pipefs > DS-Mount-Directory = /spnfs > > [DataServers] > NumDS = 2 > DS1_IP = 192.168.96.109 > DS1_PORT = 2049 > DS1_ROOT = / > DS1_ID = 1 > DS2_IP = 192.168.96.110 > DS2_PORT = 2049 > DS2_ROOT = / > DS2_ID = 2 > > > pNFS Client: > /etc/fstab > wtb8-10g:/ /mnt nfs4 minorversion=1,tcp,intr,soft,rsize=32768,wsize=32768,timeo=600 0 > > > The following is one of my benchmark result: > iozone -i 0 -s 1g -r 32k -f /mnt/1g -c -w > > > 1. on Client: > [root@wtb7 pnfs-tests]# ls -l /mnt > total 132100 > -rw-r----- 1 root root 1073741824 Aug 4 16:25 1g > > 2. on MDS > [root@wtb8 ~]# stat /export/1g > File: `/export/1g' > Size: 1073741824 Blocks: 264200 IO Block: 4096 regular file > Device: 805h/2053d Inode: 491522 Links: 1 > Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 0/ root) > Access: 2010-08-04 16:24:48.000000000 -0700 > Modify: 2010-08-04 16:25:28.000000000 -0700 > Change: 2010-08-04 16:25:28.000000000 -0700 > > 2. on MDS > [root@wtb8 ~]# stat /export/1g > File: `/export/1g' > Size: 1073741824 Blocks: 264200 IO Block: 4096 regular file > Device: 805h/2053d Inode: 491522 Links: 1 > Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 0/ root) > Access: 2010-08-04 16:24:48.000000000 -0700 > Modify: 2010-08-04 16:25:28.000000000 -0700 > Change: 2010-08-04 16:25:28.000000000 -0700 > > 3. op DS1: > [root@wtb9 ~]# stat /export/spnfs > File: `/export/spnfs' > Size: 60 Blocks: 0 IO Block: 4096 directory > Device: 14h/20d Inode: 8981 Links: 2 > Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root) > Access: 2010-08-04 16:26:49.938720191 -0700 > Modify: 2010-08-04 16:58:31.959755618 -0700 > Change: 2010-08-04 16:58:31.959755618 -0700 > > 4. on DS2 > [root@wtb10 ~]# stat /export/spnfs/ > File: `/export/spnfs/' > Size: 60 Blocks: 0 IO Block: 4096 directory > Device: 13h/19d Inode: 8694 Links: 2 > Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root) > Access: 2010-08-04 16:26:54.573669020 -0700 > Modify: 2010-08-04 16:58:18.525689302 -0700 > Change: 2010-08-04 16:58:18.525689302 -0700 > > > > ________________________________________ > From: Chen, Helen Y > Sent: Wednesday, August 04, 2010 3:59 PM > To: 'Benny Halevy'; 'steved@redhat.com'; 'NFS list' > Subject: RE: pNFS file layout performance > > Steve and Benny, > > Thank you very much for your help! I have successfully set up a 3-node testbed and ran some benchmark since. Unfortunately, throughput results are very poor. > > I am running Steve's 2.6.33.5-112.2.2.pnfs.fc13.x86_64 kernel, and exported a 28GB ramfs from my DS to the MDS. I was able to achieve ~400 MB/s over NFS using iozone. I then proceed to run the same test from the pNFS client and got only 50 MB/s. After detecting that my test data had landed on both the MDS and DS, I assumed disk I/O on the MDS was the bottleneck. So I proceeded to rebuild the kernel with CONFIG_PNFSD_LOCAL_EXPORT disabled, but achieved only 6 MB/s afterward. Is this expected, or am I doing something wrong? Please let me know if I need to provide further information. > > Thanks, > Helen > > -----Original Message----- > From: Benny Halevy [mailto:bhalevy.lists@gmail.com] On Behalf Of Benny Halevy > Sent: Wednesday, May 26, 2010 5:36 AM > To: steved@redhat.com; NFS list > Cc: Chen, Helen Y > Subject: Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 > > Helen, please note that the pnfs@linux-nfs.org mailing list was deprecated. > Forwarding to linux-nfs@vger.kernel.org. > > From a quick glance I'm not sure what went wrong with your build, Steve should know better :-) > > Benny > > On May. 19, 2010, 20:32 +0300, "Chen, Helen Y" <hycsw@sandia.gov> wrote: > > > > > Has anyone successfully build pnfs enabled nfs utils under Fedora 13? > I am running the kernel from: > http://steved.fedorapeople.org/repos/pnfs/13/x86_64/ > > I installed libtirpc{,-devel}, tcp_wrappers{,-devel}, libevent{,-devel}, nfs-utils-lib{,-devel}, libgssglue{,-devel}, libblkid{,-devel}, and libcap{,-devel} > > per instructions from: > _http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilati__on_ > <http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilation> > > I used libnfsidmap{,-devel} bundled in: > Nfs-utils-lib-devel-1.1.5-1.fc13.X86_64.rpm > > Finally, I downloaded _nfs-utils-1.2.2-4.1.pnfs.src.rpm_ > <http://steved.fedorapeople.org/repos/pnfs/13/source/nfs-utils-1.2.2-4.1.pnfs.src.rpm> > from _http://steved.fedorapeople.org/repos/pnfs/13/source/_ > > I am having trouble building these utils. I failed to generate ‘configure’ when I ran autogen.sh: > > /c//leaning up ............. done > //lobotomize//: putting auxiliary files in `.'. > libtoolize: copying file `./ltmain.sh' > libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `aclocal'. > libtoolize: copying file `aclocal/libtool.m4' > libtoolize: copying file `aclocal/ltoptions.m4' > libtoolize: copying file `aclocal/ltsugar.m4' > libtoolize: copying file `aclocal/ltversion.m4' > libtoolize: copying file `aclocal/lt~obsolete.m4' > configure.ac:5: installing `./config.guess' > configure.ac:5: installing `./config.sub' > configure.ac:421: required file `tools/mountstats/Makefile.in' not found > configure.ac:421: required file `tools/nfs-iostat/Makefile.in' not found/ > > I deleted the two Makefile.in requirements from line 421 in configure.ac because there were only python scripts inside those directories. > > When I ran the ‘configure’ generated after the modification, it failed with the following output: > > /checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... > checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... no checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for clnt_tli_create in -ltirpc... yes checking /usr/include/tirpc/netconfig.h usability... yes checking /usr/include/tirpc/netconfig.h presence... yes checking for /usr/include/tirpc/netconfig.h... yes checking for prctl... yes checking for cap_g et_proc in -lcap... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for libwrap... / > > But libwrap is obviously installed based on the locate command: > #locate libwrap > /usr/lib/libwrap.so > /usr/lib/libwrap.so.0 > /usr/lib/libwrap.so.0.7.6 > /usr/lib64/libwrap.so > /usr/lib64/libwrap.so.0 > /usr/lib64/libwrap.so.0.7.6 > > I am new at this and would appreciate any help you can provide. > > Thanks, > Helen > > > > > > > > > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: pNFS file layout performance 2010-08-05 16:33 ` Benny Halevy @ 2010-08-05 21:11 ` Chen, Helen Y 0 siblings, 0 replies; 13+ messages in thread From: Chen, Helen Y @ 2010-08-05 21:11 UTC (permalink / raw) To: 'bhalevy@panasas.com' Cc: 'steved@redhat.com', 'linux-nfs@vger.kernel.org' R29vZCBxdWVzdGlvbi4gIEkgd2lsbCBjaGVjayBvbiBpdCBhcyBzb29uIGFzIEkgaGF2ZSBhIGNo YW5jZS4NCg0KVGhhbmtzLA0KSGVsZW4NCg0KLS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLQ0K RnJvbTogQmVubnkgSGFsZXZ5IFttYWlsdG86YmhhbGV2eUBwYW5hc2FzLmNvbV0NClNlbnQ6IFRo dXJzZGF5LCBBdWd1c3QgMDUsIDIwMTAgMTA6MzMgQU0KVG86IENoZW4sIEhlbGVuIFkNCkNjOiAn c3RldmVkQHJlZGhhdC5jb20nIDxzdGV2ZWRAcmVkaGF0LmNvbT47ICdORlMgb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bmV0Y29uZmlnLmggdXNhYmlsaXR5Li4uIHll cyBjaGVja2luZyAvdXNyL2luY2x1ZGUvdGlycGMvbmV0Y29uZmlnLmggcHJlc2VuY2UuLi4geWVz IGNoZWNraW5nIGZvciAvdXNyL2luY2x1ZGUvdGlycGMvbmV0Y29uZmlnLmguLi4geWVzIGNoZWNr aW5nIGZvciBwcmN0bC4uLiB5ZXMgY2hlY2tpbmcgZm9yIGNhcF9nDQpldF9wcm9jIGluIC1sY2Fw Li4uIHllcyBjaGVja2luZyBzeXMvY2FwYWJpbGl0eS5oIHVzYWJpbGl0eS4uLiB5ZXMgY2hlY2tp bmcgc3lzL2NhcGFiaWxpdHkuaCBwcmVzZW5jZS4uLiB5ZXMgY2hlY2tpbmcgZm9yIHN5cy9jYXBh YmlsaXR5LmguLi4geWVzIGNoZWNraW5nIGZvciBsaWJ3cmFwLi4uIC8NCj4gDQo+IEJ1dCBsaWJ3 cmFwIGlzIG9idmlvdXNseSBpbnN0YWxsZWQgYmFzZWQgb24gdGhlIGxvY2F0ZSBjb21tYW5kOg0K PiAjbG9jYXRlIGxpYndyYXANCj4gL3Vzci9saWIvbGlid3JhcC5zbw0KPiAvdXNyL2xpYi9saWJ3 cmFwLnNvLjANCj4gL3Vzci9saWIvbGlid3JhcC5zby4wLjcuNg0KPiAvdXNyL2xpYjY0L2xpYndy YXAuc28NCj4gL3Vzci9saWI2NC9saWJ3cmFwLnNvLjANCj4gL3Vzci9saWI2NC9saWJ3cmFwLnNv LjAuNy42DQo+IA0KPiBJIGFtIG5ldyBhdCB0aGlzIGFuZCB3b3VsZCBhcHByZWNpYXRlIGFueSBo ZWxwIHlvdSBjYW4gcHJvdmlkZS4NCj4gDQo+IFRoYW5rcywNCj4gSGVsZW4NCj4gDQo+IA0KPiAN Cj4gDQo+IA0KPiANCj4gDQo+IA0KPiANCg0K ^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: pNFS file layout performance 2010-08-05 0:20 ` Chen, Helen Y 2010-08-05 16:33 ` Benny Halevy @ 2010-08-05 22:01 ` Daniel.Muntz 2010-08-05 22:13 ` Chen, Helen Y 1 sibling, 1 reply; 13+ messages in thread From: Daniel.Muntz @ 2010-08-05 22:01 UTC (permalink / raw) To: hycsw, bhalevy, steved, linux-nfs Anything in the logs indicating the MDS couldn't communicate with the DSs? Beyond that, if the setup is correct, would it be possible to get network traces? Nothing immediately comes to mind as to why performance would be poor if the data is landing on the MDS. Otoh, if the data were landing on the DSs and the client was having to resort to proxy I/O, then spNFS performance would probably be poor (proxy I/O is _not_ spNFS's strong suit :-) -Dan -----Original Message----- From: linux-nfs-owner@vger.kernel.org [mailto:linux-nfs-owner@vger.kernel.org] On Behalf Of Chen, Helen Y Sent: Wednesday, August 04, 2010 5:21 PM To: Chen, Helen Y; 'Benny Halevy'; 'steved@redhat.com'; 'NFS list' Subject: RE: pNFS file layout performance I add a 2nd DS and repeated the benchmark. It had seemed the test data had been placed on the MDS and not the DS'es? Any idea why? Thanks, Helen The following are my notes on kernel, configuration set up, and results: I rebuilt Steve's f13 pnfs kernel source with: # CONFIG_PNFSD_LOCAL_EXPORT is not set Configuration set up: Data Server: /etc/fstab tmpfs /export/spnfs tmpfs size=85% 0 0 /etc/exports /export/spnfs *(rw,sync,fsid=0,insecure,no_subtree_check,pnfs,no_root_squash) Meta Data Server: /etc/fstab wtb9-10g:/ /spnfs/192.168.96.109 nfs4 minorversion=1,intr,soft,rsize=32768,wsiz e=32768 0 0 wtb10-10g:/ /spnfs/192.168.96.110 nfs4 minorversion=1,intr,soft,rsize=32768,wsiz e=32768 0 0 wtb11-10g:/ /spnfs/192.168.96.11 nfs4 minorversion=1,intr,soft,rsize=32768,wsiz e=32768 0 0 /etc/exports /export *(rw,sync,pnfs,fsid=0,insecure,no_subtree_check,no_root_squash) /etc/spnfsd.conf [General] Verbosity = 1 Stripe-size = 8192 Dense-striping = 0 Pipefs-Directory = /var/lib/nfs/rpc_pipefs DS-Mount-Directory = /spnfs [DataServers] NumDS = 2 DS1_IP = 192.168.96.109 DS1_PORT = 2049 DS1_ROOT = / DS1_ID = 1 DS2_IP = 192.168.96.110 DS2_PORT = 2049 DS2_ROOT = / DS2_ID = 2 pNFS Client: /etc/fstab wtb8-10g:/ /mnt nfs4 minorversion=1,tcp,intr,soft,rsize=32768,wsize=32768,timeo=600 0 The following is one of my benchmark result: iozone -i 0 -s 1g -r 32k -f /mnt/1g -c -w 1. on Client: [root@wtb7 pnfs-tests]# ls -l /mnt total 132100 -rw-r----- 1 root root 1073741824 Aug 4 16:25 1g 2. on MDS [root@wtb8 ~]# stat /export/1g File: `/export/1g' Size: 1073741824 Blocks: 264200 IO Block: 4096 regular file Device: 805h/2053d Inode: 491522 Links: 1 Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2010-08-04 16:24:48.000000000 -0700 Modify: 2010-08-04 16:25:28.000000000 -0700 Change: 2010-08-04 16:25:28.000000000 -0700 2. on MDS [root@wtb8 ~]# stat /export/1g File: `/export/1g' Size: 1073741824 Blocks: 264200 IO Block: 4096 regular file Device: 805h/2053d Inode: 491522 Links: 1 Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2010-08-04 16:24:48.000000000 -0700 Modify: 2010-08-04 16:25:28.000000000 -0700 Change: 2010-08-04 16:25:28.000000000 -0700 3. op DS1: [root@wtb9 ~]# stat /export/spnfs File: `/export/spnfs' Size: 60 Blocks: 0 IO Block: 4096 directory Device: 14h/20d Inode: 8981 Links: 2 Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2010-08-04 16:26:49.938720191 -0700 Modify: 2010-08-04 16:58:31.959755618 -0700 Change: 2010-08-04 16:58:31.959755618 -0700 4. on DS2 [root@wtb10 ~]# stat /export/spnfs/ File: `/export/spnfs/' Size: 60 Blocks: 0 IO Block: 4096 directory Device: 13h/19d Inode: 8694 Links: 2 Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2010-08-04 16:26:54.573669020 -0700 Modify: 2010-08-04 16:58:18.525689302 -0700 Change: 2010-08-04 16:58:18.525689302 -0700 ________________________________________ From: Chen, Helen Y Sent: Wednesday, August 04, 2010 3:59 PM To: 'Benny Halevy'; 'steved@redhat.com'; 'NFS list' Subject: RE: pNFS file layout performance Steve and Benny, Thank you very much for your help! I have successfully set up a 3-node testbed and ran some benchmark since. Unfortunately, throughput results are very poor. I am running Steve's 2.6.33.5-112.2.2.pnfs.fc13.x86_64 kernel, and exported a 28GB ramfs from my DS to the MDS. I was able to achieve ~400 MB/s over NFS using iozone. I then proceed to run the same test from the pNFS client and got only 50 MB/s. After detecting that my test data had landed on both the MDS and DS, I assumed disk I/O on the MDS was the bottleneck. So I proceeded to rebuild the kernel with CONFIG_PNFSD_LOCAL_EXPORT disabled, but achieved only 6 MB/s afterward. Is this expected, or am I doing something wrong? Please let me know if I need to provide further information. Thanks, Helen -----Original Message----- From: Benny Halevy [mailto:bhalevy.lists@gmail.com] On Behalf Of Benny Halevy Sent: Wednesday, May 26, 2010 5:36 AM To: steved@redhat.com; NFS list Cc: Chen, Helen Y Subject: Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 Helen, please note that the pnfs@linux-nfs.org mailing list was deprecated. Forwarding to linux-nfs@vger.kernel.org. >From a quick glance I'm not sure what went wrong with your build, Steve should know better :-) Benny On May. 19, 2010, 20:32 +0300, "Chen, Helen Y" <hycsw@sandia.gov> wrote: Has anyone successfully build pnfs enabled nfs utils under Fedora 13? I am running the kernel from: http://steved.fedorapeople.org/repos/pnfs/13/x86_64/ I installed libtirpc{,-devel}, tcp_wrappers{,-devel}, libevent{,-devel}, nfs-utils-lib{,-devel}, libgssglue{,-devel}, libblkid{,-devel}, and libcap{,-devel} per instructions from: _http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilati__on_ <http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilation> I used libnfsidmap{,-devel} bundled in: Nfs-utils-lib-devel-1.1.5-1.fc13.X86_64.rpm Finally, I downloaded _nfs-utils-1.2.2-4.1.pnfs.src.rpm_ <http://steved.fedorapeople.org/repos/pnfs/13/source/nfs-utils-1.2.2-4.1.pnfs.src.rpm> from _http://steved.fedorapeople.org/repos/pnfs/13/source/_ I am having trouble building these utils. I failed to generate 'configure' when I ran autogen.sh: /c//leaning up ............. done //lobotomize//: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `aclocal'. libtoolize: copying file `aclocal/libtool.m4' libtoolize: copying file `aclocal/ltoptions.m4' libtoolize: copying file `aclocal/ltsugar.m4' libtoolize: copying file `aclocal/ltversion.m4' libtoolize: copying file `aclocal/lt~obsolete.m4' configure.ac:5: installing `./config.guess' configure.ac:5: installing `./config.sub' configure.ac:421: required file `tools/mountstats/Makefile.in' not found configure.ac:421: required file `tools/nfs-iostat/Makefile.in' not found/ I deleted the two Makefile.in requirements from line 421 in configure.ac because there were only python scripts inside those directories. When I ran the 'configure' generated after the modification, it failed with the following output: /checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... no checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for clnt_tli_create in -ltirpc... yes checking /usr/include/tirpc/netconfig.h usability... yes checking /usr/include/tirpc/netconfig.h presence... yes checking for /usr/include/tirpc/netconfig.h... yes checking for prctl... yes checking for cap_ge! t_proc in -lcap... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for libwrap... / But libwrap is obviously installed based on the locate command: #locate libwrap /usr/lib/libwrap.so /usr/lib/libwrap.so.0 /usr/lib/libwrap.so.0.7.6 /usr/lib64/libwrap.so /usr/lib64/libwrap.so.0 /usr/lib64/libwrap.so.0.7.6 I am new at this and would appreciate any help you can provide. Thanks, Helen -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: pNFS file layout performance 2010-08-05 22:01 ` Daniel.Muntz @ 2010-08-05 22:13 ` Chen, Helen Y 0 siblings, 0 replies; 13+ messages in thread From: Chen, Helen Y @ 2010-08-05 22:13 UTC (permalink / raw) To: 'Daniel.Muntz@emc.com', 'bhalevy@panasas.com', 'steved@redhat.com', 'linux-nfs@vger.kernel.org' I believe Benny is right! I might have forgotten to load the nfs file layout driver. I will check on that as soon as I have a chance. Hopefully I will have good news to report later. Thanks, Helen ----- Original Message ----- From: Daniel.Muntz@emc.com [mailto:Daniel.Muntz@emc.com] Sent: Thursday, August 05, 2010 04:01 PM To: Chen, Helen Y; bhalevy@panasas.com <bhalevy@panasas.com>; steved@redhat.com <steved@redhat.com>; linux-nfs@vger.kernel.org <linux-nfs@vger.kernel.org> Subject: RE: pNFS file layout performance Anything in the logs indicating the MDS couldn't communicate with the DSs? Beyond that, if the setup is correct, would it be possible to get network traces? Nothing immediately comes to mind as to why performance would be poor if the data is landing on the MDS. Otoh, if the data were landing on the DSs and the client was having to resort to proxy I/O, then spNFS performance would probably be poor (proxy I/O is _not_ spNFS's strong suit :-) -Dan -----Original Message----- From: linux-nfs-owner@vger.kernel.org [mailto:linux-nfs-owner@vger.kernel.org] On Behalf Of Chen, Helen Y Sent: Wednesday, August 04, 2010 5:21 PM To: Chen, Helen Y; 'Benny Halevy'; 'steved@redhat.com'; 'NFS list' Subject: RE: pNFS file layout performance I add a 2nd DS and repeated the benchmark. It had seemed the test data had been placed on the MDS and not the DS'es? Any idea why? Thanks, Helen The following are my notes on kernel, configuration set up, and results: I rebuilt Steve's f13 pnfs kernel source with: # CONFIG_PNFSD_LOCAL_EXPORT is not set Configuration set up: Data Server: /etc/fstab tmpfs /export/spnfs tmpfs size=85% 0 0 /etc/exports /export/spnfs *(rw,sync,fsid=0,insecure,no_subtree_check,pnfs,no_root_squash) Meta Data Server: /etc/fstab wtb9-10g:/ /spnfs/192.168.96.109 nfs4 minorversion=1,intr,soft,rsize=32768,wsiz e=32768 0 0 wtb10-10g:/ /spnfs/192.168.96.110 nfs4 minorversion=1,intr,soft,rsize=32768,wsiz e=32768 0 0 wtb11-10g:/ /spnfs/192.168.96.11 nfs4 minorversion=1,intr,soft,rsize=32768,wsiz e=32768 0 0 /etc/exports /export *(rw,sync,pnfs,fsid=0,insecure,no_subtree_check,no_root_squash) /etc/spnfsd.conf [General] Verbosity = 1 Stripe-size = 8192 Dense-striping = 0 Pipefs-Directory = /var/lib/nfs/rpc_pipefs DS-Mount-Directory = /spnfs [DataServers] NumDS = 2 DS1_IP = 192.168.96.109 DS1_PORT = 2049 DS1_ROOT = / DS1_ID = 1 DS2_IP = 192.168.96.110 DS2_PORT = 2049 DS2_ROOT = / DS2_ID = 2 pNFS Client: /etc/fstab wtb8-10g:/ /mnt nfs4 minorversion=1,tcp,intr,soft,rsize=32768,wsize=32768,timeo=600 0 The following is one of my benchmark result: iozone -i 0 -s 1g -r 32k -f /mnt/1g -c -w 1. on Client: [root@wtb7 pnfs-tests]# ls -l /mnt total 132100 -rw-r----- 1 root root 1073741824 Aug 4 16:25 1g 2. on MDS [root@wtb8 ~]# stat /export/1g File: `/export/1g' Size: 1073741824 Blocks: 264200 IO Block: 4096 regular file Device: 805h/2053d Inode: 491522 Links: 1 Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2010-08-04 16:24:48.000000000 -0700 Modify: 2010-08-04 16:25:28.000000000 -0700 Change: 2010-08-04 16:25:28.000000000 -0700 2. on MDS [root@wtb8 ~]# stat /export/1g File: `/export/1g' Size: 1073741824 Blocks: 264200 IO Block: 4096 regular file Device: 805h/2053d Inode: 491522 Links: 1 Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2010-08-04 16:24:48.000000000 -0700 Modify: 2010-08-04 16:25:28.000000000 -0700 Change: 2010-08-04 16:25:28.000000000 -0700 3. op DS1: [root@wtb9 ~]# stat /export/spnfs File: `/export/spnfs' Size: 60 Blocks: 0 IO Block: 4096 directory Device: 14h/20d Inode: 8981 Links: 2 Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2010-08-04 16:26:49.938720191 -0700 Modify: 2010-08-04 16:58:31.959755618 -0700 Change: 2010-08-04 16:58:31.959755618 -0700 4. on DS2 [root@wtb10 ~]# stat /export/spnfs/ File: `/export/spnfs/' Size: 60 Blocks: 0 IO Block: 4096 directory Device: 13h/19d Inode: 8694 Links: 2 Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2010-08-04 16:26:54.573669020 -0700 Modify: 2010-08-04 16:58:18.525689302 -0700 Change: 2010-08-04 16:58:18.525689302 -0700 ________________________________________ From: Chen, Helen Y Sent: Wednesday, August 04, 2010 3:59 PM To: 'Benny Halevy'; 'steved@redhat.com'; 'NFS list' Subject: RE: pNFS file layout performance Steve and Benny, Thank you very much for your help! I have successfully set up a 3-node testbed and ran some benchmark since. Unfortunately, throughput results are very poor. I am running Steve's 2.6.33.5-112.2.2.pnfs.fc13.x86_64 kernel, and exported a 28GB ramfs from my DS to the MDS. I was able to achieve ~400 MB/s over NFS using iozone. I then proceed to run the same test from the pNFS client and got only 50 MB/s. After detecting that my test data had landed on both the MDS and DS, I assumed disk I/O on the MDS was the bottleneck. So I proceeded to rebuild the kernel with CONFIG_PNFSD_LOCAL_EXPORT disabled, but achieved only 6 MB/s afterward. Is this expected, or am I doing something wrong? Please let me know if I need to provide further information. Thanks, Helen -----Original Message----- From: Benny Halevy [mailto:bhalevy.lists@gmail.com] On Behalf Of Benny Halevy Sent: Wednesday, May 26, 2010 5:36 AM To: steved@redhat.com; NFS list Cc: Chen, Helen Y Subject: Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 Helen, please note that the pnfs@linux-nfs.org mailing list was deprecated. Forwarding to linux-nfs@vger.kernel.org. >From a quick glance I'm not sure what went wrong with your build, Steve should know better :-) Benny On May. 19, 2010, 20:32 +0300, "Chen, Helen Y" <hycsw@sandia.gov> wrote: Has anyone successfully build pnfs enabled nfs utils under Fedora 13? I am running the kernel from: http://steved.fedorapeople.org/repos/pnfs/13/x86_64/ I installed libtirpc{,-devel}, tcp_wrappers{,-devel}, libevent{,-devel}, nfs-utils-lib{,-devel}, libgssglue{,-devel}, libblkid{,-devel}, and libcap{,-devel} per instructions from: _http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilati__on_ <http://wiki.linux-nfs.org/wiki/index.php/Configuring_pNFS/spnfsd#Kernel_and_nfs-utils_compilation> I used libnfsidmap{,-devel} bundled in: Nfs-utils-lib-devel-1.1.5-1.fc13.X86_64.rpm Finally, I downloaded _nfs-utils-1.2.2-4.1.pnfs.src.rpm_ <http://steved.fedorapeople.org/repos/pnfs/13/source/nfs-utils-1.2.2-4.1.pnfs.src.rpm> from _http://steved.fedorapeople.org/repos/pnfs/13/source/_ I am having trouble building these utils. I failed to generate 'configure' when I ran autogen.sh: /c//leaning up ............. done //lobotomize//: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `aclocal'. libtoolize: copying file `aclocal/libtool.m4' libtoolize: copying file `aclocal/ltoptions.m4' libtoolize: copying file `aclocal/ltsugar.m4' libtoolize: copying file `aclocal/ltversion.m4' libtoolize: copying file `aclocal/lt~obsolete.m4' configure.ac:5: installing `./config.guess' configure.ac:5: installing `./config.sub' configure.ac:421: required file `tools/mountstats/Makefile.in' not found configure.ac:421: required file `tools/nfs-iostat/Makefile.in' not found/ I deleted the two Makefile.in requirements from line 421 in configure.ac because there were only python scripts inside those directories. When I ran the 'configure' generated after the modification, it failed with the following output: /checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... no checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for clnt_tli_create in -ltirpc... yes checking /usr/include/tirpc/netconfig.h usability... yes checking /usr/include/tirpc/netconfig.h presence... yes checking for /usr/include/tirpc/netconfig.h... yes checking for prctl... yes checking for cap_ge! t_proc in -lcap... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for libwrap... / But libwrap is obviously installed based on the locate command: #locate libwrap /usr/lib/libwrap.so /usr/lib/libwrap.so.0 /usr/lib/libwrap.so.0.7.6 /usr/lib64/libwrap.so /usr/lib64/libwrap.so.0 /usr/lib64/libwrap.so.0.7.6 I am new at this and would appreciate any help you can provide. Thanks, Helen -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2010-08-05 22:14 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-26 12:35 Fwd: Re: [pnfs] problem building pnfs-nfs-utils under Fedora 13 Benny Halevy
2010-05-26 14:03 ` Boaz Harrosh
2010-05-26 18:17 ` Steve Dickson
[not found] ` <4BFD65CA.7080509-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2010-07-20 22:51 ` Chen, Helen Y
[not found] ` <7A6A58246D5F0B4EA127BEA555B3A9AD06111FB6@RTPMVEXC1-PRD.hq.netapp.com>
[not found] ` <7A6A58246D5F0B4EA127BEA555B3A9AD06111FB6-rtwIt2gI0FxT+ZUat5FNkAK/GNPrWCqfQQ4Iyu8u01E@public.gmane.org>
2010-07-21 13:31 ` Steve Dickson
[not found] ` <4C46F6A7.3090800-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2010-07-21 19:06 ` Fwd: Re: [pnfs] typo in the pnfs setup wiki? Chen, Helen Y
2010-08-04 21:59 ` pNFS file layout performance Chen, Helen Y
2010-08-05 16:31 ` Benny Halevy
[not found] ` <F9F38212E2D77948B1CD89D239A7C07B138EE2E46F@ES01SNLNT.srn.sandia.gov>
2010-08-05 0:20 ` Chen, Helen Y
2010-08-05 16:33 ` Benny Halevy
2010-08-05 21:11 ` Chen, Helen Y
2010-08-05 22:01 ` Daniel.Muntz
2010-08-05 22:13 ` Chen, Helen Y
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).