Re: invoking zcache w/o using a workload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Mulyadi for your response.

zcache has cleancache (a third level page cache) and front swap(swap
cache). I am trying to trigger clean cache and now the swap device.
But my guess is reducing the memory should also cause these evictions
rapidly.

Thanks,
Asim

On Sun, Aug 12, 2012 at 11:56 PM, Mulyadi Santosa
<mulyadi.santosa@xxxxxxxxx> wrote:
> Hi...
>
> On Mon, Aug 13, 2012 at 3:58 AM, Asim <linkasim@xxxxxxxxx> wrote:
>> Is there a way I can trigger zcache_get/put (specifically clean cache)
>> with a simple unit test (as opposed to running a workload) ? This will
>> greatly reduce my test/build time.
>
> I am a new user of zcache (due to playing with recent Mint release).
>
> I got impression that by reducing mapped memory you have (using "mem="
> kernel parameter) and putting zram/zcache into high priority swap, is
> enough to quickly trigger allocation into zcache. of course, you need
> memory hogger for that, something like "tail -f /dev/zero".
>
> CMIIW if misunderstood you...
>
>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux