From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-178353-garchives=archives.gentoo.org@lists.gentoo.org>
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 0CE9F139694
	for <garchives@archives.gentoo.org>; Thu, 25 May 2017 22:37:11 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 51420E0E72;
	Thu, 25 May 2017 22:37:01 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id ED176E0BE7
	for <gentoo-user@lists.gentoo.org>; Thu, 25 May 2017 22:37:00 +0000 (UTC)
Received: from katipo2.lan (unknown [203.86.205.69])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: kentnl)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 853DB34168E
	for <gentoo-user@lists.gentoo.org>; Thu, 25 May 2017 22:36:59 +0000 (UTC)
Date: Fri, 26 May 2017 10:36:40 +1200
From: Kent Fredric <kentnl@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] tmp on tmpfs
Message-ID: <20170526103640.4bc8b4e5@katipo2.lan>
In-Reply-To: <20170524154545.3a09280850fe590357325959@gentoo.org>
References: <20170524051002.12325.12B52329@matica.foolinux.mooo.com>
	<CAGfcS_mNnhQ-Ek71FOpCTFGFdG7yN+eDG6ACz3H9k9=W2xXf+w@mail.gmail.com>
	<20170524154545.3a09280850fe590357325959@gentoo.org>
Organization: Gentoo
X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/bFsaz6e_JJ=n7DeRXVVPJrX"; protocol="application/pgp-signature"
X-Archives-Salt: 6d8f698c-c037-4f6d-ae8b-7e4bc7a7b1b5
X-Archives-Hash: 4c07dfe8a8d1677bae8959b833160f20

--Sig_/bFsaz6e_JJ=n7DeRXVVPJrX
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Wed, 24 May 2017 15:45:45 +0300
Andrew Savchenko <bircoph@gentoo.org> wrote:

> - smaller CPU overhead: not every i/o is being compressed, e.g. if
> there is sill enough RAM available it is used without compression
> overhead as usual, but if memory is not enough, swapped out pages
> are being compressed instead of swapping out to disk;

I found the opposite problem somehow. CPU started becomming frequently pegg=
ed
in zswap for no obvious reason, while the underlying IO that zswap was doing
was only measurable in kb/s , far, far, far below the noise thresholds and
by no means a strain on even my crappy spinning rust based swap.

And to add to that, zswap introduced general protection faults and kernel p=
anics.

So nah, I'm glad I turned that off, it was a huge mistake.

--Sig_/bFsaz6e_JJ=n7DeRXVVPJrX
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEPZazbI/qrFT1o9rn6FQySxNmqCAFAlknXIUACgkQ6FQySxNm
qCCioBAAsM6qIsV5kPhojZSp9vF4mKfFwXwBxEw5q4zg3EQQvT3hxPU4qBOheA1L
BNAjxfVmEHnXHLDDuAniGTqwItCpsBnemVB+WUHE1s2vG3p7h8Z3/ukTYf5iZe1o
oP/Icnq/B5M3HR+hDazazw1nWE837DpeJa5k1GDYS5yxEXZV8f/uGrZC/xoI01wq
QIlDbW+093T1WhPZ7ErfBQCCiN7vzsYnZqFCKIUlq6ghfhw+Gd9+MaK31qb4j/UO
D0wV16pknkh5yh5jlD76WiUB0LDg+FmHwUKppmcGq0BN1EN/Ab2ETfIz6OjfdDpq
W2QGs7b5T0EBOmGXdDgJcaCb/Uaxzh1HGYUBaZwk8g99yVlzea3lp7UYEOQA1Nsn
xYJMc7D0lh8oQYboEjttzx/NHVhu0M8rXSdDpozNCAne8q+c2zaA1iHS0uyYNiUK
qBkfIs0EhDg9J0iKQv7b0hSqsAnFOT9aRSz2NgML6Njm8rpIgfOPUcaN9zg+dWEH
JhFJxGvQQ/t0Jltz8tTtVwJLmmEjdN17FScBTNDMcJGNTw6rdguqgyMCYplzYbDX
qo8Ky7utra5V6GqwEQbbF6oHwINBe/aAg5GCTgI4W6xWIQBWT9+mL09diZ7nSsy8
OotMGrahQBTMiRtozPIwPloMLcvEaikueqk8lehvRVzaidU+bis=
=VW0G
-----END PGP SIGNATURE-----

--Sig_/bFsaz6e_JJ=n7DeRXVVPJrX--