Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755906AbYHYKgf (ORCPT ); Mon, 25 Aug 2008 06:36:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753505AbYHYKg1 (ORCPT ); Mon, 25 Aug 2008 06:36:27 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:43710 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753157AbYHYKg1 (ORCPT ); Mon, 25 Aug 2008 06:36:27 -0400 Subject: Re: Quad core CPUs loaded at only 50% when running a CPU and mmap intensive multi-threaded task From: Peter Zijlstra To: =?ISO-8859-1?Q?T=F6r=F6k?= Edwin Cc: Ingo Molnar , rml@tech9.net, Linux Kernel , "Thomas Gleixner mingo@redhat.com" , "H. Peter Anvin" In-Reply-To: <48B287D8.1000000@gmail.com> References: <48B1CC15.2040006@gmail.com> <1219643476.20732.1.camel@twins> <48B25988.8040302@gmail.com> <1219656190.8515.7.camel@twins> <48B28015.3040602@gmail.com> <1219658527.8515.16.camel@twins> <48B287D8.1000000@gmail.com> Content-Type: text/plain; charset=utf-8 Date: Mon, 25 Aug 2008 12:36:22 +0200 Message-Id: <1219660582.8515.24.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 702 Lines: 16 On Mon, 2008-08-25 at 13:22 +0300, Török Edwin wrote: > Well, the real program (clamd) that this testprogram tries to simulate > does an mmap for almost every file, and I have lots of small files. > 6.5G, 114122 files, average size 57k. > > I'll run latencytop again, last time it has showed 100ms - 500ms latency > for clamd, and it was about mmap, I'll provide you with the exact output. Right - does it make sense to teach clamav about pread() ? -- 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/