Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ram Usage?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
u2mike
Apprentice
Apprentice


Joined: 06 Nov 2003
Posts: 209

PostPosted: Sat Mar 13, 2004 7:05 am    Post subject: Ram Usage? Reply with quote

Hey all,

I'm wondering how effiecently linux is using my ram? Right now all of it is used, from what I understand a good portion of this is used to cache recent activities. When I open something else that is in need of the the ram some of the cached ram will be reallocated right? If so, wouldn't that take more time then writing to ram that was allready free?
Back to top
View user's profile Send private message
Boris27
Guru
Guru


Joined: 05 Nov 2003
Posts: 562
Location: Almelo, The Netherlands

PostPosted: Sat Mar 13, 2004 7:52 am    Post subject: Reply with quote

The cached ram will just be overwritten. Takes no more time.
_________________
we are microsoft, lower your firewalls and surrender your pc's. we will add your biological and technological distinctiveness to our own. your culture will adapt and service us. resistance is futile.
Back to top
View user's profile Send private message
Vaughn
n00b
n00b


Joined: 28 May 2003
Posts: 33

PostPosted: Sat Mar 13, 2004 4:21 pm    Post subject: Reply with quote

Well, the kernel does need to remove the cache entries and mark the memory as used, not to mention map it into the process space and so forth... thousands, probably tens of thousands of cycles.

However, that is still on an entirely different timescale than reading from the HD; the computer can practically calculate the meaning of life while waiting for a single block to be read.

The kernel - especially 2.6 - is *far* more efficient in memory management than just about every other OS.
Back to top
View user's profile Send private message
u2mike
Apprentice
Apprentice


Joined: 06 Nov 2003
Posts: 209

PostPosted: Sun Mar 14, 2004 5:02 am    Post subject: Reply with quote

I see :D That answered my question.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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