The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 4 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Analyzing Virtual Memory
We will continue the tour of the Memory Subsystem by analyzing Virtual Memory.
Â
Your Task
Locate and utilize performance analysis tools to determine characteristics of Virtual Memory and how it is utilized and managed by your version of Linux.
Start your Linux Partition from a fresh boot and open the Terminal. Do not open any other applications at this time. Determine values for each of the following. Provide screenshots of command output.
Configure your "top" command so that the following fields are displayed in the output:
Sort the output by %MEM
1) Explain the output from the entire line that starts with Mem: at the top of the Screen.
2) Explain the output from the entire line that starts with Swap: at the top of the Screen.
3) For the topmost process (If sorted correctly, this will be the one using the most memory) - give the data values and the meaning behind the value in each column.
4) For the process from #3 above, describe the relationship between the values reported in the "VIRT" "RES" and "SWAP" columns. Does this relationship indicate LINUX may be using demand paging? Why or why not?
Using the "vmstat" command, run the command such that the virtual memory statistics are captured once per second with a total of 10 samples.
1) What was the command used?
2) What is average value of the "swpd" field and what does that mean?
3) What is the size of the "free" list and what does that mean?
4) Out of the 10 seconds sampled, how many of them had swapping activity? How can you tell and what was the activity?
5) Do the values in your findings above indicate any kind of performance problem such as thrashing or the need for more physical memory? Explain.
Now open some applications and leave them open. i.e. Firefox, multiple office apps, and as many other applications as you can while still maintaining a Linux system that functions(the slower the system the better).
Now repeat all of the data gathering steps from above and record new values.
Document before and after values and create a summary documenting the changes you noticed (i.e. The effect of running applications on performance as verified through your performance analysis). Make a recommendation to add resources or change system parameters as necessary to increase performance under heavy loads. Be sure to use your data values to back up your recommendation(s) if any.
Â
Submission Requirements
You will submit a Word or Libre Writer Document which contains results from the above analysis and responses. I do not have access to your system so you need to be sure to provide screenshots for anything I cannot possibly know. i.e. vmstat and top output. Only provide screenshots necessary to prove your responses. Do not give a screenshot for every piece of data you capture.
Please insert your screenshots into your word document with supporting documentation which meets all requirements. You will be penalized for any results which are not backed by proof.
Â
Disclaimer
A large portion of this class is exploring and researching solutions on your own! You will continue to operate as a systems administrator / analyst and thus you will be expected to figure out what you need to know on your own. You will not find exact solutions in your book which give you what you need to know to complete this assignment or future assignments. What you will find in your book is an in depth analysis of how an operating systems manages memory at a low level. This is imperative in understanding what the resulting data values mean from your research.
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly