CDP Forum Forum Index CDP Forum
NOTE: The forum is being replaced by support.icd.no
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Constant memory load in Linux!?

 
Post new topic   Reply to topic    CDP Forum Forum Index -> Linux programming
View previous topic :: View next topic  
Author Message
Nils-Petter
Site Admin


Joined: 14 Mar 2007
Posts: 14
Location: Norway

PostPosted: Fri 10 Aug 12:37:24 2007    Post subject: Constant memory load in Linux!? Reply with quote

If you have ever tried logging the memory load of a computer running a CDP application in Linux, you may have noticed that it is pretty close to constant (depending on the scale). The reason is that the OS is allocating as much memory as possible for buffers and cache. This is done to achieve the best performance possible. When a new program is started, memory is simply transfered from the cache and buffers to that program. Thus, it is not the memory load that increases, but the cache and buffers that decreases.

In the following image, used memory was graphed together with cache/buffers as one hundred browsers were opened.



_________________
Nils Petter Eftedal
Industrial Control Design AS
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    CDP Forum Forum Index -> Linux programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group