Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 13F2D37BABB for ; Mon, 29 Sep 2008 01:43:58 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 33038-05 for ; Mon, 29 Sep 2008 01:43:54 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by postgresql.org (Postfix) with ESMTP id 9F56837BA27 for ; Mon, 29 Sep 2008 01:43:54 -0300 (ADT) Received: by fg-out-1718.google.com with SMTP id 16so1932029fgg.23 for ; Sun, 28 Sep 2008 21:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=ysAgDX8ahJ2AhcmQEVLh5miUpUtQIrYH6pJuutDFsj8=; b=m8h3O8JRRFl09TekQlwGLnYPOWyH4kZTbfLJ0u3APS2U2ts5EQ+2DshGbqmApHCIu5 XvpsCke+SeAFT66zfClXxF204L46mYnxLW9X5PDyqYmpuKXhhrUKx/uAgKo00ucsMhOW BbhBLNQ25sdV3hEsVxWFgEyDaTJv9sEr9Ic48= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Wm8gNHkdxZNMmfeumc6xPEM3KlqyUwwrQMAOX8aXjH7bsSJWSO13yFv7iWOBt3SUk+ HTEbOY+7EKM65cPtdVIhvZjI1ByblYoSxN7yNZjMDWG+iq5cSD/4UKE7yWMn50H8hkUp 7cPidd8wYctScGCpLswd5z6/OPjtAwupKAHLo= Received: by 10.187.237.12 with SMTP id o12mr512693far.56.1222663432440; Sun, 28 Sep 2008 21:43:52 -0700 (PDT) Received: by 10.187.180.16 with HTTP; Sun, 28 Sep 2008 21:43:52 -0700 (PDT) Message-ID: Date: Mon, 29 Sep 2008 06:43:52 +0200 From: "Matthew Pulis" To: pgsql-admin@postgresql.org, pgsql-general@postgresql.org Subject: PostgreSQL Cache MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_57703_30188044.1222663432437" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200809/323 X-Sequence-Number: 30416 ------=_Part_57703_30188044.1222663432437 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I need to perform some timed testing, thus need to make sure that disk cache does not affect me. Is clearing the OS (Ubuntu) disk cache, ( by running: sudo echo 3 | sudo tee /proc/sys/vm/drop_caches ) enough to do this? If not can you please point me to some site please since all I am finding is such command. Thanks and regards Matthew -- Matthew Pulis URL : http://www.solutions-lab.net MSN : pulis_matthew[@]hotmail.com ICQ : 145951110 Skype : solutions-lab.net ------=_Part_57703_30188044.1222663432437 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi,

I need to perform some timed testing, thus need to make sure that disk cache does not affect me. Is clearing the OS (Ubuntu) disk cache, ( by running:  sudo echo 3 | sudo tee /proc/sys/vm/drop_caches ) enough to do this? If not can you please point me to some site please since all I am finding is such command.

Thanks and regards

Matthew

--
Matthew Pulis
URL : http://www.solutions-lab.net
MSN : pulis_matthew[@]hotmail.com
ICQ : 145951110
Skype : solutions-lab.net
------=_Part_57703_30188044.1222663432437--