LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-08-2005, 05:11 AM   #1
ramram
LQ Newbie
 
Registered: Sep 2005
Posts: 1

Rep: Reputation: 0
Memory loss during copies across mounted partition


Hi,

Oflate, I have noticed some thing unusual.

I have copied a huge file (> 1 MB) from one partition (/) to another mounted partition. The strange thing is that after the successful copy, I have seen a loss of main memory in the order of 50KB to 1MB. I have observed MemFree from /proc/meminfo getting decreased each time I do a copy.

Why should main memory be lost when copying is being done to a different mounted partion?

Details of my system:

System Details:
Linux 2 2.4.20 mips unknown

Appreciate your valuble inputs.

TIA
--Ram
 
Old 09-08-2005, 12:36 PM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,755
Blog Entries: 4

Rep: Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966Reputation: 3966
What you are seeing are the disk buffers. This number (which appears as 'shared') represents storage that is being used to keep copies of information that has been recently read from disk, in anticipation that, should the same piece of data be needed again [a likely prospect...], a second disk-read will not be required.

You need not be alarmed by this; it is perfectly normal.

Under normal conditions, Linux will always use all of the memory that it has available, trying to put it to good use for something. If and when memory pressure develops, disk-buffers are among the first to go.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to resize partition with no data loss? jonohana Linux - Newbie 3 11-15-2005 08:20 AM
Memory Loss? kushalkoolwal Debian 21 10-19-2005 07:10 PM
Want to split a partition without data loss. Ebel Linux - Hardware 1 08-09-2004 11:56 PM
Memory Loss--Big Time cabinetcrafter Mandriva 0 04-21-2004 06:07 PM
data loss on FAT32-Partition sem2 Linux - General 1 08-01-2003 11:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:21 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