Re: Performance test for CUBIC in stable/14
- Reply: void : "Re: Performance test for CUBIC in stable/14"
- In reply to: void : "Re: Performance issues with vnet jails + epair + bridge"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Oct 2024 14:42:49 UTC
Change the subject to `Performance test for CUBIC in stable/14`, was `Re: Performance issues with vnet jails + epair + bridge`. I actually prepared two patches, one depends on the other: https://reviews.freebsd.org/D47218 << apply this patch firstly https://reviews.freebsd.org/D47213 << apply this patch secondly Please let me know if you have any questions. It passed my local test on a 1% drop rate link, with nearly 3.9X performance improvement. before patching: [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.07 sec 27.0 MBytes 211 Mbits/sec 207 12.8 KBytes [ 5] 1.07-2.12 sec 18.0 MBytes 144 Mbits/sec 151 11.4 KBytes [ 5] 2.12-3.07 sec 22.0 MBytes 194 Mbits/sec 189 11.8 KBytes [ 5] 3.07-4.07 sec 23.0 MBytes 194 Mbits/sec 203 10.8 KBytes [ 5] 4.07-5.06 sec 18.0 MBytes 153 Mbits/sec 165 15.0 KBytes [ 5] 5.06-6.11 sec 25.0 MBytes 200 Mbits/sec 227 26.9 KBytes [ 5] 6.11-7.07 sec 23.0 MBytes 201 Mbits/sec 189 10.7 KBytes [ 5] 7.07-8.07 sec 23.0 MBytes 193 Mbits/sec 215 12.7 KBytes [ 5] 8.07-9.03 sec 22.0 MBytes 191 Mbits/sec 185 10.4 KBytes [ 5] 9.03-10.09 sec 24.0 MBytes 191 Mbits/sec 219 1.41 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.09 sec 225 MBytes 187 Mbits/sec 1950 sender [ 5] 0.00-10.14 sec 225 MBytes 186 Mbits/sec receiver iperf Done. after patching: [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.08 sec 118 MBytes 919 Mbits/sec 872 47.5 KBytes [ 5] 1.08-2.07 sec 109 MBytes 917 Mbits/sec 849 56.9 KBytes [ 5] 2.07-3.09 sec 111 MBytes 915 Mbits/sec 810 54.5 KBytes [ 5] 3.09-4.07 sec 108 MBytes 922 Mbits/sec 831 43.8 KBytes [ 5] 4.07-5.07 sec 109 MBytes 919 Mbits/sec 813 31.1 KBytes [ 5] 5.07-6.02 sec 103 MBytes 913 Mbits/sec 815 60.2 KBytes [ 5] 6.02-7.07 sec 116 MBytes 921 Mbits/sec 850 58.2 KBytes [ 5] 7.07-8.06 sec 109 MBytes 922 Mbits/sec 822 46.4 KBytes [ 5] 8.06-9.06 sec 109 MBytes 913 Mbits/sec 843 59.4 KBytes [ 5] 9.06-10.07 sec 110 MBytes 917 Mbits/sec 815 42.3 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.07 sec 1.08 GBytes 918 Mbits/sec 8320 sender [ 5] 0.00-10.11 sec 1.08 GBytes 915 Mbits/sec receiver iperf Done. cc On Fri, Oct 18, 2024 at 9:13 AM void <void@f-m.fm> wrote: > On Fri, Oct 18, 2024 at 07:28:49AM -0400, Cheng Cui wrote: > > >The patch is a TCP congestion control algorithm improvement. So to > >be clear, it only impacts a TCP data sender. These hosts are just traffic > >forwarders, not TCP sender/receiver. > > > >I can send you a patch for the FreeBSD 14/stable to test performance > >improvement. > > sure! I'm happy to test > > >If you think FreeBSD 14.x releases are critical to your business, or you > >can't wait until FreeBSD 15 is released, you can file a request to add > this > >patch in the 14.x. I think https://bugs.freebsd.org/bugzilla/ is where a > >user can file such request. If it is approved, which I am not sure if > >it can be approved, then maybe it can be included in the next 14.x > release. > > thank you, I'll try :D > -- > > -- Best Regards, Cheng Cui