From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932386AbbFRMSv (ORCPT ); Thu, 18 Jun 2015 08:18:51 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:33586 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932276AbbFRMSc (ORCPT ); Thu, 18 Jun 2015 08:18:32 -0400 Date: Thu, 18 Jun 2015 21:17:46 +0900 From: Sergey Senozhatsky To: Minchan Kim Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Sergey Senozhatsky , Sergey Senozhatsky Subject: Re: [RFC][PATCH v3 0/7] introduce automatic pool compaction Message-ID: <20150618121746.GB518@swordfish> References: <1434628004-11144-1-git-send-email-sergey.senozhatsky@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434628004-11144-1-git-send-email-sergey.senozhatsky@gmail.com> User-Agent: Mutt/1.5.23+89 (0255b37be491) (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Minchan, FYI, I re-done the test (untouched almost_empty waterline). Kernel log test started [ 788.064886] test ended [ 4025.914190] test (doing `cp' in parallel): (a) for i in {1..X}; do cp -R ~/git .; sync; rm -fr git/; done # compiled kernel, with object files. 2.2G (b) for i in {1..X}; do cp -R ~/linux/ .; sync; rm -fr linux/; done (c) for i in {1..X}; do cp -R ~/glibc/ .; sync; rm -fr glibc/; done Minimal si_meminfo(&si)->si.freeram observed on the system was: 6390 cat /sys/block/zram0/stat 31253 0 250024 316 12281689 0 98253512 141263 0 141590 141763 cat /sys/block/zram0/mm_stat 3183374336 2105262569 2140762112 0 2821394432 1864 358173 The results are: compaction nr:2335 (full:953 part:60956) ratio: 0.01539 (~1.53% of classes were fully compacted) More or less same numbers. -ss