LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-25-2008, 06:05 AM   #31
Lemjs
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0

The problem with reading large files (dd if=/dev/sda) and running updatedb (stating lots of inodes), is that the contents of running executeable files will be invalidated in the system block cache. Nothing will be written to swap, but they will be read from disk, from the executable file or library, when you need to access those executables again.

I'm not noticing any problems with tar after doing a dd if=/dev/zero
 
Old 05-28-2009, 07:28 AM   #32
NiN3Toes
LQ Newbie
 
Registered: Jan 2008
Location: Round Lake, IL
Distribution: PC Linux OS
Posts: 4

Rep: Reputation: 0
I found this to help:

sudo sync
sudo echo 3 | sudo tee /proc/sys/vm/drop_caches

or

http://www.hdfgroup.org/HDF5/faq/linux-mem.html

I run Ubuntu and found my system to run choppy with 2 gb of memory almost being used or cached somewhere. This command helps me big time.

Last edited by NiN3Toes; 05-28-2009 at 07:35 AM.
 
Old 04-01-2011, 01:17 AM   #33
shiv.singh
LQ Newbie
 
Registered: May 2009
Posts: 16

Rep: Reputation: 0
Smile clear cached

I ave tried this and it worked fine for me.

sync; echo 3 > /proc/sys/vm/drop_caches

Rgards,
Shiv
 
Old 04-02-2011, 12:56 AM   #34
shiv.singh
LQ Newbie
 
Registered: May 2009
Posts: 16

Rep: Reputation: 0
Smile flush cache

Hi,
Please use this command for clearing your cached data.

sync; echo 3 > /proc/sys/vm/drop_caches


Regards,
Shiv
 
Old 04-02-2011, 12:59 AM   #35
shiv.singh
LQ Newbie
 
Registered: May 2009
Posts: 16

Rep: Reputation: 0
sorry for posting multiple times!!!

Last edited by shiv.singh; 04-02-2011 at 01:00 AM.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail, command to flush queue? glock19 Linux - Software 10 11-18-2010 11:23 PM
how to reload sbp2 module /Flush terminal command cache Lakota Mandriva 1 12-07-2004 02:08 PM
Use RAM as swap??? oneandoneis2 Linux - General 3 08-19-2004 04:48 AM
RAM and Swap shiny_spoon Linux - General 5 01-13-2004 02:27 PM
Swap and RAM ? mikeshn Linux - General 1 09-18-2002 09:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:58 PM.

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