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 EE0231381F3 for ; Thu, 22 Nov 2012 21:24:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1BB96E0517; Thu, 22 Nov 2012 21:24:05 +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 C93CA21C057 for ; Thu, 22 Nov 2012 21:22:43 +0000 (UTC) Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 65F2C21707 for ; Thu, 22 Nov 2012 16:22:43 -0500 (EST) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute6.internal (MEProxy); Thu, 22 Nov 2012 16:22:43 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=binarywings.net; h=message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type; s=mesmtp; bh=Du9xhRkJZiM0NYDWACHM+1mQ cUA=; b=J6jqUYgxjsotXL/DF4Ut9BhNtRHH0q8rZO6AsTKlxNqgqz6AMBe704Hx mjh/wNjCXYC/8kc4inV6nd/J0keBZw8Q6822UrqJyubWUdEqhwT48OwY0NkWU3pa EdhvaDbPmQ9PY2Yy/kMLsepslD6HVNOZ9TZ9Zac/ApqL+HfJ2Bw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type; s=smtpout; bh=Du9x hRkJZiM0NYDWACHM+1mQcUA=; b=hbokO5XrQ44rvp4QNcLD9SUR8vYs3nHcYwEu Xfpwhk1zwyzlf65WMYenNvHLRjrdSm6Owm2sveFE0ZYvtutNcU835hupUxMPQW4Y Vm/h6MbkiSZp8Hnj5U5XIGtgBIe392EZ7oPBlzH8HqwmGZXCMvA5HF0PMDCVWir3 SqGQwMI= X-Sasl-enc: XhroSmh0QiG0sk/DoCymdPwu2UKWuY7F1raoWsKmOevb 1353619362 Received: from [192.168.5.18] (unknown [83.169.5.6]) by mail.messagingengine.com (Postfix) with ESMTPA id E52618E0566 for ; Thu, 22 Nov 2012 16:22:41 -0500 (EST) Message-ID: <50AE979A.8050105@binarywings.net> Date: Thu, 22 Nov 2012 22:22:34 +0100 From: Florian Philipp User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121117 Thunderbird/10.0.10 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@lists.gentoo.org Subject: Re: [gentoo-user] zcache + frontswap + cleancache: Am I missing something? References: <50A92BFD.5020605@binarywings.net> <50AA7187.20400@fastmail.co.uk> <50AA87E7.6010806@binarywings.net> <50AA915D.7030405@fastmail.co.uk> In-Reply-To: <50AA915D.7030405@fastmail.co.uk> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD9A5E02C51D67BA8B35CD3DA" X-Archives-Salt: dbc2fa36-71a3-4b7c-baf6-0a92fc70fa0d X-Archives-Hash: be98f421d6595c6aa4f481590a70e683 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD9A5E02C51D67BA8B35CD3DA Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Am 19.11.2012 21:06, schrieb Kerin Millar: > Florian Philipp wrote: >> Am 19.11.2012 18:51, schrieb Kerin Millar: >>> Florian Philipp wrote: >>>> 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. >>> It might be that you have enabled some of these options as loadable >>> modules: CONFIG_ZCACHE, CONFIG_CLEANCACHE and CONFIG_FRONTSWAP. If so= , >>> build them directly into the kernel image instead. >>> >>> Cheers, >>> >>> --Kerin >>> >> >> You cannot build these as modules. Anyway, I'm recompiling right now >> with debugfs and configfs. Let's see if that tells me anything. >> >> Regards, >> Florian Philipp >> >=20 > Ah, good to know. I know that it was possible in some older kernels - > while the feature was still in staging - but it must have since been fi= xed. >=20 > --Kerin >=20 Okay, fixed my issue. Turns out, you need to add a "zcache" kernel parameter. Too bad there is no doc on this parameter. Regards, Florian Philipp --------------enigD9A5E02C51D67BA8B35CD3DA 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/ iEYEARECAAYFAlCul54ACgkQqs4uOUlOuU9ljQCcCk/Gvj/nV8Xo2TuMR+iOUt65 W1kAnjclBvWMvrnBhuqH5OoOFQSrrzeZ =huIr -----END PGP SIGNATURE----- --------------enigD9A5E02C51D67BA8B35CD3DA--