> On 16. Mar 2024, at 20:06, Nuno Teixeira <edua...@freebsd.org> wrote: > >>> Will update amd64 laptop to main-n268827-75464941dc17 (Mar 16) and test it. >> Please do so... > > @main-n268827-75464941dc17 GENERIC-NODEBUG amd64 > > Ok, I think I have here some numbers related to disk performance being > affected by tcp_rack that somehow is messing with something. > > 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=rack 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 > > [1] without tcp_rack loaded: > > ==> poudriere testport net/gitup: > 11.16s real 5.35s user 6.35s sys > > ==> 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 > > [2] kldload tcp_rack: > > ==> poudriere testport net/gitup: > 1m0.54s real 4.98s user 1m31.38s sys > > ==> 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 > > Cheers, > > > > > > > > -- > Nuno Teixeira > FreeBSD Committer (ports)