lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 13 May 2008 18:58:16 +0200
From:	Soeren Sonnenburg <kernel@....de>
To:	Alejandro Riveira Fernández 
	<ariveira@...il.com>, "Carlos R\. Mafra" <crmafra2@...il.com>
Cc:	Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: how to empty buffers/cache?

On Sat, 2008-05-10 at 00:11 +0200, Alejandro Riveira Fernández wrote:
> El Fri, 09 May 2008 21:49:47 +0000
> Soeren Sonnenburg <kernel@....de> escribió:
> 
> > Dear all,
> > 
> > I am trying to perform some benchmarks that involve reading the same big
> > file a couple of times from disk. However I would want to make sure that
> > the file is not buffered/cached by the kernel when I read the file a
> > second/third/etc time.
> > 
> > Is there a way (except rebooting/unmounting the disk) to clear the
> > buffers?
> 
>  echo 3  > /proc/sys/vm/drop_caches IIRC

thank you both very much ( echo 3 > ... is what I was looking for)

Soeren
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ