Re: Quad core CPUs loaded at only 50% when running a CPU and mmapintensive multi-threaded task

From: Peter Zijlstra
Date: Mon Aug 25 2008 - 06:36:35 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/