[openib-general] why sdp connections cost so much memory

Michael S. Tsirkin mst at mellanox.co.il
Mon Sep 11 00:50:38 PDT 2006


Quoting r. zhu shi song <zhushisongzhu at yahoo.com>:
> Subject: Re: why sdp connections cost so much memory
> 
> 
> 
> >> You mean - when only a single socket is open?
> Every one connection will cost 2M RAM. So I make the
> following changes:
> #define SDP_TX_SIZE 0x4
> #define SDP_RX_SIZE 0x4

You should not need this change with the scale patch I posted - after applying
this, and setting the scale parameter to 0x1, each connection should use around
128K for RX. Please confirm.

> > The SDP protocol uses ARP over IPoIB for its address
> > resolution.
> > So you'd need to find some other way to perform
> > address resolution.
> >
> I'll try pre-resolute the address, So I can remove ARP
> from ipoib

But you'll still need the ipoib module loaded.

-- 
MST




More information about the general mailing list