Date: Tue, 12 Aug 2014 08:02:28 +0000 From: "Eggert, Lars" <lars@netapp.com> To: hiren panchasara <hiren.panchasara@gmail.com> Cc: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>, John-Mark Gurney <jmg@funkthat.com>, Niu Zhixiong <kaiaixi@gmail.com>, Bill Yuan <bycn82@gmail.com>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: A problem on TCP in High RTT Environment. Message-ID: <E9FE9F32-9079-463E-BB47-5E62E61F31BC@netapp.com> In-Reply-To: <CALCpEUEzBb1wCJVONNtbKnt_ZTpoPcup7O9P_03jkJCHRiAVBg@mail.gmail.com> References: <CAOENNMA_CiBDJc0kchzUbTcf_JBwTJPF=PdBAUB6FPo-KzYkeQ@mail.gmail.com> <20140809184232.GF83475@funkthat.com> <8AE1AC56-D52F-4F13-AAA3-BB96042B37DD@lurchi.franken.de> <20140809204500.GG83475@funkthat.com> <3F6BC212-4223-4AAC-8668-A27075DC55C2@lurchi.franken.de> <CAOENNMCPuiYS7LHwMfOczhZ4yisjGkpOmWzv2pcAoi9Hhzb7dw@mail.gmail.com> <20140810022350.GI83475@funkthat.com> <CAOENNMB3=FZx5kSHVPDPBTtMKbmYJ=c_XNMcuYuoLPe=6U%2Bkxg@mail.gmail.com> <CAOENNMARg36KH1Y%2B0wG8pd7sSf8XKnMf6g790_KiKaj3Mdwyjw@mail.gmail.com> <20140810033212.GL83475@funkthat.com> <CAOENNMA-dwPQr53bM4rzC=1eitoi-JAB4mCGx4zybFwUC=GMNg@mail.gmail.com> <17A804F3-BEA6-46F4-887F-B68750618FD9@netapp.com> <0CF85443-26AC-4931-9D00-3396C18C7690@lurchi.franken.de> <7A4120EE-60F3-4D32-89C4-C694B8DFEAE4@netapp.com> <5E8A6382-7096-495A-907C-86CE26A163A2@lurchi.franken.de> <CC9987A3-4608-4513-9D46-B81369CB8354@netapp.com> <5D3CBFDC-362E-4DB6-A132-BA842EF5B1B2@lurchi.franken.de> <CALCpEUEzBb1wCJVONNtbKnt_ZTpoPcup7O9P_03jkJCHRiAVBg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_037FD837-EC43-4A48-9F0A-AA9B508B397E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, On 2014-8-12, at 1:52, hiren panchasara <hiren.panchasara@gmail.com> = wrote: > On Mon, Aug 11, 2014 at 12:59 PM, Michael Tuexen > <Michael.Tuexen@lurchi.franken.de> wrote: >> If I remember correctly, I increased >> kern.ipc.nmbufs and kern.ipc.nmbclusters in /boot/loader.conf >=20 > I believe, you just need to set kern.ipc.nmbclusters (max mbuf > clusters allowed) and kern.ipc.nmbufs (max mbufs allowed) should be > adjusted based on that. I bumped kern.ipc.nmbclusters by a factor of 100 (from 2036224 to = 203622400). As Hiren said, kern.ipc.nmbufs auto-adjusted (from 13031835 = to 205111860). However, I still see "requests for mbufs denied" immediately after = reboot. root@laurel:~ # netstat -m 12280/1580/13860 mbufs in use (current/cache/total) 12279/827/13106/203622400 mbuf clusters in use (current/cache/total/max) 12279/819 mbuf+clusters out of packet secondary zone in use = (current/cache) 0/3/3/1018111 4k (page size) jumbo clusters in use = (current/cache/total/max) 0/0/0/301662 9k jumbo clusters in use (current/cache/total/max) 0/0/0/169685 16k jumbo clusters in use (current/cache/total/max) 27628K/2061K/29689K bytes allocated to network (current/cache/total) 253/5481/12473 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters delayed (4k/9k/16k) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile I just noticed that the total "mbufs in use" didn't seem to have = increase when I did the 100x scaling of kern.ipc.nmbclusters (and = kern.ipc.nmbufs auto-adjusted). Neither did "bytes allocated to = network". Is that expected? Lars --Apple-Mail=_037FD837-EC43-4A48-9F0A-AA9B508B397E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQCVAwUBU+nKM9ZcnpRveo1xAQJ2VwQAjfA/6j0hSNjq+2iTPE5xH2CRPFCKPY0z tT/REyB8OUKPmDyqD8Gt7RciOa4UHk+BEVrD3pGtM+WKW/pjNd0dumeUzrLhKBdx MG69c1PSr0ILhl2VY3Q7ObHZqhLwLswbi4ugCJH3D++BFIt1EU6Kka26oG8Kkyhu +S90EPhqZCE= =7rj+ -----END PGP SIGNATURE----- --Apple-Mail=_037FD837-EC43-4A48-9F0A-AA9B508B397E--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E9FE9F32-9079-463E-BB47-5E62E61F31BC>