Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 07-03-2009, 02:59 AM   #16
Senior Member
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,290

Rep: Reputation: 102Reputation: 102
Unhappy Unable to find file /proc/sys/vm/drop_caches

I am unable to find this file /proc/sys/vm/drop_caches on Red Hat Enterprise Linux AS release 3 (Taroon Update 5)

[root@ussdcluster1 vm]# sync; echo 3 > /proc/sys/vm/drop_caches
-bash: /proc/sys/vm/drop_caches: No such file or directory

[root@ussdcluster1 vm]# ls -l /proc/sys/vm/drop_caches
ls: /proc/sys/vm/drop_caches: No such file or directory
I need to clear cache mem which is in bold.

[root@ussdcluster1 vm]# free -m
             total       used       free     shared    buffers     cached
Mem:          3936       3915         20          0        221       3051
-/+ buffers/cache:        643       3293
Swap:         6000          0       6000
I know this is not a problem actually, But as per customer requirement I need to do this
Old 03-05-2011, 12:32 AM   #17
LQ Newbie
Registered: Dec 2010
Posts: 6

Rep: Reputation: 0
about O_DIRECT option of bonnie

Originally Posted by trailman View Post
Yes, you're right ! ... and at the end I used bonnie++ 1.03e for my bench.
I've used the option for the O_DIRECT mode
I get nearly the same bench results than with my previous bench script.
Hi, it seems that bonnie++ doesn't have O_DIRECT mode, how did you do that ??
Old 07-09-2013, 11:33 AM   #18
LQ Newbie
Registered: Jul 2013
Posts: 1

Rep: Reputation: Disabled
Sorry for digging this out, but this might be useful for the future generations. If you use dd for testing bandwidth, you should use the 'direct' flag to bypass filesystem cache, so an example dd would be like this:

dd if=$FILENAME of=/dev/zero bs=$BLOCKSIZE count=$BLOCKCOUNT iflag=direct


cache, filesystem

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
disable cache in browser ? ini_hendry Linux - Server 1 01-15-2008 03:43 PM
Disable Cache ?? Ameii83 Linux - Server 5 11-28-2006 08:12 PM
how-to disable cache squid paul_mat Linux - Networking 2 12-21-2005 11:32 PM
clear or disable file cache acristescu Linux - General 3 11-04-2005 10:25 AM
Is it possible to disable the disk cache? sunsfcn Linux - Software 3 07-15-2005 09:20 PM

All times are GMT -5. The time now is 03:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration