From owner-freebsd-questions@freebsd.org Sun Jul 26 15:52:21 2020 Return-Path: Delivered-To: freebsd-questions@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 173DA363F4A for ; Sun, 26 Jul 2020 15:52:21 +0000 (UTC) (envelope-from 4250.82.1d4c20005b56bde.83f0eab4f44729bd682077fc194a137c@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 4BF6rh2sDpz3V0H for ; Sun, 26 Jul 2020 15:52:20 +0000 (UTC) (envelope-from 4250.82.1d4c20005b56bde.83f0eab4f44729bd682077fc194a137c@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1595778740; x=1598370740; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=H/+pOp9Nm3lB8lQo66OHFpnj/Hq+uPvQ4wMS52mzb7M=; b=OUG7vLfUpNEs5havuV8BT5jxUxSOr/F8NJdvPJmh+3ZHpJRAVVnHdeD/d1rlnJeHrVH34G6AfQW0LyH9BZaKBaGum6JdlymOboUJhRqOhtfWGo5Wb4sgrDm8AbPC79DVP82xumpSp2PbDfCPzWXWA29JmD+EaqkW97cX5jvDkQI= X-Thread-Info: NDI1MC45Mi4xZDRjMjAwMDViNTZiZGUuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r3.us-east-1.aws.in.socketlabs.com (r3.us-east-1.aws.in.socketlabs.com [142.0.191.3]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 26 Jul 2020 11:52:13 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 26 Jul 2020 11:52:13 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1jziwe-0008EN-76 for freebsd-questions@freebsd.org; Sun, 26 Jul 2020 16:52:12 +0100 Date: Sun, 26 Jul 2020 16:52:12 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Ask stupid questions and you'll get a stupid answers, was: Technological advantages over Linux Message-Id: <20200726165212.a0ac28ce104b9dfd009cc4c5@sohara.org> In-Reply-To: <27ca8c6c-6b06-6ad4-7af0-2b88f51a3856@kicp.uchicago.edu> References: <20200725152412.GJ92589@admin.sibptus.ru> <20200725162403.GA4721@admin.sibptus.ru> <20200725182554.deffc63058a7c9f6d343ef06@sohara.org> <04df312d-9b2b-1873-2117-79a49e089bd9@kicp.uchicago.edu> <20200726063256.GA22924@admin.sibptus.ru> <20200726093909.ee5e14e643d31da4dad5c804@sohara.org> <20200726151835.GA35966@admin.sibptus.ru> <27ca8c6c-6b06-6ad4-7af0-2b88f51a3856@kicp.uchicago.edu> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BF6rh2sDpz3V0H X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=OUG7vLfU; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c20005b56bde.83f0eab4f44729bd682077fc194a137c@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c20005b56bde.83f0eab4f44729bd682077fc194a137c@email-od.com X-Spamd-Result: default: False [-2.39 / 15.00]; ARC_NA(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[142.0.176.198:from]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-1.04)[-1.035]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.95)[-0.955]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_HAM_SHORT(-0.70)[-0.695]; RCVD_IN_DNSWL_NONE(0.00)[142.0.176.198:from]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c20005b56bde.83f0eab4f44729bd682077fc194a137c@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c20005b56bde.83f0eab4f44729bd682077fc194a137c@email-od.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2020 15:52:21 -0000 On Sun, 26 Jul 2020 10:39:16 -0500 Valeri Galtsev wrote: > My understanding of Linux OOM killer lies along same lines though my > understanding is much more simplified: kill minimal number of processes > to recover maximum amount of resources. Not always the right thing to do though. > Another speculative way to say > it would be: process owning maximum amount of RAM that keeps allocating > more RAM is first candidate. What a pity if that is the heavy weight analytic program that has a run time of several hours/days and is the only thing that matters running on the system. -- Steve O'Hara-Smith