From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 70E3B138350 for ; Fri, 1 May 2020 21:49:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23061E09C6; Fri, 1 May 2020 21:49:27 +0000 (UTC) Received: from gw1.antarean.org (gw1.antarean.org [194.145.200.214]) by pigeon.gentoo.org (Postfix) with ESMTP id B2A97E0963 for ; Fri, 1 May 2020 21:49:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gw1.antarean.org (Postfix) with ESMTP id 49DQVS2gh2z14R1 for ; Fri, 1 May 2020 23:33:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at antarean.org Received: from gw1.antarean.org ([127.0.0.1]) by localhost (gw1.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xWDK1VZWCHYy for ; Fri, 1 May 2020 23:33:51 +0200 (CEST) Received: from mailstore1.antarean.org (localhost [127.0.0.1]) by gw1.antarean.org (Postfix) with ESMTP id 49DQVR6PrTz10JF for ; Fri, 1 May 2020 23:33:51 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailstore1.antarean.org (Postfix) with ESMTP id 49DQrN4cVzz15 for ; Fri, 1 May 2020 23:49:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at antarean.org Received: from mailstore1.antarean.org ([127.0.0.1]) by localhost (mailstore1.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E05xLsFRSiJJ for ; Fri, 1 May 2020 23:49:24 +0200 (CEST) Received: from lan102.nl.antarean.org (lan102.nl.antarean.org [10.20.13.202]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mailstore1.antarean.org (Postfix) with ESMTPSA id 49DQrN2PL4z13 for ; Fri, 1 May 2020 23:49:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=antarean.org; s=default; t=1588369764; bh=1ReB7f6cXx8uIttccniJsm2GzW1SnPoIOQfUd022hp0=; h=Date:In-Reply-To:References:Subject:To:From; b=ACXKKMfD11h/G+PmT9HPplTkQcNItnugQIejnEVNZKYtYFo0v+3oHcRIEoMx2hgIF fWmdQH4kESk/sL88WA951fBRyTYerkdBpJTU5+1dtRnaptnHHXf6nrDkPh9Oi21ijj muaufWoMPGHkYA8xxjpBuv0ek8O899tQ6M91Wi/0= Date: Fri, 01 May 2020 23:49:21 +0200 User-Agent: K-9 Mail for Android In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [gentoo-user] 32GB RAM and Swap To: gentoo-user@lists.gentoo.org From: "J. Roeleveld" Message-ID: <43D95602-B7B7-453D-AA24-42C96530CA55@antarean.org> X-Archives-Salt: caa48072-04c2-4edb-ae27-4a042f14cd10 X-Archives-Hash: adfd958fe76295990d37fb525a5f194a On 1 May 2020 21:50:02 CEST, Raphael MD wrote: >Hello! > >Could I turn my Linux swap off=2E >I have 32 GB of RAM memory, I suppose my system don=E2=80=99t need swap, >because >I=E2=80=99vea lot of RAM, is this true? > >Thanks This question keeps getting asked every time people go past some imaginary= large figure of RAM=2E First time I encountered it was somewhere in the 1990s=2E A friend had a m= achine with 64MB ram, a massive amount at that time, and disabled all swap= =2E He was surprised his machine crashed because of memory issues, until I ask= ed what he was running=2E The list included several memory intensive applic= ations=2E He never asked that again and adds it to all his machines=2E My desktop has 32GB and also has some swap=2E I do regularly see it used a= nd not because of memory leaks like Dale is mentioning, although those do a= ppear on occasion=2E On my desktop it's mostly because I have a lot of stuf= f running the whole time=2E So, yes, you still need swap and always will=2E Unless you put about 10 ti= mes the current magical figure in a desktop=2E In my view, that would be 32= 0GB for now, and in another 5 years, that would be around 640GB=2E When you have that level of overkill in a desktop, I will not consider OOM= to be likely=2E -- Joost --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E