From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: Strange vmstat output. 2.6.10 Scheduler? Date: Tue, 1 Feb 2005 11:49:49 +0100 Message-ID: <20050201104949.GM4137@suse.de> References: <20050201102638.GJ4137@suse.de> <20050201104214.GK4137@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Received: from ns.virtualhost.dk ([195.184.98.160]:36241 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S261979AbVBAKty (ORCPT ); Tue, 1 Feb 2005 05:49:54 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: "Catalin(ux aka Dino) BOIE" Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org On Tue, Feb 01 2005, Catalin(ux aka Dino) BOIE wrote: > >Well then that is why, the writes are taking quite a while to reach the > >platter. Nothing is wrong, the drive is just slow :-) > > > >-- > >Jens Axboe > > I don't know what to say because sometimes works really good. > bi=20000. The vmstat you showed had bi and bo at the same time, so it's not so surprising if bi often suffers if it is seeking all over the map to write out the big chunk submitted. How does it look with write cache enabled? > I'm fighting with this problem for 1 month now and I realy tried to > resolve the problem. If postgres uses fsync() properly, you should be safe with write cache enabled. > P.S. I tried also with cfq and see no improvement. Not surprising, there's not much the io scheduler can do for you here. -- Jens Axboe