From owner-freebsd-net@freebsd.org Mon Oct 28 21:31:01 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1A37C15D4B1 for ; Mon, 28 Oct 2019 21:31:01 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4727F0147xz4WqC for ; Mon, 28 Oct 2019 21:30:59 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: by mail-io1-xd31.google.com with SMTP id s17so5285814iol.12 for ; Mon, 28 Oct 2019 14:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jYClGMJzgg+p+sqjBaDljGi0BqUoHLENSnqiXONzZEM=; b=lt+pQNqd1sqUmSfKNcLz3bVbC51YKsFMh0enspHbQq9MDoBORrIahwcCPcTTtpkJ27 fLrEd8QDPPtWvV3xSMU+7Oh9NDgKT+Ir5ZomXJ0LEJobsX6eZoufN3TzD3KlnC1ksI6u Nr+LaeYZs0MHBnpwTjtpgWqTe03ho91DAdrR8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jYClGMJzgg+p+sqjBaDljGi0BqUoHLENSnqiXONzZEM=; b=EpmY20KnkF/0wTAvQg8Yt2IyyiUBgLtFF1uh85qYVjluysgaQwVA3InVfHj3451G7w U6c9Q/ap4PgX0hV/o8wjtRPTC2NWXg0h4KtvyJQ/cj0BwDUYeZt1SHYvJFwHvpLbrnhS cPKYgpE4qAMSQNDep8VEz/BjiV8D+NE3Bcamzsn3uHjQe2DVuPJIVNtpdURS95jq7ty2 1ZQbIjcmuyQYz+/FcZoAioCO9UPEzRIDHFLRIAgU+JpFkkHM7UFWlVdQ22V16BCDU3HH gOharXlU2FWRuKzBqJZzGQlUwthcEufoQ9fhZJ4nXjYILGl2Ee6WHdrUorAg9QpLsQeh CRrg== X-Gm-Message-State: APjAAAUk9jbBfSvkRJoFw4sl8IKb3a/XjibNSQ9/1BAlq4FEjvQ1AQ0y M9LXg5qvrBH2wUTVGMmr1weNHOXV4eIcGWoPw220Xg== X-Google-Smtp-Source: APXvYqzQ+O6l27PreiNzDY6M21njvcVEQHbP+IfTayk5RmrJLzQCZ3NV9WKmjBb4JfcQNEn1sq608kgNmLUR+x03mIo= X-Received: by 2002:a6b:7d0b:: with SMTP id c11mr71935ioq.236.1572298258531; Mon, 28 Oct 2019 14:30:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kevin Bowling Date: Mon, 28 Oct 2019 14:30:47 -0700 Message-ID: Subject: Re: TCP Congestion Control To: vm finance Cc: Kevin Oberman , freebsd-net X-Rspamd-Queue-Id: 4727F0147xz4WqC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none (invalid DKIM record) header.d=kev009.com header.s=google header.b=lt+pQNqd; dmarc=none; spf=pass (mx1.freebsd.org: domain of kevin.bowling@kev009.com designates 2607:f8b0:4864:20::d31 as permitted sender) smtp.mailfrom=kevin.bowling@kev009.com X-Spamd-Result: default: False [-4.43 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[kev009.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[kev009.com:~]; RCVD_IN_DNSWL_NONE(0.00)[1.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_DKIM_PERMFAIL(0.00)[kev009.com:s=google]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.13)[ip: (-6.17), ipnet: 2607:f8b0::/32(-2.40), asn: 15169(-2.05), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2019 21:31:01 -0000 The per socket method is used at a large commercial CDN On Thu, Oct 24, 2019 at 12:30 AM vm finance wrote: > Ok - I see there is a socket option to pick a different cc per-socket > basis. > Any experiences on loading / using different cc per socket...does it work > seamlessly? > > Thanks! > > On Wed, Oct 23, 2019 at 11:19 PM Kevin Oberman > wrote: > > > Have you loaded kernel modules for other algorithms? I believe only > > newreno is in the default kernel. "man 4 mod_cc" for available modules > and > > other information. > > -- > > Kevin Oberman, Part time kid herder and retired Network Engineer > > E-mail: rkoberman@gmail.com > > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > > > > > > On Wed, Oct 23, 2019 at 11:04 PM vm finance > wrote: > > > >> Hi, > >> > >> We can set per-socket congestion control under Linux, but not under > >> FreeBSD > >> (12.0). > >> The current available and allowed is only newReno: > >> net.inet.tcp.cc.available: newreno > >> net.inet.tcp.cc.algorithm: newreno > >> > >> Any thoughts on why FreeBSD chose not to allow different cc to be set > per > >> socket? > >> AFAIK, it would get complicated to have different sessions having > >> different > >> congestion algos. > >> > >> Thanks for any pointers! > >> _______________________________________________ > >> freebsd-net@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-net > >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > >> > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >