Re: Strange IDE performance change in 2.6.1-rc1 (again)

From: Tobias Diedrich
Date: Sat Jan 03 2004 - 15:58:43 EST


I wrote:

> Valdis.Kletnieks@xxxxxx wrote:
>
> > 'cat' is probably doing a stat() on stdout and seeing it's connected
> > to /dev/null and not even bothering to do the write() call. I've seen
> > similar behavior in other GNU utilities.
>
> I can't see any special casing for /dev/null in cat's source, but I
> forgot to check dd with bigger block size. It's ok with bs=4096...

However with 2.4 dd performs fine even with bs=512.

--
Tobias PGP: http://9ac7e0bc.2ya.com
Be vigilant!
np: PHILFUL3
-
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/