Re: horrible disk thorughput on itanium

From: Andi Kleen (ak@suse.de)
Date: Thu Dec 06 2001 - 17:13:40 EST


Andrew Morton <akpm@zip.com.au> writes:
>
> The fact that you get the same throughput on each platform with
> the block I/O part of the test indicates that the hardware and
> kernel are OK, but the C library is broken.

The usual difference is if you have a pthreads capable C library
or not. For newer glibc bonnie++ should definitely use
putc_unlocked(); otherwise it'll eat lock overhead for each character
to take the FILE lock.

As far as I can see bonnie++ doesn't use putc_unlocked, but putc.

With libc5 it likely would magically get a lot faster @)

-Andi
-
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/



This archive was generated by hypermail 2b29 : Fri Dec 07 2001 - 21:00:35 EST