Re: Flushing RAM contents?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Feb 11, 2008 at 03:05:10PM -0500, Scott Ehrlich wrote:
> A user wants to time a command/program/application and ensure the full 
> contents of that command's data management has been flushed from RAM/cache 
> and saved to disk.  Is there a way to ensure the cache/RAM is flushed to 
> disk, or is the flushing a function of the kernel or the application?
> 
Besides sync, look for sync at mount manpage, sync or write in chattr manpage
as well as man fsync, fdatasync

Also, for timing programs, kernel documentation of
/proc/sys/vm/drop_caches in filesystems/proc.txt
will be useful.

Wojtek

> This happens to be on a 64-bit Intel system with 64-bit CentOS 5, fully 
> patched.   But even if the system were an out-of-box 64-bit install, 
> unpatched, would it make a difference?
> 
> Thanks.
> 
> Scott
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux