Date: Sat, 16 Mar 2024 20:24:25 +0100 From: tuexen@freebsd.org To: Nuno Teixeira <eduardo@freebsd.org> Cc: garyj@gmx.de, current@freebsd.org, net@freebsd.org Subject: Re: Request for Testing: TCP RACK Message-ID: <4FF534F6-B35D-4596-8D1E-226AD1347AC8@freebsd.org> In-Reply-To: <CAFDf7ULtN9owoH-ns2OfR6ZhypNGxuNzkQbb2P9zR8ceFgaj5A@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>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 16. Mar 2024, at 20:06, Nuno Teixeira <eduardo@freebsd.org> wrote: >=20 >>> Will update amd64 laptop to main-n268827-75464941dc17 (Mar 16) and = test it. >> Please do so... >=20 > @main-n268827-75464941dc17 GENERIC-NODEBUG amd64 >=20 > Ok, I think I have here some numbers related to disk performance being > affected by tcp_rack that somehow is messing with something. >=20 > NOTES: > - test [1] was done after a boot without tcp_rack in loader.conf and > [2] tcp_rack was loaded manually with kldload (without rebooting) > - After unloading tcp_rack, same results as [2] > - Cannot unload tcptpts: device busy tcphpts does not support unloading. So that is fine. Just to double check: you only load the tcp_rack. You don't run sysctl net.inet.tcp.functions_default=3Drack This means you load RACK, but you don't use it. What does "poudriere testport net/gitup" do? Only build stuff or does is also download something? What does bonnie++ do? Could you reboot the system, run the test, do kldload tcphpts, run the test again, do kldload tcp_rack, and run it again. I'm wondering if tcphpts is affecting the measurements... Thanks for testing. Best regards Michael >=20 > [1] without tcp_rack loaded: >=20 > =3D=3D> poudriere testport net/gitup: > 11.16s real 5.35s user 6.35s sys >=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 25k 99 105m 99 88.7m 99 77k 99 198m 99 = 12716 1784 > Latency 351ms 1793us 2340us 241ms 638us = 2514us > 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 14908.273230 97 +++++ +++ 6878.516657 99 > 15194.808063 97 +++++ +++ 8019.731670 99 > Latency 1108us 182us 2228us 1013us 152us = 2424us >=20 > [2] kldload tcp_rack: >=20 > =3D=3D> poudriere testport net/gitup: > 1m0.54s real 4.98s user 1m31.38s sys >=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 14k 99 78.0m 99 46.6m 99 25k 99 120m 99 = 6688 2161 > Latency 676ms 18309us 76171us 385ms 924us = 2274us > 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 8139.513260 96 19437.792294 99 5494.638508 99 > 8099.275425 96 19723.528878 99 6363.123671 99 > Latency 2982us 338us 3072us 1135us 591us = 3236us >=20 > Cheers, >=20 >=20 >=20 >=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?4FF534F6-B35D-4596-8D1E-226AD1347AC8>