LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-02-2010, 09:37 AM   #1
ilfantomas
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Memory Page Scanning and Reclaim/Memory Management


If I have a system that is spending an appreciable amount of time scanning and reclaiming pages in memory, rather than paging out, would I expect to see that time classified as user time(since the page scanner is just a process), system time(since it could be seen as the kernel just taking care of itself), or wait time(since processes may be delayed while this is all going on)?

Where would I see this activity entered if I was running vmstat while all of this was going on?

Thanks.
 
Old 03-02-2010, 08:31 PM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,679
Blog Entries: 4

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
Let me answer that obvious homework question in this way:

At any point in time, a computer system is doing one of three things:
  1. CPU work executing the code of a user process.
  2. CPU work not executing the code of a user process.
  3. Nothing.

Homework Question #4: Given the above explanation, how would the operating system classify... etc. ?

-- Sorry for being so blunt, pal, but "college" is not a place where you spend lots of money asking other people to answer your questions for you.
 
  


Reply



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
Linux memory management: Real memory or Cached buffers? gubbu Linux - Server 2 10-01-2010 01:58 AM
system doesnt reclaim the freed memory after free() muralia Linux - Newbie 2 07-20-2009 10:56 PM
Scanning memory range for specific bytes w/ GDB jrtayloriv Programming 5 03-17-2008 02:27 PM
Difference between resident memory,shared memory and virtual memory in system monitor mathimca05 Linux - Newbie 1 11-11-2007 04:05 AM
Help!?! RH 8 Memory Mapping -High Memory-Virtural Memory issues.. Merlin53 Linux - Hardware 2 06-18-2003 04:48 PM

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

All times are GMT -5. The time now is 12:36 AM.

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