Date: Sun, 17 Mar 2024 10:18:16 +0100 From: tuexen@freebsd.org To: Nuno Teixeira <eduardo@freebsd.org> Cc: garyj@gmx.de, current@freebsd.org, net@freebsd.org, Randall Stewart <rrs@freebsd.org>, gallatin@freebsd.org Subject: Re: Request for Testing: TCP RACK Message-ID: <C5D50314-4B0C-42F6-AA67-B5A32A4BA335@freebsd.org> In-Reply-To: <CAFDf7U%2BAjfeY%2Bqjq%2B-R71w5i1pRoxQdOmqJ9w4s1U13AA8-duA@mail.gmail.com> References: <42C327BD-6CE4-43AA-A1AE-3BEC08D623DB@freebsd.org> <CAFDf7U%2BU3QpgsG-hY0u3tC_X9WKSRzuAM7Nfhzu-%2BqPBbs1nng@mail.gmail.com> <486915F0-456B-4B09-A8BC-93BBA79C4CA1@freebsd.org> <20240313080624.6c73908c@ernst.home> <508E3B47-8E1B-469F-97B1-2171A3098888@freebsd.org> <86a5n1i0xg.fsf@ltc.des.dev> <AE656D0C-FA5B-4194-8B57-4140CD57ABF1@freebsd.org> <CAFDf7UJRitdHz5QebNH9A4mNo0pKCBRfZCfmFgjNVSdCr_JXrw@mail.gmail.com> <78D1FF09-71A3-4486-B934-D8332F54B237@freebsd.org> <20240316104053.20bef8c2@ernst.home> <CAFDf7UKT=FYsaXRacwsnjDkYUjT4_1QnHynWAc67yxQS8XA0Yw@mail.gmail.com> <20240316115128.33d11f7b@ernst.home> <CAFDf7U%2BBgyw2e1hJySt-4GTX3=qn6LX7B2Ebzcmvr%2BD6MJqfpg@mail.gmail.com> <7367F29A-D52B-4828-B79A-AA2667E81E7D@freebsd.org> <CAFDf7UKRLpBt%2B11GmWO5p0b-L9ZMve6MyCxRUuVm32EBZY0MWA@mail.gmail.com> <BB57B7CC-1506-4B4C-8A04-26F67DE30EDA@freebsd.org> <CAFDf7ULtN9owoH-ns2OfR6ZhypNGxuNzkQbb2P9zR8ceFgaj5A@mail.gmail.com> <4FF534F6-B35D-4596-8D1E-226AD1347AC8@freebsd.org> <CAFDf7U%2BAjfeY%2Bqjq%2B-R71w5i1pRoxQdOmqJ9w4s1U13AA8-duA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 16. Mar 2024, at 21:29, Nuno Teixeira <eduardo@freebsd.org> wrote: >=20 >> Just to double check: you only load the tcp_rack. You don't run >> sysctl net.inet.tcp.functions_default=3Drack >=20 > I'm not using sysctl, just loading module. And you also don't have net.inet.tcp.functions_default=3Drack in /etc/sysctl.conf This means that no TCP connection will actually use the RACK stack. >=20 >> What does "poudriere testport net/gitup" do? Only build stuff or does = is >> also download something? >>=20 >> What does bonnie++ do? >=20 > poudriere is for testing ports and it uses jails to build stuff. > It have restrict access to net to fetch distfiles (not the case as > distfile is present on disk) >=20 > bonnie++ is a disk benchmark Thanks for clarifying. >=20 >> Could you reboot the system, run the test, do kldload tcphpts, run >> the test again, do kldload tcp_rack, and run it again. >=20 > The previous test [2] was obtained by loading tcp_rack >=20 > Now I will post results for test [3] by loading (only) tcphpts module. Great. This makes sure that the degradation is related to TCPHPTS and not the RACK stack. >=20 > [3] kldload tcphpts: >=20 > =3D=3D> poudriere testport net/gitup: > 55.26s real 5.23s user 1m19.91s sys So this test goes up from 11 seconds to 55 seconds... >=20 > =3D=3D> bonnie++ > Version 1.98 ------Sequential Output------ --Sequential Input- = --Random- > -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- = --Seeks-- > Name:Size etc /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP = /sec %CP > leg.home 32G 12k 99 73.0m 99 51.1m 99 27k 99 128m 99 = 8038 2194 > Latency 1763ms 194ms 23979us 431ms 1267us = 2776us > Version 1.98 ------Sequential Create------ --------Random = Create-------- > leg.home -Create-- --Read--- -Delete-- -Create-- --Read--- = -Delete-- > files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP = /sec %CP > 16 7017.934752 98 21243.823180 100 7780.918458 99 > 9281.477778 98 21368.647657 100 7457.828733 99 > Latency 3015us 220us 2398us 1106us 386us = 2473us >=20 > Summary: >=20 > - I can't remember better tests to do as I can feel the entire OS is > being slow, without errors, just slow. This is interesting. It seems a consequence on loading TCPHPTS, not = actually using it. I have CCed Drew and Randall, who know much more about HPTS and might = have follow up questions. I'll bring the issue up in the FreeBSD transport = call next Thursday. What hardware are you using? Best regards Michael > - Approx. results as test [2] >=20 >=20 >=20 >=20 > Nuno Teixeira > FreeBSD Committer (ports)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C5D50314-4B0C-42F6-AA67-B5A32A4BA335>