From: Christoph Lameter <cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>
To: Moni Shoua <monis-smomgflXvOZWk0Htik3J/w@public.gmane.org>
Cc: Roland Dreier <rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>,
linux-rdma <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Yossi Etigin <yosefe-smomgflXvOZWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH V2] IB/ipoib: Leave stale send-only multicast groups
Date: Wed, 26 Jan 2011 09:55:11 -0600 (CST) [thread overview]
Message-ID: <alpine.DEB.2.00.1101260954420.23080@router.home> (raw)
In-Reply-To: <AANLkTiku+dkiqsv1AKUr_wCVhxWFhay0HEuSZtt7uZWr-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
And here is my answer that also was not cced.
> Please take a look at this. It demonstrates what I claim.
Trouble is that iperf is a performance measurement tool and I am not sure
what is going on behind the scenes in regard to MC subscriptions etc. Also
I do not see when you terminate what task.
I can demonstrate using mcast that the groups go away (see below). AFAICT
behavior that you suggest would be troublesome for some of the apps we run
here.
> linux:~ # cat /proc/net/dev_mcast |grep ib0
>
> 29 ib0 1 0 00ffffffff12401bffff00000000000003070707 <---
^^^ there is a reference remaining that is why the
group sticks around.
Here is the output of /sys/kernel/debug/ipoib/ib0.8030_mcg a few minutes
after an mcast test completed:
GID: ff12:401b:8030:0:0:0:0:1
created: 4370767176
queuelen: 0
complete: yes
send_only: no
GID: ff12:401b:8030:0:0:0:ffff:ffff
created: 4370767176
queuelen: 0
complete: yes
send_only: no
Running mcast -b ib0.8030 on another host
and running ./mcast -n 1 -b ib0.8030 on this host yields:
Receiver: Listening to control channel 239.0.192.1
Receiver: Subscribing to 0 MC addresses 239.0.192-254.2-254 offset 0
origin 10.2.30.180
Sender: Sending 10 msgs/ch/sec on 1 channels. Probe interval=0.001-1 sec.
While the program is running we do:
clameter@rd-gateway-deb64:/sys/kernel/debug/ipoib$ cat ib0.8030_mcg
GID: ff12:401b:8030:0:0:0:0:1
created: 4370767176
queuelen: 0
complete: yes
send_only: no
GID: ff12:401b:8030:0:0:0:f00:c001
created: 4371010379
queuelen: 0
complete: yes
send_only: no
GID: ff12:401b:8030:0:0:0:f00:c002
created: 4371010589
queuelen: 0
complete: yes
send_only: yes
GID: ff12:401b:8030:0:0:0:ffff:ffff
created: 4370767176
queuelen: 0
complete: yes
send_only: no
Terminating mcast yields:
clameter@rd-gateway-deb64:/sys/kernel/debug/ipoib$ cat ib0.8030_mcg
GID: ff12:401b:8030:0:0:0:0:1
created: 4370767176
queuelen: 0
complete: yes
send_only: no
GID: ff12:401b:8030:0:0:0:0:2
created: 4371020715
queuelen: 0
complete: yes
send_only: yes
GID: ff12:401b:8030:0:0:0:f00:c002
created: 4371010589
queuelen: 0
complete: yes
send_only: yes
GID: ff12:401b:8030:0:0:0:ffff:ffff
created: 4370767176
queuelen: 0
complete: yes
send_only: no
Wait a few minutes and then c002 will also vanish and you will have the
state above.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-01-26 15:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-17 11:10 [PATCH V2] IB/ipoib: Leave stale send-only multicast groups Moni Shoua
[not found] ` <4D34239D.9030004-hKgKHo2Ms0F+cjeuK/JdrQ@public.gmane.org>
2011-01-17 11:30 ` Or Gerlitz
2011-01-18 20:09 ` Christoph Lameter
[not found] ` <AANLkTiku+dkiqsv1AKUr_wCVhxWFhay0HEuSZtt7uZWr@mail.gmail.com>
[not found] ` <AANLkTiku+dkiqsv1AKUr_wCVhxWFhay0HEuSZtt7uZWr-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-01-26 15:55 ` Christoph Lameter [this message]
[not found] ` <alpine.DEB.2.00.1101260954420.23080-sBS69tsa9Uj/9pzu0YdTqQ@public.gmane.org>
2011-01-26 18:26 ` Christoph Lameter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.00.1101260954420.23080@router.home \
--to=cl-vytec60ixjuavxtiumwx3w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=monis-smomgflXvOZWk0Htik3J/w@public.gmane.org \
--cc=rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org \
--cc=yosefe-smomgflXvOZWk0Htik3J/w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.