Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1945932AbWLVFjR (ORCPT ); Fri, 22 Dec 2006 00:39:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1945949AbWLVFjR (ORCPT ); Fri, 22 Dec 2006 00:39:17 -0500 Received: from ug-out-1314.google.com ([66.249.92.173]:30228 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1945932AbWLVFjQ (ORCPT ); Fri, 22 Dec 2006 00:39:16 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=B+RxTFgKAETSqiIETMXzAb83/ChhfmYSeApI6PRE6XBxym6mDWP1SBTgqpDe6MW2ozKfM0AIfwRn36oadfUmVV4yUuOtJwKp1OEHVN1oeSEbsyaDKyNDShYM40r2iW/t5KlgsQpm/DVgeGIz6AMX/VvIZVmJm32a5H7GsbcgRcs= Message-ID: <7d15175e0612212139p4fc2fd27x7acb3473701b2c35@mail.gmail.com> Date: Fri, 22 Dec 2006 11:09:14 +0530 From: "Bhanu Kalyan Chetlapalli" To: "Manish Regmi" Subject: Re: Linux disk performance. Cc: kernelnewbies@nl.linux.org, linux-kernel@vger.kernel.org In-Reply-To: <652016d30612212130v433b4e70uc2148278c7ee7198@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <652016d30612172007m58d7a828q378863121ebdc535@mail.gmail.com> <1166431020.3365.931.camel@laptopd505.fenrus.org> <652016d30612180439y6cd12089l115e4ef6ce2e59fe@mail.gmail.com> <20061218130702.GA14984@gateway.home> <652016d30612182222h7fde4ea5jbc0927c8ebeae76a@mail.gmail.com> <458788D7.2070107@yahoo.com.au> <652016d30612200317i6d33d097xe55971750e83cd97@mail.gmail.com> <7d15175e0612211614y3ce090fcn38cbcaced76b1024@mail.gmail.com> <652016d30612212130v433b4e70uc2148278c7ee7198@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1507 Lines: 38 On 12/22/06, Manish Regmi wrote: > On 12/22/06, Bhanu Kalyan Chetlapalli wrote: > > > > I am assuming that your program is not seeking inbetween writes. > > > > Try disabling the Disk Cache, now-a-days some disks can have as much > > as 8MB write cache. so the disk might be buffering as much as it can, > > and trying to write only when it can no longer buffer. Since you have > > an app which continously write copious amounts of data, in order, > > disabling write cache might make some sense. > > > > Thanks for the suggestion but the performance was terrible when write > cache was disabled. Performance degradation is expected. But the point is - did the anomaly, that you have pointed out, go away? Because if it did, then it is the disk cache which is causing the issue, and you will have to live with it. Else you will have to look elsewhere. > -- > --------------------------------------------------------------- > regards > Manish Regmi > > --------------------------------------------------------------- > UNIX without a C Compiler is like eating Spaghetti with your mouth > sewn shut. It just doesn't make sense. > -- There is only one success - to be able to spend your life in your own way. - 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/