Visit the Ironworks Gaming Website Email the Webmaster Graphics Library Rules and Regulations Help Support Ironworks Forum with a Donation to Keep us Online - We rely totally on Donations from members Donation goal Meter

Ironworks Gaming Radio

Ironworks Gaming Forum

Go Back   Ironworks Gaming Forum > Ironworks Gaming Forums > General Discussion
FAQ Calendar Arcade Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 01-18-2009, 12:46 PM   #1
Larry_OHF
Ironworks Moderator
 

Join Date: March 1, 2001
Location: Midlands, South Carolina
Age: 48
Posts: 14,759
Default 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.
Larry_OHF is offline   Reply With Quote
Old 01-18-2009, 12:54 PM   #2
Elif Godson
Dracolich
 

Join Date: August 28, 2001
Location: Hurricane Valley
Age: 51
Posts: 3,089
Default 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.
__________________
Children get Arthritis too!
http://awtampa.kintera.org/jaaware
Elif Godson is offline   Reply With Quote
Old 01-18-2009, 02:03 PM   #3
Larry_OHF
Ironworks Moderator
 

Join Date: March 1, 2001
Location: Midlands, South Carolina
Age: 48
Posts: 14,759
Default 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?
__________________
Larry_OHF is offline   Reply With Quote
Old 01-18-2009, 05:05 PM   #4
Felix The Assassin
The Dreadnoks
 

Join Date: September 27, 2001
Location: Orlando, FL
Age: 61
Posts: 3,608
Default 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.
Felix The Assassin is offline   Reply With Quote
Old 01-18-2009, 06:41 PM   #5
Larry_OHF
Ironworks Moderator
 

Join Date: March 1, 2001
Location: Midlands, South Carolina
Age: 48
Posts: 14,759
Default 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.
__________________
Larry_OHF is offline   Reply With Quote
Old 01-19-2009, 09:30 AM   #6
Bungleau
40th Level Warrior
 

Join Date: October 29, 2001
Location: Western Wilds of Michigan
Posts: 11,752
Default 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.
Bungleau is offline   Reply With Quote
Old 01-19-2009, 09:50 AM   #7
Felix The Assassin
The Dreadnoks
 

Join Date: September 27, 2001
Location: Orlando, FL
Age: 61
Posts: 3,608
Default 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:
Originally Posted by felix@Steiner:~$ top -d10

top - 09:29:04 up 38 min, 2 users, load average: 0.09, 0.09, 0.11
Tasks: 97 total, 1 running, 96 sleeping, 0 stopped, 0 zombie
Cpu(s): 9.1%us, 2.5%sy, 0.3%ni, 84.0%id, 4.1%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1033580k total, 575936k used, 457644k free, 44748k buffers
Swap: 3020180k total, 0k used, 3020180k free, 227924k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5447 felix 20 0 207m 93m 25m S 4.0 9.2 3:00.71 firefox
1 root 20 0 3056 1888 564 S 0.0 0.2 0:01.42 init
2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
4 root 15 -5 0 0 0 S 0.0 0.0 0:00.02 ksoftirqd/0
5 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
6 root 15 -5 0 0 0 S 0.0 0.0 0:00.02 events/0
7 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
46 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/0
48 root 15 -5 0 0 0 S 0.0 0.0 0:00.04 kblockd/0
50 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid
51 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify
145 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 cqueue
149 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod
190 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
191 root 20 0 0 0 0 S 0.0 0.0 0:00.02 pdflush
192 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kswapd0
BTW: Fedora Core 4 is like ancient! Why not use something a little newer?
__________________
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.
Felix The Assassin is offline   Reply With Quote
Old 01-19-2009, 09:57 AM   #8
Felix The Assassin
The Dreadnoks
 

Join Date: September 27, 2001
Location: Orlando, FL
Age: 61
Posts: 3,608
Default 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.
Felix The Assassin is offline   Reply With Quote
Old 01-19-2009, 10:18 AM   #9
Bungleau
40th Level Warrior
 

Join Date: October 29, 2001
Location: Western Wilds of Michigan
Posts: 11,752
Default 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.
Bungleau is offline   Reply With Quote
Old 01-19-2009, 12:58 PM   #10
MagiK
Emerald Dragon
 

Join Date: December 18, 2003
Location: Maryland USA.
Age: 62
Posts: 993
Default Re: Computer Class Homework Help Needed (XP vs Fedora Core)

Quote:
Originally Posted by Bungleau View Post
Unix is so picky about that capitalization stuff...
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.
MagiK is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 On
HTML code is On

Forum Jump

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


All times are GMT -4. The time now is 04:35 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved