From: Sebastian Riemer <sebastian.riemer-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
To: Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
Cc: Vasiliy Tolstov
<v.tolstov-+9FY0jupvH6HXe+LvDLADg@public.gmane.org>,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: tune ib stack
Date: Tue, 09 Apr 2013 15:16:45 +0200 [thread overview]
Message-ID: <516414BD.4020407@profitbricks.com> (raw)
In-Reply-To: <51640E72.3010202-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
On 09.04.2013 14:49, Hal Rosenstock wrote:
> On 4/9/2013 7:12 AM, Vasiliy Tolstov wrote:
>> Hello. I have some servers, with mellanox ConnectX-3 and have some questions:
>> Why max_mtu differs with active_mtu?
>
> What does peer port say for max MTU ?
>
>> How can i set active mtu?
>
> SM sets active MTU to min of peer ports max MTUs.
So with "peer port max MTU" do you mean this file?:
/sys/class/infiniband/mlx4_0/device/mlx4_port1_mtu
I've seen that it can be set as well. I've got two ConnectX-2 machines
connected back2back. In general these have 4K max and active.
So let's try something:
Host1:
$ echo 2048 > /sys/class/infiniband/mlx4_0/device/mlx4_port1_mtu
# Port is not active, let's reactivate it.
$ echo 1 > /sys/class/infiniband/mlx4_0/device/enable
ibv_devinfo Host1:
max_mtu: 2048 (4)
active_mtu: 2048 (4)
Host2:
max_mtu: 4096 (5)
active_mtu: 2048 (4)
Both had "4096 (5)" before everywhere.
So that's the recommended way to reduce the MTU?
I've heard that reducing the MTU in a fabric can help fighting
congestion issues. As congestion control doesn't work yet, could this
help against congestion?
Cheers,
Sebastian
--
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:[~2013-04-09 13:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-09 11:12 tune ib stack Vasiliy Tolstov
[not found] ` <CACaajQs7RHR9Uz_M46o+1zui8x=HneQFW-09V_XQbo8OQV3eoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-09 11:43 ` Sebastian Riemer
[not found] ` <5163FEF4.1000507-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2013-04-09 11:51 ` Vasiliy Tolstov
[not found] ` <CACaajQva3nUe+u3YpHoE4wgiR6-mDoQtnOhR4Cpeu4iwPK0HUQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-09 12:15 ` Sebastian Riemer
[not found] ` <51640654.1000009-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2013-04-09 13:00 ` Hal Rosenstock
2013-04-09 12:49 ` Hal Rosenstock
[not found] ` <51640E72.3010202-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2013-04-09 13:16 ` Sebastian Riemer [this message]
[not found] ` <516414BD.4020407-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2013-04-09 13:34 ` Hal Rosenstock
[not found] ` <516418F4.4040908-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2013-04-09 13:56 ` Sebastian Riemer
[not found] ` <51641E0D.2050009-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2013-04-09 14:23 ` Hal Rosenstock
[not found] ` <5164245E.2030208-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2013-04-09 14:37 ` Sebastian Riemer
[not found] ` <51642795.1070208-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2013-05-14 10:02 ` Vasiliy Tolstov
[not found] ` <CACaajQsMsZL-13aS39Asi7Z+4chXreZk5zy9QNuJM_4GcBFFBA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-05-14 16:02 ` Sebastian Riemer
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=516414BD.4020407@profitbricks.com \
--to=sebastian.riemer-eikl63zcoxah+58jc4qpia@public.gmane.org \
--cc=hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=v.tolstov-+9FY0jupvH6HXe+LvDLADg@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox