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:	Wed, 8 Nov 2006 13:58:25 +0100
From:	"Hesse, Christian" <mail@...thworm.de>
To:	"Yakov Lerner" <iler.ml@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: invalidate/drop filesystem caches & io buffers

On Wednesday 08 November 2006 13:53, Yakov Lerner wrote:
> I'd like to invalidate/free the filesystem caches and io buffer cache
> How can I do this when I can't unmount the filesystem (and w/o reboot) ?
>
> (I run filesystem I/O test that needs to  start from fresh  cache &
> buffer state -- as emty as possible, like right after mount/boot).
>
> I tried  'mount -o remount' but it didn't make any difference
> on the timing. Apparently 'mount -o remount' did not invalidate
> cases/buffers ? ( The difference between fresh run vs non-fresh
> run timing is x5 times ).

You can do

echo 3 > /proc/sys/vm/drop_caches

Take a look at filesystems/proc.txt for details.
-- 
Regards,
Christian

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ