Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2023 13:42:03 +0100
From:      void <void@f-m.fm>
To:        freebsd-current@freebsd.org
Subject:   cc_vegas isn't built in recent current
Message-ID:  <ZK6fm-39H6u-WUAd@int21h>

next in thread | raw e-mail | index | archive | help
Maybe the question I need to ask before asking about this is
"what is the best tcp algo to use in the situation where:

1. gigabit fibre on consumer FTTP
2. on a freebsd host whose purpose is hosting bhyve guests"

I expected to load cc_vegas as, from what I've read, it's the
best (most responsive/throughput) for the context but the
reading materials are from 2013 i think. 

So, what's in the opinion of the list the best algo in the context?

The second thing is that cc_vegas doesn't build. Latest sources
are main-264125. The OS is at n264089. The kld is missing because 
when world was built this kld obviously wasn't. I tried to build directly
just now:

##### snip
# cd /usr/src/sys/modules/cc/cc_vegas
# make
Building /usr/obj/usr/src/amd64.amd64/sys/modules/cc/cc_vegas/machine
machine -> /usr/src/sys/amd64/include
Building /usr/obj/usr/src/amd64.amd64/sys/modules/cc/cc_vegas/x86
x86 -> /usr/src/sys/x86/include
Building /usr/obj/usr/src/amd64.amd64/sys/modules/cc/cc_vegas/i386
i386 -> /usr/src/sys/i386/include
Building /usr/obj/usr/src/amd64.amd64/sys/modules/cc/cc_vegas/opt_kern_tls.h
Building /usr/obj/usr/src/amd64.amd64/sys/modules/cc/cc_vegas/opt_global.h
Building /usr/obj/usr/src/amd64.amd64/sys/modules/cc/cc_vegas/cc_vegas.o
/usr/src/sys/netinet/cc/cc_vegas.c:136:32: error: no member named 't_osd' in 'struct tcpcb'
         e_t = khelp_get_osd(&CCV(ccv, t_osd), ertt_id);
                                      ~~~~~~~~~^~~~~~
/usr/src/sys/netinet/cc/cc_module.h:59:41: note: expanded from macro 'CCV'
         #define CCV(ccv, what) (ccv)->ccvc.tcp->what
                                 ~~~~~~~~~~~~~~~  ^
     1 error generated.
     *** Error code 1

Stop.
make: stopped in /usr/src/sys/modules/cc/cc_vegas

##### snip

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZK6fm-39H6u-WUAd>