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

Peter Zijlstra
2008-08-25T10:36:35Z

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() ?