[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1219664477.8515.54.camel@twins>
Date: Mon, 25 Aug 2008 13:41:17 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: edwin <edwintorok@...il.com>
Cc: Ingo Molnar <mingo@...e.hu>, rml@...h9.net,
Linux Kernel <linux-kernel@...r.kernel.org>,
"Thomas Gleixner mingo@...hat.com" <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>
Subject: Re: Quad core CPUs loaded at only 50% when running a CPU and mmap
intensive multi-threaded task
On Mon, 2008-08-25 at 14:00 +0300, edwin wrote:
> Peter Zijlstra wrote:
> > Right - does it make sense to teach clamav about pread() ?
>
> If it is preferred over mmap, then maybe yes.
I would certainly consider this for small (< 1M?) files. With mmap the
faults and pte overhead aren't free either, and the extra memcpy from
pread() isn't that much.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists