From owner-freebsd-arm@freebsd.org Wed Aug 15 19:30:40 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C37D106D705 for ; Wed, 15 Aug 2018 19:30:39 +0000 (UTC) (envelope-from jedi@jeditekunum.com) Received: from a1i76.smtp2go.com (a1i76.smtp2go.com [43.228.184.76]) (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 6CAD175BFB for ; Wed, 15 Aug 2018 19:30:39 +0000 (UTC) (envelope-from jedi@jeditekunum.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpservice.net; s=m4fue0.a1-4.dyn; x=1534362339; h=Feedback-ID: X-Smtpcorp-Track:To:Message-Id:Date:From:Subject:Reply-To:Sender: List-Unsubscribe; bh=f1H5LPCUgxfVV3jpyPCy6CRfsMjFrBnEAimFnw1qAO8=; b=ZLugQaUW iZBzeIdiK3LlnupbeQRiGIbpz/4Lvlqf4caskGniEWrNidehRYsFm9ImKjFlCozCnzneoh6fTLWUp Edke2j3D6Ev0VeN8tmUjXuPaBCcpgmmwKZtQyt7AYL1+SKouUoh9HWii5EKa/a6+m8sCrJB4/Tcnn jPuuyN0WfAFzZaKJ1tFlQCys81nIG8sNRFIr++DkxGziOICUx6eJsdZef+ReHWMghz1JtlNA65khZ bGmlQSzeaVXb1yH0kafsU6wXXR7gRigpGbQi/GDCqk7t8vyFYjuDFqUFZ4ZtA2zMTBNXgkplCRKNK JtJ+kfyxFRRUQJ6fYfZUVDXoGw==; Received: from [10.45.33.53] (helo=SmtpCorp) by smtpcorp.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.91) (envelope-from ) id 1fq1V7-WxjwRQ-9M; Wed, 15 Aug 2018 19:30:37 +0000 Received: from [10.162.213.37] (helo=takodana.opaxus.net) by smtpcorp.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.91) (envelope-from ) id 1fq1V6-rlZDTd-GO; Wed, 15 Aug 2018 19:30:36 +0000 Received: from dagobah.opaxus.net (173-28-113-92.client.mchsi.com [173.28.113.92]) by takodana.opaxus.net (Postfix) with ESMTPSA id 16E6111ABC; Wed, 15 Aug 2018 14:30:34 -0500 (CDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: RPI3 swap experiments (grace under pressure) From: Jedi Tek'Unum In-Reply-To: <20180815125513.GT97145@funkthat.com> Date: Wed, 15 Aug 2018 14:30:34 -0500 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20180813021226.GA46750@www.zefox.net> <0D8B9A29-DD95-4FA3-8F7D-4B85A3BB54D7@yahoo.com> <20180813185350.GA47132@www.zefox.net> <20180814014226.GA50013@www.zefox.net> <02fe39af-a02c-fb6a-70b0-da3b7fd06c22@goodgas.com.au> <20180814213107.GA51051@www.zefox.net> <20180815125513.GT97145@funkthat.com> To: John-Mark Gurney X-Mailer: Apple Mail (2.3445.9.1) X-Smtpcorp-Track: 1fq1V6r_ZDTdGO.dD9d83zT- Feedback-ID: 207158m:207158azGM_-I:207158s4k39g8-gK:SMTPCORP X-Report-Abuse: Please forward a copy of this message, including all headers, to X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2018 19:30:40 -0000 On Aug 15, 2018, at 7:55 AM, John-Mark Gurney wrote: >=20 > Jedi Tek'Unum wrote this message on Tue, Aug 14, 2018 at 17:17 -0500: >> I have one question??? when was the last time anyone saw Solaris kill = a process because the system was under memory stress? In my experience, = NEVER! And I wouldn???t say that the system became unreasonably = unresponsive either. >=20 > At least for Solaris 2.5, they would not allow overallocation of = swap... > If you had pages that could be modified, you had to have enough swap > storage to store a copy of those pages... If you didn't, you'd get an > out of memory error when trying to allocate the memory, such as = forking, > sbrk or mmap'ing... That=E2=80=99s an entirely different situation. The process that wants = the memory gets the error from a syscall. The only =E2=80=9Ccrime=E2=80=9D that the OOM killer victim has is that = it was selected because of its state. Gets no chance to do anything = useful - just boom, gone.