Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261957AbTHTNbc (ORCPT ); Wed, 20 Aug 2003 09:31:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261961AbTHTNbc (ORCPT ); Wed, 20 Aug 2003 09:31:32 -0400 Received: from main.gmane.org ([80.91.224.249]:34268 "EHLO main.gmane.org") by vger.kernel.org with ESMTP id S261957AbTHTNbb (ORCPT ); Wed, 20 Aug 2003 09:31:31 -0400 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: mru@users.sourceforge.net (=?iso-8859-1?q?M=E5ns_Rullg=E5rd?=) Subject: Re: how to turn off, or to clear read cache? Date: Wed, 20 Aug 2003 15:31:32 +0200 Message-ID: References: <200308201322.h7KDMQga000797@81-2-122-30.bradfords.org.uk> <3F437646.4050107@gamic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux) Cancel-Lock: sha1:pJ/ogtCcwn+3CnBe/zymhTQeXFE= Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 669 Lines: 21 Sergey Spiridonov writes: >>> I need to make some performance tests. I need to switch off or to >>> clear read cache, so that consequent reading of the same file will >>> take the same amount of time. >>> >>>Is there an easy way to do it, without rebuilding the kernel? >> Unmount and remount the filesystem. > > > Would > > # mount -o remount > > do the job? no -- M?ns Rullg?rd mru@users.sf.net - 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/