Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964957AbWA0IGv (ORCPT ); Fri, 27 Jan 2006 03:06:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964968AbWA0IGv (ORCPT ); Fri, 27 Jan 2006 03:06:51 -0500 Received: from ns.virtualhost.dk ([195.184.98.160]:2566 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S964957AbWA0IGu (ORCPT ); Fri, 27 Jan 2006 03:06:50 -0500 Date: Fri, 27 Jan 2006 09:09:03 +0100 From: Jens Axboe To: Hans Reiser Cc: Edward Shishkin , LKML , Reiserfs mail-list Subject: Re: random minor benchmark: Re: Copy 20 tarfiles: ext2 vs (reiser4, unixfile) vs (reiser4,cryptcompress) Message-ID: <20060127080903.GT4311@suse.de> References: <43D7C6BE.1010804@namesys.com> <43D7CA7F.4010502@namesys.com> <20060126153343.GH4311@suse.de> <43D91225.3030605@namesys.com> <20060126185612.GM4311@suse.de> <43D933EB.6080009@namesys.com> <43D9CF3C.9070706@namesys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43D9CF3C.9070706@namesys.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1057 Lines: 32 On Thu, Jan 26 2006, Hans Reiser wrote: > Edward Shishkin wrote: > > > > > I guess this is because real compression is going in background > > flush, not in sys_write->write_cryptcompress (which just copies > > user's data to page cache). So in this case we have something > > very similar to ext2. Reiser4 plain write (write_unix_file) is > > more complex, and currently we try to reduce its sys time. > > > > Edward. > > > > > > > > > Which means that only real time is a meaningful measurement..... Indeed. I guess the compression stuff cost is hard to quantify, since it has cache effects on the rest of the system in addition to costing CPU cycles on its own. A profile of, say, dbench with and without compression would be interesting to see. And the actual dbench reults, naturally :-) -- Jens Axboe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/