Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261953AbTHTNKk (ORCPT ); Wed, 20 Aug 2003 09:10:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261957AbTHTNKk (ORCPT ); Wed, 20 Aug 2003 09:10:40 -0400 Received: from 81-2-122-30.bradfords.org.uk ([81.2.122.30]:36225 "EHLO 81-2-122-30.bradfords.org.uk") by vger.kernel.org with ESMTP id S261953AbTHTNKj (ORCPT ); Wed, 20 Aug 2003 09:10:39 -0400 Date: Wed, 20 Aug 2003 14:22:26 +0100 From: John Bradford Message-Id: <200308201322.h7KDMQga000797@81-2-122-30.bradfords.org.uk> To: linux-kernel@vger.kernel.org, spiridonov@gamic.com Subject: Re: how to turn off, or to clear read cache? Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 525 Lines: 14 > 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. John. - 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/