Prev: ide: add drive->dma_mode field
Next: blkio: Changes to more io-controller stats patches to address
From: Andrea Gozzelino on 12 Apr 2010 10:40 On Apr 12, 2010 10:14 AM, Andrea Gozzelino <Andrea.Gozzelino(a)lnl.infn.it> wrote: > Good morning, > > I'm testing some Neteffect cards (Intel code E10G81GP - Neteffect > NE020.LP.1.SSR). > PC has Linux| (kernel version) 2.6.18-164.15.1.el5 | x86_64 x86_64 > x86_64 GNU/Linux. > > In this phase, I measure the bandwidth with the netserver/nerperf > (version netperf-2.4.5) ad hoc tests. > They work fine with TCP protocol - as OFED 1.5.1 example programs - > and > they have some problems with SDP one. > > I'm trying test with the command lines below: > > server: LD_PRELOAD=/usr/local/lib64/libsdp.so netserver > > client: LD_PRELOAD=/usr/local/lib64/libsdp.so netperf -H > server_address > -c -C > -- -m 65536 > > The /etc/libsdp.conf file contains rules below: > use both listen * *:* > use both connect * *:* > log min-level 9 destination file libsdp.log > > Client displays "Connection error: Can not allocate memory" and the > connection fails. > (original text on client log file:libsdp Error connect: failed for SDP > fd:6 with error:Cannot allocate memory) > > The library path is: > /usr/local/lib64/libsdp.so > > > Could someone explain me how LD_PRELOAD environment variable must be > set? > I don't understand why the test work with TCP and not with SDP. > Could I work with wrong Linux kernel environment or parameters? > > I don't know if there is a specific mailing list for SDP so I ask you > help. > > Thank you very much, > Andrea > > > > > > > > Andrea Gozzelino > > INFN - Laboratori Nazionali di Legnaro (LNL) > Viale dell'Universita' 2 > I-35020 - Legnaro (PD)- ITALIA > Tel: +39 049 8068346 > Fax: +39 049 641925 > Mail: andrea.gozzelino(a)lnl.infn.it > > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" > in > the body of a message to majordomo(a)vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Hi all, I add that in kernel space SDP debug the error is: command line: dmesg sdp_init_qp:95 sdp_sock( 2100:2 40720:0): recv sge's. capability: 4 needed: 9 sdp_init_qp:95 sdp_sock( 2100:2 41203:0): recv sge's. capability: 4 needed: 9 The structure sdp_init_qp() is defined in /usr/src/ofa_kernel-1.5.1/drivers/infiniband/ulp/sdp/sdp_cma.c (lines 76 - 141). Could be a firmware problem? I have this situation: command line: ethtool -i eth2 driver: iw_nes version: 1.5.0.0 firmware-version: 3.16 bus-info: 0000:03:00.0 Thank you very much, Andrea Andrea Gozzelino INFN - Laboratori Nazionali di Legnaro (LNL) Viale dell'Universita' 2 I-35020 - Legnaro (PD)- ITALIA Tel: +39 049 8068346 Fax: +39 049 641925 Mail: andrea.gozzelino(a)lnl.infn.it -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Tung, Chien Tin on 13 Apr 2010 12:30 >I add that in kernel space SDP debug the error is: > >command line: dmesg >sdp_init_qp:95 sdp_sock( 2100:2 40720:0): recv sge's. capability: 4 >needed: 9 >sdp_init_qp:95 sdp_sock( 2100:2 41203:0): recv sge's. capability: 4 >needed: 9 > >The structure sdp_init_qp() is defined in >/usr/src/ofa_kernel-1.5.1/drivers/infiniband/ulp/sdp/sdp_cma.c (lines 76 >- 141) NE020 supports 4 SGEs. I don't know enough about SDP to know why it is using this calculation for # of send_sge: #define SDP_MAX_RECV_SKB_FRAGS (PAGE_SIZE > 0x8000 ? 1 : 0x8000 / PAGE_SIZE) >Could be a firmware problem? This is not a firmware problem. Chien -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Steve Wise on 13 Apr 2010 12:40 > NE020 supports 4 SGEs. I don't know enough about SDP to know why it is > using this calculation for # of send_sge: > > #define SDP_MAX_RECV_SKB_FRAGS (PAGE_SIZE > 0x8000 ? 1 : 0x8000 / PAGE_SIZE) > > Chien, does the NE020 support FMRs? I looked at the nes ofed-1.5 code and it appears to do nothing in the map_phys_fmr functions. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Tung, Chien Tin on 13 Apr 2010 16:10 >> NE020 supports 4 SGEs. I don't know enough about SDP to know why it is >> using this calculation for # of send_sge: >> >> #define SDP_MAX_RECV_SKB_FRAGS (PAGE_SIZE > 0x8000 ? 1 : 0x8000 / PAGE_SIZE) >> >> > >Chien, does the NE020 support FMRs? I looked at the nes ofed-1.5 code >and it appears to do nothing in the map_phys_fmr functions. We never implemented map_phys_fmr. Is it relevant to the # of SGEs? Chien -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Steve Wise on 13 Apr 2010 16:20 Tung, Chien Tin wrote: >>> NE020 supports 4 SGEs. I don't know enough about SDP to know why it is >>> using this calculation for # of send_sge: >>> >>> #define SDP_MAX_RECV_SKB_FRAGS (PAGE_SIZE > 0x8000 ? 1 : 0x8000 / PAGE_SIZE) >>> >>> >>> >> Chien, does the NE020 support FMRs? I looked at the nes ofed-1.5 code >> and it appears to do nothing in the map_phys_fmr functions. >> > > We never implemented map_phys_fmr. Is it relevant to the # of SGEs? > No, but SDP uses FMRs. I don't think it will run without FMR support. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: ide: add drive->dma_mode field Next: blkio: Changes to more io-controller stats patches to address |