Re: horrible disk thorughput on itanium

Linus Torvalds (torvalds@transmeta.com)
Fri, 7 Dec 2001 06:15:50 +0000 (UTC)


In article <Pine.LNX.4.33.0112070710120.747-100000@mikeg.weiden.de>,
Mike Galbraith <mikeg@wen-online.de> wrote:
>
>> Andrew Morton <akpm@zip.com.au> writes:
>>
>> As far as I can see bonnie++ doesn't use putc_unlocked, but putc.
>
>Plain old Bonnie suffered from the same thing. I long ago made it
>use putc_unlocked() here because throughput was horrible otherwise.

Oh, yeah, blame it on bonnie.

"Our C library 'putc' is horribly sucky"

"Well, then, use something else then".

Isn't somebody ashamed of glibc and willing to try to fix it? It might
be as simple as just testing a static flag "have I used pthread_create"
or even a function pointer that gets switched around at pthread_create..

"putc()" is a standard function. If it sucks, let's get it fixed. And
instead of changing bonnie, how about pinging the _real_ people who
write sucky code?

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