01-18-2009, 12:46 PM | #1 |
Ironworks Moderator
Join Date: March 1, 2001
Location: Midlands, South Carolina
Age: 48
Posts: 14,759
|
Computer Class Homework Help Needed (XP vs Fedora Core)
Today's assignment is a lab where we are to look into what Disk Thrashing is and what to do about it. The class that I am in studies the similarities and differences with WinXP and Fedora Core 4. Below, I have my write-up but I am missing some important information to finish.
I need to know three techniques that can be used to solve the problem and also what the walk-through would be in Core 4 (I have it at work, but wanted to do this today). For the techniques, I assume one would get more memory, increase Virtual memory (page filing) and/or end those processes that are hogs. Those don't sound like "techniques" but is there more to it than that? Anyway, let me know what you think. Disk Thrashing According to the website www.computerhope.com/jargon/t/thrash.htm”, thrashing or disk thrashing is the popular term given to the result of a hard drive being overworked as virtual memory is read and wrote excessively. This occurs primarily when the computer’s physical memory modules are not enough to handle the work load. However, if the user has not established proper settings in the system properties/advanced/system performance area, then problems could come from that as well. The two indicators that a user would first notice would be system performance issues as well as the red led on the front of the computer excessively flashing or nearly staying on. According to http://www.watchingthenet.com/identi...n-windows.html, if the user is on a Windows OS, then he or she can open the Task Manager (CTRL+ALT+DEL) and click the Processes tab. Under “View”, choose “Select Columns”. Then find the options I/O Reads, I/O Writes, I/O Read Bytes and I/O Write Bytes. You can then view the work load that the hard drive is being put through and which processes are the culprits. From there, one can make the determination on what needs to be done.
__________________
Last edited by Larry_OHF; 01-18-2009 at 12:50 PM. |
01-18-2009, 12:54 PM | #2 |
Dracolich
Join Date: August 28, 2001
Location: Hurricane Valley
Age: 51
Posts: 3,089
|
Re: Computer Class Homework Help Needed (XP vs Fedora Core)
msconfig . exe from the run prompt can be your friend in this case as well, it allows to bring up the start up menu without going into the registry and removing some of those pesky start up processes that are not needed as well as have a look at the services that are running.
|
01-18-2009, 02:03 PM | #3 |
Ironworks Moderator
Join Date: March 1, 2001
Location: Midlands, South Carolina
Age: 48
Posts: 14,759
|
Re: Computer Class Homework Help Needed (XP vs Fedora Core)
BTW...I have just learned that the command ltag in Fedora is vmstat (virtual memory statistics), and I think this is for Core4.
Does the TOP command in Fedora have anything in common with Task manager, or is it more like Command Line?
__________________
|
01-18-2009, 05:05 PM | #4 |
The Dreadnoks
Join Date: September 27, 2001
Location: Orlando, FL
Age: 61
Posts: 3,608
|
Re: Computer Class Homework Help Needed (XP vs Fedora Core)
felix@Steiner:~$ vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 2 0 0 529040 14632 212316 0 0 248 39 288 845 11 3 78 8 felix@Steiner:~$ TOP bash: TOP: command not found Ubuntu 8.10.2 base with Xubuntu 8.10 desktop installed.
__________________
The Lizzie Palmer Tribute Let every nation know, whether it wishes us well or ill, that we shall pay any price, bear any burden, meet any hardship, support any friend, oppose any foe to assure the survival and the success of liberty. John F. Kennedy 35th President of The United States The Last Shot Honor The Fallen Jesus died for our sins, and American Soldiers died for our freedom. If you don't stand behind our Soldiers, please feel free to stand in front of them. Last edited by Felix The Assassin; 01-18-2009 at 05:09 PM. |
01-18-2009, 06:41 PM | #5 |
Ironworks Moderator
Join Date: March 1, 2001
Location: Midlands, South Carolina
Age: 48
Posts: 14,759
|
Re: Computer Class Homework Help Needed (XP vs Fedora Core)
This is what the instructions say.
Determine which tabs in the Windows Task Manager and which fields in the output of the Top command help you diagnose disk thrashing. Find at least three techniques for correcting the situation. There is no Top command in Windows, and since this class works with Fedora Core 4 half the time, I have to assume that the instructor meant that Top is in Core 4. I'll keep looking on the net.
__________________
|
01-19-2009, 09:30 AM | #6 |
40th Level Warrior
Join Date: October 29, 2001
Location: Western Wilds of Michigan
Posts: 11,752
|
Re: Computer Class Homework Help Needed (XP vs Fedora Core)
For reference, Felix, the command in Linux would be top, not TOP. It exists on my old Redhat box, and I'll wager it's there on yours as well.
Task manager shows the same kind of information that top does, Larry. As for your techniques, I'd generally agree. Increase virtual memory / swap space, kill / fix the offending processes, and add more memory (which really just buffers you a bit more). I also tend to set the virtual memory space to a fixed value, not a variable one. It doesn't impact my performance, but to my mind, it should impact overall disk fragmentation. Variable VM means that Windows will expand VM as needed, grabbing more VM space from disk as needed. It then gives that back later, which in my mind will lead to increased fragmentation during and after usage.
__________________
*B* Save Early, Save Often Save Before, Save After Two-Star General, Spelling Soldiers -+-+-+ Give 'em a hug one more time. It might be the last. |
01-19-2009, 09:50 AM | #7 | |
The Dreadnoks
Join Date: September 27, 2001
Location: Orlando, FL
Age: 61
Posts: 3,608
|
Re: Computer Class Homework Help Needed (XP vs Fedora Core)
Ok, TOP does not equal top!: Since I moved to the Xubuntu desktop, I have become degraded with the terminal. Should have thought about the 'caps' on your post, but a bit rusty.
top= "Provide information (frequently refreshed) about the most CPU-intensive processes currently running." the -d10 behind the command is delay update by 10, thereby giving me enough time to capture the first read. Quote:
__________________
The Lizzie Palmer Tribute Let every nation know, whether it wishes us well or ill, that we shall pay any price, bear any burden, meet any hardship, support any friend, oppose any foe to assure the survival and the success of liberty. John F. Kennedy 35th President of The United States The Last Shot Honor The Fallen Jesus died for our sins, and American Soldiers died for our freedom. If you don't stand behind our Soldiers, please feel free to stand in front of them. |
|
01-19-2009, 09:57 AM | #8 |
The Dreadnoks
Join Date: September 27, 2001
Location: Orlando, FL
Age: 61
Posts: 3,608
|
Re: Computer Class Homework Help Needed (XP vs Fedora Core)
Time check, the atomic clocks is reading: 09:51:38
and the post time is reading 09:57. WOW! That explains the lag.
__________________
The Lizzie Palmer Tribute Let every nation know, whether it wishes us well or ill, that we shall pay any price, bear any burden, meet any hardship, support any friend, oppose any foe to assure the survival and the success of liberty. John F. Kennedy 35th President of The United States The Last Shot Honor The Fallen Jesus died for our sins, and American Soldiers died for our freedom. If you don't stand behind our Soldiers, please feel free to stand in front of them. |
01-19-2009, 10:18 AM | #9 |
40th Level Warrior
Join Date: October 29, 2001
Location: Western Wilds of Michigan
Posts: 11,752
|
Re: Computer Class Homework Help Needed (XP vs Fedora Core)
Unix is so picky about that capitalization stuff...
__________________
*B* Save Early, Save Often Save Before, Save After Two-Star General, Spelling Soldiers -+-+-+ Give 'em a hug one more time. It might be the last. |
01-19-2009, 12:58 PM | #10 |
Emerald Dragon
Join Date: December 18, 2003
Location: Maryland USA.
Age: 62
Posts: 993
|
Re: Computer Class Homework Help Needed (XP vs Fedora Core)
Yeah ... you like, you know...have to actually KNOW what you are doing in UNIX
oh and LINUX isn't really UNIX...and in AIX "top" is known as "topas" cause IBM just HAS to be different. Larry feel free to drop me email if you have UNIX issues, I can help out usually When using top I would skip the delay parameter, never had to use it myself. If you watch the percentage of disk usage and you see any devices at 100% you can guess that there is a disk bottleneck....not working today so dont have screenies for ya. sorry. In modern SAN environments though you arent actually writing to "Disks" everything is being written to cache memory so the disk devices showing 100% are actually pointing to a bandwidth issue on the interfaces....but I digress.
__________________
No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. Last edited by MagiK; 01-19-2009 at 01:05 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Computer help needed (again!) | Luvian | General Discussion | 5 | 11-02-2006 02:45 PM |
Fedora Core & Graphics Card Problems | LennonCook | General Conversation Archives (11/2000 - 01/2005) | 7 | 11-07-2004 05:13 PM |
Computer help needed | Intrepid | General Conversation Archives (11/2000 - 01/2005) | 9 | 04-23-2004 05:23 PM |
Help with computer needed! | Xen | General Conversation Archives (11/2000 - 01/2005) | 3 | 02-18-2004 04:01 PM |
Homework: Help needed | Kaz | General Conversation Archives (11/2000 - 01/2005) | 6 | 09-23-2001 11:53 AM |