public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Florian Philipp <lists@binarywings.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] zcache + frontswap + cleancache: Am I missing something?
Date: Thu, 22 Nov 2012 22:22:34 +0100	[thread overview]
Message-ID: <50AE979A.8050105@binarywings.net> (raw)
In-Reply-To: <50AA915D.7030405@fastmail.co.uk>

[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]

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
>>
> 
> 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 fixed.
> 
> --Kerin
> 

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

      reply	other threads:[~2012-11-22 21:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-18 18:42 [gentoo-user] zcache + frontswap + cleancache: Am I missing something? Florian Philipp
2012-11-19 17:51 ` Kerin Millar
2012-11-19 19:26   ` Florian Philipp
2012-11-19 20:06     ` Kerin Millar
2012-11-22 21:22       ` Florian Philipp [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50AE979A.8050105@binarywings.net \
    --to=lists@binarywings.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox