Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760193AbYJMUNK (ORCPT ); Mon, 13 Oct 2008 16:13:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757867AbYJMUKh (ORCPT ); Mon, 13 Oct 2008 16:10:37 -0400 Received: from 1-1-4-20a.ras.sth.bostream.se ([82.182.72.90]:40122 "EHLO amd.kenjo.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758645AbYJMUKf (ORCPT ); Mon, 13 Oct 2008 16:10:35 -0400 X-Greylist: delayed 3002 seconds by postgrey-1.27 at vger.kernel.org; Mon, 13 Oct 2008 16:10:34 EDT Subject: weird throughput on write to SATA disk From: kenneth johansson To: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: multipart/mixed; boundary="=-a5jEonHpEAcXePTd3coj" Date: Mon, 13 Oct 2008 21:19:50 +0200 Message-Id: <1223925629.3947.7.camel@duo> Mime-Version: 1.0 X-Mailer: Evolution 2.24.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8322 Lines: 128 --=-a5jEonHpEAcXePTd3coj Content-Type: text/plain Content-Transfer-Encoding: 7bit When writing data to /dev/sdb (that is the whole disk and no filesystem) it starts out ok around 100MB/sec but soon end up doing considerably worse. For prolonged times lasting several minutes it hovers in the 20-30MB/sec. This happens on two different SATA disk one samsung and one seagate and on both 2.6.26 and 2.6.27 kernel. The disk are connected to the external esata connector. Controller is 00:1f.2 SATA controller: Intel Corporation 82801HB (ICH8) 4 port SATA AHCI Controller (rev 02) What could be the reason for this ?? reading is no problem. --=-a5jEonHpEAcXePTd3coj Content-Disposition: attachment; filename="log.png" Content-Type: image/png; name="log.png" Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAAoAAAAHgCAMAAAACDyzWAAAB6VBMVEX///8AAACgoKD/AAAAwAAA gP/AAP8A7u7AQADu7gAgIMD/wCAAgEC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S7VI5vx+bP+kJj8cgAPPuz2P2y7VohsAbDvU9WOfM2UAbo0E 4G+MfQJAop5GASS6NgBSbBP+KLQD37+JiIiIiIiIiKivxrdk5G8wZVz9+cPw3rEHTts/5Y39d40v p+w59+QftIyVXbpPe/AOt9b4prT8FWXSx+7zh+GrY3aMnfRz19CuKZcbsTHu7Xi50o5zy51uXy6d 8tupD59yd61/lnu7Ih+PM5Urax072c+Np+2e8mR2aR0/YGzPck3+1cum3F/XYXunN8k/rUcAtLu0 j5/so66xXcvVD/DY5fbWcdipE5GsZo+E+QeTPvfdY0cA7Dm3vNwLsO+SZ/cHlrq99sNO+vFCgBtD 9p62c+wAgF3LdRjggSkfWeqOmg9r17VVwvwP85cA9i3X6+Wu5fp2gJP93DG99n/Sb093d4CdyzXZ B98NUA69f3c/rv68Z3z7WLn6jtMeGDslu1/beH/DOsbag+wf6xB1T7lzqbtqe3tR/9cA174RfeTd 0d6xHy/1zfjy7bNnucz/4KJ13vLbR8clHxlLRERERERERERERERERETf3X+79MxK3AqosAAAAABJ RU5ErkJggg== --=-a5jEonHpEAcXePTd3coj-- -- 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/