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

zhu shi song zhushisongzhu at yahoo.com
Thu Aug 17 02:39:03 PDT 2006


(1) the client kernel often crashed. So it cost me
much time on rebooting server.
(2) the debug message scrolling too fast. I can't see
some sdp_cma_* messages.  I see many sdp_close
messages.  Can I just output sdp_cmd_* messages?

zhu

--- "Michael S. Tsirkin" <mst at mellanox.co.il> wrote:

> Quoting r. zhu shi song <zhushisongzhu at yahoo.com>:
> > --- "Michael S. Tsirkin" <mst at mellanox.co.il>
> wrote:
> > 
> > > > > Quoting r. zhu shi song
> > > <zhushisongzhu at yahoo.com>:
> > > > > > (2) memory consumed by SDP connection is
> ok
> > > > > >     But ab always only complete 256
> requests
> > > > > >     successfully.  Results are showed as
> > > following:
> > > > > >     # SIMPLE_LIBSDP=1
> > > > > >    
> LD_PRELOAD=/usr/local/ofed/lib64/libsdp.so
> > > ab -c 300
> > > > > >     -n 300 -X 193.12.10.14:3129
> > > > > >
> > > > >
> > > >
> > >
> >
>
http://http://www.sse.com.cn/sseportal/ps/zhs/home.shtml
> > > > > >    # This is ApacheBench, Version
> 2.0.41-dev
> > > > > > <$Revision: 1.141 $> apache-2.0
> > > > > > Copyright (c) 1996 Adam Twiss, Zeus
> Technology
> > > > > Ltd,
> > > > > > http://www.zeustech.net/
> > > > > > Copyright (c) 1998-2002 The Apache
> Software
> > > > > > Foundation, http://www.apache.org/
> > > > > > 
> > > > > > Benchmarking www.sse.com.cn [through
> > > > > > 193.12.10.14:3129] (be patient)
> > > > > > Completed 100 requests
> > > > > > Completed 200 requests
> > > > > > apr_recv: Connection refused (111)
> > > > > > Total of 256 requests completed
> > > > > 
> > > > > Hmm. This one looks quite weird. Could you
> > > please
> > > > > enable debug
> > > > > (run with debug_level=1) on the server side,
> and
> > > > > post the messsages
> > > > > you get in dmesg?
> > > > 
> > > > Quoting zhu shi song
> <zhushisongzhu at yahoo.com>:
> > > > 
> > > > is "debug_level=1" for squid or for sdp? 
> > > > 
> > > > zhu
> > > 
> > > That's for SDP.
> >
> > 
> > I see many lines scrolling the screen quickly.
> there
> > are many lines as below:
> > 
> > sdp_sock(3129:0):sdp_accept state 10 expected 10
> *err
> > -22
> > sdp_accept:ib_req_notify_cq
> > sdp_accept:status -22 sk 0000010034298100 newsk
> > 00000xxxxx(changeable)
> > sdp_accept:state 10 exptected 10 *err -22
> > sdp_accept:error -11
> > sdp_accept:status -11 sk 000001003429800 new sk
> > 00000000000000
> 
> No, these are benign. This is server timing out
> waiting
> for connection request.
> 
> I'm interested in sdp_cma_ messages -
> conn/disconnect requests
> being handled.
> 
> -- 
> MST
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the general mailing list