From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 97E511381F3 for ; Sun, 18 Nov 2012 18:43:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE83C21C121; Sun, 18 Nov 2012 18:43:30 +0000 (UTC) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CD60121C009 for ; Sun, 18 Nov 2012 18:42:15 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 71F4520717 for ; Sun, 18 Nov 2012 13:42:15 -0500 (EST) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute3.internal (MEProxy); Sun, 18 Nov 2012 13:42:15 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=binarywings.net; h=message-id:date:from:mime-version:to:subject:content-type; s= mesmtp; bh=W2reLeKGZvwM/bxGQ7b7smFHLbo=; b=MiNluh6SEMF5TKvDdZ9zD X37kpZGJpDUVXrcZ6B6XMYGZRLdPBO6GkrBj2nhnlpItxfFfndCyH7R7MpZVIPdo 2kDh9Cql+TO1nCQ8SRcCz7HVrC/ZbKWd2s+CMIdNI1785b2HM5p9DElqLzEq4psf bqHwXCckvHKIK2WQxONcOg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:content-type; s=smtpout; bh=W2reLeKGZvwM/bxGQ7b7smFHLbo =; b=iA1R6n80kypPOVVdVcx+vRzP3q4wQ9etZ/wsC9erndXPNpBa78nh/pXa1yP cXMCYahOFERyxpSqCksHNMy39juu16oJNjgGYsHXLg0WEMCRmRhXlsVFO2lsR/UW qAzf5Kyv/CVYAHQL0FA50VH1SqHk49xsCKBD9jGU70Y9O9Rs= X-Sasl-enc: rQJhsK+gfdzesxa6oR9zb7d1eKpOGFJ8FIYNXdYCwA4q 1353264134 Received: from [192.168.5.18] (unknown [83.169.5.6]) by mail.messagingengine.com (Postfix) with ESMTPA id DD3898E0549 for ; Sun, 18 Nov 2012 13:42:13 -0500 (EST) Message-ID: <50A92BFD.5020605@binarywings.net> Date: Sun, 18 Nov 2012 19:42:05 +0100 From: Florian Philipp User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.9) Gecko/20121027 Thunderbird/10.0.9 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 MIME-Version: 1.0 To: Gentoo User List Subject: [gentoo-user] zcache + frontswap + cleancache: Am I missing something? X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE96D07CC8F2D6DF347C4B731" X-Archives-Salt: 0b9b5024-fe85-4742-8fa3-424030e82231 X-Archives-Hash: 1c39acda197b4d40300b4db3902ce273 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE96D07CC8F2D6DF347C4B731 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hi list! I'm wondering about the usage of frontswap and cleancache. Now that all pieces are in place in kernel-3.5, is it actually used? I've found references to cleancache and frontswap in several source files of the kernel (ext4, swapfile, page_io, ...). /sys/kernel/mm/zcache is also present but seems to indicate no usage at all. Content attached below. So, what is the state of all this? Should it work? Does it work? Am I missing a kernel parameter or something? Content of /sys/kernel/mm/zcache: compress_poor: 0 curr_obj_count: 0 curr_obj_count_max: 0 curr_objnode_count: 0 curr_objnode_count_max: 0 evicted_buddied_pages: 0 evicted_raw_pages: 0 evicted_unbuddied_pages: 0 failed_alloc: 0 failed_eph_puts: 0 failed_get_free_pages: 0 failed_pers_puts: 0 flobj_found: 0 flobj_total: 0 flush_found: 0 flush_total: 0 mean_compress_poor: 0 put_to_flush: 0 zbpg_unused_list_count: 0 zbud_buddied_count: 0 zbud_cumul_chunk_counts: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 <=3D21:0 <=3D32:0 <=3D42:0, mean:0 zbud_cumul_zbytes: 0 zbud_cumul_zpages: 0 zbud_curr_raw_pages: 0 zbud_curr_zbytes: 0 zbud_curr_zpages: 0 zbud_unbuddied_list_counts: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 zv_cumul_dist_counts: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 mean:0 zv_curr_dist_counts: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 mean:0 zv_max_mean_zsize: 2560 zv_max_zsize: 3584 zv_page_count_policy_percent: 75 Thanks in advance, Florian Philipp --------------enigE96D07CC8F2D6DF347C4B731 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlCpLAIACgkQqs4uOUlOuU+BxgCePZ0ujY0PE573EG1plhaTbdXl 32gAn2HRnNIdsS7efNbxmZPITOi0FY6h =ZNuA -----END PGP SIGNATURE----- --------------enigE96D07CC8F2D6DF347C4B731--