From owner-freebsd-questions@freebsd.org Sun Jul 26 16:01:51 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 1B5B6364856 for ; Sun, 26 Jul 2020 16:01:51 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4BF73f3s3Zz3VLm for ; Sun, 26 Jul 2020 16:01:50 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.113] (unknown [172.58.142.216]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id EEAC94E677 for ; Sun, 26 Jul 2020 11:01:49 -0500 (CDT) Subject: Re: Ask stupid questions and you'll get a stupid answers, was: Technological advantages over Linux To: freebsd-questions@freebsd.org 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> <20200726165212.a0ac28ce104b9dfd009cc4c5@sohara.org> <7290c25a-aaf3-b864-0ed8-ec9558777681@kicp.uchicago.edu> From: Valeri Galtsev Message-ID: Date: Sun, 26 Jul 2020 11:01:48 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <7290c25a-aaf3-b864-0ed8-ec9558777681@kicp.uchicago.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4BF73f3s3Zz3VLm X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [-0.18 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.142.216:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-0.37)[-0.370]; NEURAL_HAM_SHORT(-0.36)[-0.356]; NEURAL_SPAM_LONG(0.45)[0.446]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] 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 16:01:51 -0000 On 7/26/20 10:56 AM, Valeri Galtsev wrote: > > > On 7/26/20 10:52 AM, Steve O'Hara-Smith wrote: >> 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. >> > > And yes, I agreed with your sentiments (or judgement): killing a process > is a bad thing always. Agreed before writing any of my comments. > Even though that heavy weight program that runs for multiple days must have been saving checkpoints which you can restart it from, so you only loose time from last checkpoint, I still agree with you: killing anything is a bad thing to do. Valeri > Valeri > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++