From nobody Mon Apr 17 19:11:12 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q0c9g11QGz454TB for ; Mon, 17 Apr 2023 19:11:51 +0000 (UTC) (envelope-from 93ab.82.c3a800047d6a82.6decf678afecebec9f315b87185adf1a@email-od.com) Received: from s1-b515.socketlabs.email-od.com (s1-b515.socketlabs.email-od.com [142.0.181.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q0c9f2RZNz4MNm for ; Mon, 17 Apr 2023 19:11:50 +0000 (UTC) (envelope-from 93ab.82.c3a800047d6a82.6decf678afecebec9f315b87185adf1a@email-od.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tundraware.com header.s=slkey header.b=Xz1NoYie; dkim=pass header.d=email-od.com header.s=dkim header.b=E5j+PMYA; spf=pass (mx1.freebsd.org: domain of 93ab.82.c3a800047d6a82.6decf678afecebec9f315b87185adf1a@email-od.com designates 142.0.181.21 as permitted sender) smtp.mailfrom=93ab.82.c3a800047d6a82.6decf678afecebec9f315b87185adf1a@email-od.com; dmarc=pass (policy=reject) header.from=tundraware.com DKIM-Signature: v=1; a=rsa-sha256; d=tundraware.com;s=slkey; c=relaxed/relaxed; q=dns/txt; t=1681758710; x=1684350710; h=x-tundraware-mailscanner-from:x-greylist:content-transfer-encoding:content-type:in-reply-to:from:references:to:content-language:subject:mime-version:date:message-id:x-thread-info:subject:to:from:cc:reply-to; bh=sKtCJK0aPc7IL/i1s/btjXQeN4DLd15dBh89JZfQzfg=; b=Xz1NoYierpmDxjrY8+WSzisKRNOw+M/vEStVO7bngVwY7P4ddFsLj2sViekmepmWKPqVPkBHQg/77W3iYqtXqAoJSCOl4N6aU70gkj9blBmdCPh3graqls6/08IevOwbuSlmXhhXAdyZuQ26shi68674n0PeLS8yyrx2Cv9fmmtjOm50forBwv0DUE91/135oB/O3E2JNUrFwzI5QEc7VIIFlTCHQp3MLq2FaPOYS5Lu5CuaZtrLeWnoGDrFQJgZCr0n9KVwRmlp4rFBPZZ6cnmM1kmiUduhuwzi+fgn6zohc8E1HANjvxyQt10wQ5dKX22PLIxPPMwbldVGMwOPsg== DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1681758710; x=1684350710; h=x-tundraware-mailscanner-from:x-greylist:content-transfer-encoding:content-type:in-reply-to:from:references:to:content-language:subject:mime-version:date:message-id:x-thread-info:subject:to:from:cc:reply-to; bh=sKtCJK0aPc7IL/i1s/btjXQeN4DLd15dBh89JZfQzfg=; b=E5j+PMYAXfOK4+6QlXmd9zcz1LOW81VKIPGBpRM9mOdva57xB0Iicufk2SMlO5GaCg76fxEcX6QYafWg9krB7SvR+x53hcGBpSioGIDqk/waO7N4X0CqAuEeQJYUe/vWe+wPGWnM8TEl6UuNG7K2Lu5tvtDZ5hshjKVNfBe6mjA= X-Thread-Info: OTNhYi4xMi5jM2E4MDAwNDdkNmE4Mi5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r3.us-east-1.aws.in.socketlabs.com (r3.us-east-1.aws.in.socketlabs.com [142.0.191.3]) by mxh4.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 17 Apr 2023 15:11:39 -0400 Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) by r3.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 17 Apr 2023 15:11:38 -0400 Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.17.1/8.17.1) with ESMTPSA id 33HJBHFU071310 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Mon, 17 Apr 2023 14:11:17 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: Date: Mon, 17 Apr 2023 14:11:12 -0500 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: Docker Content-Language: en-US To: FreeBSD Mailing List References: <20230329053443.6ADA6B6AFED5@dhcp-8e64.meeting.ietf.org> <6002f636-310b-a9fd-b82f-346618976983@timpreston.net> <20230412150350.12f97eb2c9dd566b8c8702d2@sohara.org> <1535315680.2770963.1681309684072@mail.yahoo.com> <20230412155252.5e38ea4728bd52dc798852fc@sohara.org> <1d0a7ed1-9330-49df-9b66-9ee4387de511@app.fastmail.com> <78F4160A-2D26-4A22-9139-A9132FC42688@ellael.org> <20230417133223.3ef5e26c.freebsd@edvax.de> <989A99FE-5DA3-4346-B886-32F8E64BA6F0@nimnet.asn.au> <8714f66b-cd2a-2dd3-67ba-9313522ee1b6@tundrawar e.com> <1096316421.4975742.1681752853038@mail.yahoo.com> <1751079266.5066266.1681758046058@mail.yahoo.com> From: Tim Daneliuk In-Reply-To: <1751079266.5066266.1681758046058@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (oceanview.tundraware.com [45.55.60.57]); Mon, 17 Apr 2023 14:11:17 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 33HJBHFU071310 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-5.194, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, NICE_REPLY_A -2.28, T_SCC_BODY_TEXT_LINE -0.01) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Spamd-Result: default: False [-3.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[tundraware.com,reject]; FORGED_SENDER(0.30)[tundra@tundraware.com,93ab.82.c3a800047d6a82.6decf678afecebec9f315b87185adf1a@email-od.com]; R_DKIM_ALLOW(-0.20)[tundraware.com:s=slkey,email-od.com:s=dkim]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[tundra@tundraware.com,93ab.82.c3a800047d6a82.6decf678afecebec9f315b87185adf1a@email-od.com]; RCVD_IN_DNSWL_NONE(0.00)[142.0.181.21:from,142.0.191.3:received]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:53658, ipnet:142.0.180.0/22, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[tundraware.com:+,email-od.com:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; DWL_DNSWL_NONE(0.00)[email-od.com:dkim] X-Rspamd-Queue-Id: 4Q0c9f2RZNz4MNm X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On 4/17/23 14:00, Paul Pathiakis wrote: > > I was pretty crotchety when people started with containers and virtualization and... MICROSERVICES....  I was like:  you do understand what a scheduler and time sharing are all about right?  You know about UNIX, right?  You do know about "nice"  why would I want to put limits on some simulated machine and expect it will work better than the job control and scheduler of the kernel? I will say that having now spent the better part of a decade around microservices, docker, K8s, et al that the current state of that art allows for a lot of control around resource consumption and scaling/performance. K8s, in particular, gets away from the idea that you have to tune the host and instead allows you to think about optimizing the containers that run there. At least for business applications, the vast majority of the time, the throughput issues are far more about I/O constraints than they are CPU-bound or concurrency issues. Optimizing schedules, nice, pinning CPUs and all the rest make sense when your point of tuning is a single, monolithic kernel running a process model. But with K8s, you can think in terms of logically infinite capacity (at a price, of course) where your optimization surface is the service itself and the class of K8s pod you are running on. This model is not useful for everything. There have been attempts, for example, to decompose the FreeBSD kernel itself into a set of loosely coupled services coordinated via message passing. If memory services, this was the intent of DragonflyBSD but I'm not certain of that. "There are 20 ways to solve a problem. 3 of them will work well enough."