Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263325AbUACNj5 (ORCPT ); Sat, 3 Jan 2004 08:39:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263357AbUACNj5 (ORCPT ); Sat, 3 Jan 2004 08:39:57 -0500 Received: from mailout01.sul.t-online.com ([194.25.134.80]:52205 "EHLO mailout01.sul.t-online.com") by vger.kernel.org with ESMTP id S263325AbUACNj4 (ORCPT ); Sat, 3 Jan 2004 08:39:56 -0500 Date: Sat, 3 Jan 2004 14:39:46 +0100 From: Tobias Diedrich To: linux-kernel@vger.kernel.org Subject: Re: Strange IDE performance change in 2.6.1-rc1 (again) Message-ID: <20040103133945.GB396@melchior.yamamaya.is-a-geek.org> Mail-Followup-To: Tobias Diedrich , linux-kernel@vger.kernel.org References: <200401021658.41384.ornati@lycos.it> <3FF5B3AB.5020309@wmich.edu> <200401022200.22917.ornati@lycos.it> <20040103033327.GA413@melchior.yamamaya.is-a-geek.org> <200401030415.i034FJoc006230@turing-police.cc.vt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200401030415.i034FJoc006230@turing-police.cc.vt.edu> X-GPG-Fingerprint: 7168 1190 37D2 06E8 2496 2728 E6AF EC7A 9AC7 E0BC X-GPG-Key: http://studserv.stud.uni-hannover.de/~ranma/gpg-key User-Agent: Mutt/1.5.4i X-Seen: false X-ID: TzmEL8ZdZeOAht9x528jXc8r59-wyACkTv6ZFW+LjFB+QA2OngtBoK@t-dialin.net Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 686 Lines: 17 Valdis.Kletnieks@vt.edu 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... -- Tobias PGP: http://9ac7e0bc.2ya.com This mail is made of 100% recycled bits. - 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/