Skip to contentSkip to conversation

NFS over RDMA in SLinux

DISCUSSION Francisco Manuel Cardoso 3 participants 4 messages Mar 5, 2015 – Mar 7, 2015 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

Hello,

Sorry newcomer to the group at the moment, brief question i hope someone can at least point me.

Are there any considerations regarding NFS over RDMA on Linux SL6 ?

Question I've been setting up/using an HPC cluster and NFS over IPoIB it's cool as soon as start dishing out things onto with the RDMA things go crazy.

The tipical setup is each machine is able to handle max 40 processes, using all of those to mpi, I seem to be having some performance issues, if I scale down to 39 I get much better performance still it crashes.

Anyone got any pointers ?

Cheers,

Francisco

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 9 lines · Francisco Manuel Cardoso

Hello,

Sorry newcomer to the group at the moment, brief question i hope someone can at least point me.

Are there any considerations regarding NFS over RDMA on Linux SL6 ?

Quoted 8 lines

Question I've been setting up/using an HPC cluster and NFS over IPoIB it's cool as soon as start dishing out things onto with the RDMA things go crazy.

The tipical setup is each machine is able to handle max 40 processes, using all of those to mpi, I seem to be having some performance issues, if I scale down to 39 I get much better performance still it crashes.

Anyone got any pointers ?

I'm not sure if you're asking about NFS over IPoIB or NFSoRDMA?

CC'ing Chuck which is probably the best help you can get...
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 54FA604A.4050807-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org

#3 lore raw

Hello Sagi,

This is about NFSoRDMA, NFS on IPoIPB no issues.

The main issue is that simulation on the HPC cluster starts running "fine"and after a while, I get loads of errors that the NFS server is not responding;

Server Side getting messages such as ;

svcrdma: Error -107 posting RDMA_READ

------------[ cut here ]------------
WARNING: at net/sunrpc/xprtrdma/svc_rdma_transport.c:1158
__svc_rdma_free+0x20a/0x230 [svcrdma]() (Tainted: P        W
---------------   )
Hardware name: ProLiant SL4540 Gen8 
Modules linked in: xprtrdma svcrdma nfsd lockd nfs_acl auth_rpcgss sunrpc

autofs4 8021q garp stp llc ib_ipoib rdma_ucm ib_ucm ib_uverbs ib_umad rdma_cm ib_cm iw_cm xfs exportfs iTCO_wdt iTCO_vendor_support ipmi_devintf power_meter acpi_ipmi ipmi_si ipmi_msghandler hpwdt hpilo igb i2c_algo_bit i2c_core ptp pps_core serio_raw sg lpc_ich mfd_core ioatdma dca shpchp ext4 jbd2 mbcache sd_mod crc_t10dif hpvsa(P)(U) hpsa mlx4_ib ib_sa ib_mad ib_core ib_addr ipv6 mlx4_core dm_mirror dm_region_hash dm_log dm_mod [last
unloaded: scsi_wait_scan]
Pid: 51, comm: events/0 Tainted: P W ---------------
2.6.32-504.8.1.el6.x86_64 #1

Call Trace:
 [<ffffffff81074df7>] ? warn_slowpath_common+0x87/0xc0
 [<ffffffff81074e4a>] ? warn_slowpath_null+0x1a/0x20
 [<ffffffffa073d25a>] ? __svc_rdma_free+0x20a/0x230 [svcrdma]
 [<ffffffffa073d050>] ? __svc_rdma_free+0x0/0x230 [svcrdma]
 [<ffffffff81097fe0>] ? worker_thread+0x170/0x2a0
 [<ffffffff8109eb00>] ? autoremove_wake_function+0x0/0x40
 [<ffffffff81097e70>] ? worker_thread+0x0/0x2a0
 [<ffffffff8109e66e>] ? kthread+0x9e/0xc0
 [<ffffffff8100c20a>] ? child_rip+0xa/0x20
 [<ffffffff8109e5d0>] ? kthread+0x0/0xc0
 [<ffffffff8100c200>] ? child_rip+0x0/0x20
---[ end trace 3ee821ba0f96711f ]---

And;

svcrdma: Error fast registering memory for xprt ffff880c6ae13800
svcrdma: Error fast registering memory for xprt ffff8802e87a3000
svcrdma: Error fast registering memory for xprt ffff880bfa496c00
svcrdma: Error fast registering memory for xprt ffff8808ec717000
svcrdma: Error fast registering memory for xprt ffff880b82577c00
svcrdma: Error fast registering memory for xprt ffff880bfa496c00

I've searched high and low for solutions and went to Red Hat KB, discovered all the articles regarding high workloads and the workarounds for like for example the " svcrdma: Error fast registering memory for xprt ffff8802e87a3000" messages that should be fixed after RH Kernel Errata on RHEL 6.1.
And the "sunrpc.rdma_memreg_strategy = 6" value change.

If anyone can provide some help or insight would be really great.

Cause I've seen from looking around that usually RDMA with High CPU Loads is "troublesome".

Regards,

Francisco

-----Original Message-----
From: Sagi Grimberg [mailto:[email protected]]
Sent: 07 March 2015 02:20
To: [email protected]; Chuck Lever
Cc: [email protected]
Subject: Re: NFS over RDMA in SLinux

Quoted 11 lines · Francisco Manuel Cardoso

Hello,

Sorry newcomer to the group at the moment, brief question i hope someone can at least point me.

Are there any considerations regarding NFS over RDMA on Linux SL6 ?

Question I've been setting up/using an HPC cluster and NFS over IPoIB it's cool as soon as start dishing out things onto with the RDMA things go

crazy.

Quoted 4 lines

The tipical setup is each machine is able to handle max 40 processes, using all of those to mpi, I seem to be having some performance issues, if I scale down to 39 I get much better performance still it

crashes.

Quoted 2 lines

Anyone got any pointers ?

I'm not sure if you're asking about NFS over IPoIB or NFSoRDMA?

CC'ing Chuck which is probably the best help you can get...

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 49 lines · Francisco Manuel Cardoso

Hello Sagi,

This is about NFSoRDMA, NFS on IPoIPB no issues.

The main issue is that simulation on the HPC cluster starts running "fine"and after a while, I get loads of errors that the NFS server is not responding;

Server Side getting messages such as ;

svcrdma: Error -107 posting RDMA_READ

------------[ cut here ]------------
WARNING: at net/sunrpc/xprtrdma/svc_rdma_transport.c:1158
__svc_rdma_free+0x20a/0x230 [svcrdma]() (Tainted: P        W
---------------   )
Hardware name: ProLiant SL4540 Gen8 
Modules linked in: xprtrdma svcrdma nfsd lockd nfs_acl auth_rpcgss sunrpc

autofs4 8021q garp stp llc ib_ipoib rdma_ucm ib_ucm ib_uverbs ib_umad rdma_cm ib_cm iw_cm xfs exportfs iTCO_wdt iTCO_vendor_support ipmi_devintf power_meter acpi_ipmi ipmi_si ipmi_msghandler hpwdt hpilo igb i2c_algo_bit i2c_core ptp pps_core serio_raw sg lpc_ich mfd_core ioatdma dca shpchp ext4 jbd2 mbcache sd_mod crc_t10dif hpvsa(P)(U) hpsa mlx4_ib ib_sa ib_mad ib_core ib_addr ipv6 mlx4_core dm_mirror dm_region_hash dm_log dm_mod [last
unloaded: scsi_wait_scan]
Pid: 51, comm: events/0 Tainted: P W ---------------
2.6.32-504.8.1.el6.x86_64 #1

Call Trace:
[<ffffffff81074df7>] ? warn_slowpath_common+0x87/0xc0
[<ffffffff81074e4a>] ? warn_slowpath_null+0x1a/0x20
[<ffffffffa073d25a>] ? __svc_rdma_free+0x20a/0x230 [svcrdma]
[<ffffffffa073d050>] ? __svc_rdma_free+0x0/0x230 [svcrdma]
[<ffffffff81097fe0>] ? worker_thread+0x170/0x2a0
[<ffffffff8109eb00>] ? autoremove_wake_function+0x0/0x40
[<ffffffff81097e70>] ? worker_thread+0x0/0x2a0
[<ffffffff8109e66e>] ? kthread+0x9e/0xc0
[<ffffffff8100c20a>] ? child_rip+0xa/0x20
[<ffffffff8109e5d0>] ? kthread+0x0/0xc0
[<ffffffff8100c200>] ? child_rip+0x0/0x20
---[ end trace 3ee821ba0f96711f ]---

And;

svcrdma: Error fast registering memory for xprt ffff880c6ae13800
svcrdma: Error fast registering memory for xprt ffff8802e87a3000
svcrdma: Error fast registering memory for xprt ffff880bfa496c00
svcrdma: Error fast registering memory for xprt ffff8808ec717000
svcrdma: Error fast registering memory for xprt ffff880b82577c00
svcrdma: Error fast registering memory for xprt ffff880bfa496c00

Quoted 8 lines

I've searched high and low for solutions and went to Red Hat KB, discovered all the articles regarding high workloads and the workarounds for like for example the " svcrdma: Error fast registering memory for xprt ffff8802e87a3000" messages that should be fixed after RH Kernel Errata on RHEL 6.1.
And the "sunrpc.rdma_memreg_strategy = 6" value change.

If anyone can provide some help or insight would be really great.

I was volunteered, but I don’t have much insight.

For issues with NFS, [email protected] is the place to ask for advice and help.

For issues with RHEL and its derivatives (I’m assuming SL6 is Scientific Linux and not SuSE SLES), the best course of action is to work with the distributors, since their kernels do not match any mainline tree.

In this case RHEL 6 kernel code base is very old by today’s standards, and it pre-dates my direct involvement with NFS/RDMA.

I’ve never touched the RHEL 6 NFS/RDMA server implementation. My guess based on my experience with the current mainline server is that it is not production-ready. You should check the release notes to be sure it is fully-supported.

If the RH KBs do not help, please contact RH and use their support to address the issue. Red Hat is the authority on that code.

My advice is if you are sticking with stock RHEL 6 kernels, you should use NFS on IPoIB.

Quoted 31 lines

Cause I've seen from looking around that usually RDMA with High CPU Loads is "troublesome".

Regards,

Francisco

-----Original Message-----
From: Sagi Grimberg [mailto:[email protected]]
Sent: 07 March 2015 02:20
To: [email protected]; Chuck Lever
Cc: [email protected]
Subject: Re: NFS over RDMA in SLinux

Quoted 11 lines · Francisco Manuel Cardoso

Hello,

Sorry newcomer to the group at the moment, brief question i hope someone can at least point me.

Are there any considerations regarding NFS over RDMA on Linux SL6 ?

Question I've been setting up/using an HPC cluster and NFS over IPoIB it's cool as soon as start dishing out things onto with the RDMA things go

crazy.

Quoted 4 lines

The tipical setup is each machine is able to handle max 40 processes, using all of those to mpi, I seem to be having some performance issues, if I scale down to 39 I get much better performance still it

Quoted 8 lines

crashes.

Quoted 2 lines

Anyone got any pointers ?

I'm not sure if you're asking about NFS over IPoIB or NFSoRDMA?

CC'ing Chuck which is probably the best help you can get...

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html