Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261946AbTHTNXY (ORCPT ); Wed, 20 Aug 2003 09:23:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261949AbTHTNXY (ORCPT ); Wed, 20 Aug 2003 09:23:24 -0400 Received: from moutng.kundenserver.de ([212.227.126.185]:26598 "EHLO moutng.kundenserver.de") by vger.kernel.org with ESMTP id S261946AbTHTNXX (ORCPT ); Wed, 20 Aug 2003 09:23:23 -0400 Message-ID: <3F437646.4050107@gamic.com> Date: Wed, 20 Aug 2003 15:23:18 +0200 From: Sergey Spiridonov User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030714 Debian/1.4-2 X-Accept-Language: en MIME-Version: 1.0 To: John Bradford CC: linux-kernel@vger.kernel.org Subject: Re: how to turn off, or to clear read cache? References: <200308201322.h7KDMQga000797@81-2-122-30.bradfords.org.uk> In-Reply-To: <200308201322.h7KDMQga000797@81-2-122-30.bradfords.org.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 664 Lines: 27 John Bradford wrote: >>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? I'm not able to unmount and remount. -- Best regards, Sergey Spiridonov - 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/