From owner-freebsd-questions@freebsd.org Mon Jul 27 03:33:31 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 C142F37563E for ; Mon, 27 Jul 2020 03:33:31 +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 4BFQPk5mVpz4QPp for ; Mon, 27 Jul 2020 03:33:30 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.113] (unknown [172.58.140.48]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 0FB5F4E662 for ; Sun, 26 Jul 2020 22:33:30 -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: <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> <20200727025242.GA48950@admin.sibptus.ru> From: Valeri Galtsev Message-ID: <04bb7095-3e62-22d7-9db7-cfba3c66247b@kicp.uchicago.edu> Date: Sun, 26 Jul 2020 22:33:26 -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: <20200727025242.GA48950@admin.sibptus.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BFQPk5mVpz4QPp 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.42 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.140.48:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.55)[-0.554]; 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_SPAM_SHORT(0.40)[0.402]; 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: Mon, 27 Jul 2020 03:33:31 -0000 On 7/26/20 9:52 PM, Victor Sudakov wrote: > 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. > > If such a program's data is valuable at all, it should save provisional > results from time to time to a non-volatile storage. Yes, That was what I said too.I even used standard word for this: checkpointing. Like in number crunching where you just restart your job from last checkpoint. Did my message not go through to the mail list? Valeri > Even office > editors and spreadsheets save their data periodically. > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++