Talk:Thrashing (computer science)

message: The last two sections (cause of thrashing and limiting the effects of thrashing) appear to be copied word-for-word from the textbook Operating System Concepts (Silberschatz, Galvin, Gagne).  —Preceding unsigned comment added by 72.138.253.205 (talk) 15:06, 6 April 2008 (UTC)
replies: text: I've removed them both. -- The Anome (talk) 20:47, 8 March 2010 (UTC)
thread_title:  Plagarism 

message: Is this term commonly used to refer to work?  I'm a software engineer and I often hear thrashing to mean what happens when engineers are switching between projects far too often.  Since the term has its roots in our field, is it exclusive to us, or does it exist in other fields?  Should it be mentioned here?
CSZero 22:10, 29 October 2006 (UTC)
thread_title: Engineering

message: I'd like to see the term "permaswap" added to this article. It's a common way to describe the situation where the system is almost completely stalled, and the disk is going crazy. See for instance this link  or just do a Google search for the term. There are lots of references, but the term doesn't exist in Wikipedia. leifbk 09:26, 5 October 2007 (UTC)
thread_title:  Permaswap 

message: "In computer science, thrash (verb) is the term used to describe a degenerate situation on a computer where increasing resources are used to do a decreasing amount of work."
A thrash is when the same data is being repeatedly passed back and forth between two storage devices.  Not some vague reference to over-consumption of any old resource.
This results in only one extra system resource being consumed - time.  I guess the side effect of consuming the data channel between the two storage devices for this unwanted duration can be considered a resource too.
And when one storage device is faster then it effectively has to slow down to match the slower storage, consuming even more time.
Evanh (talk) 13:51, 28 November 2009 (UTC)
thread_title:  Oh, man, the definition is so far off the mark! 

message: In the UK, it seems that 'Threshing' is the correct spelling according to the OCR exam board (Computing). What I've been taught was: "Disk threshing is when the system spends more time swapping pages between memory and disk than running the program(s)." I also agree to Evanh's comment that the definition should refer to this swapping of data
Our teacher Eddie says OCR are wrong, they are the only people who spell it this way  — Preceding unsigned comment added by Bradhinch (talk • contribs) 09:41, 24 September 2014 (UTC)
thread_title:  Disk threshing 

message: is this a spot the difference game? because I cant spot the difference... 203.36.161.41 (talk) 22:25, 20 May 2013 (UTC)
replies: text: The array indices are reversed. Mindmatrix 00:35, 21 May 2013 (UTC)
replies: text: How does that reduce thrashing? --151.75.31.150 (talk) 10:23, 28 September 2013 (UTC)
replies: text: The sample code assumes a row is a sequence of bytes, and a 2D array is a sequence of rows. Suppose your rows are very large, or your virtual memory page size is very small, so that each row exactly fits one page of virtual memory. If your algorithm goes row-by-row, you will visit each page of virtual memory once. On the other hand, if your algorithm goes column by column, you will visit each page many times. Morrillonline (talk) 14:27, 28 September 2013 (UTC)

text: I made the code easier to read because I didn't understand either.  Chasevasic (talk) 17:29, 16 January 2015 (UTC)
thread_title:  Example Code 

message: Thrashing in computer science has also been used to describe programmers who sit thinking about a problem for too long who need to reach out for help. Colloquially we may call this "spinning their wheels," as in, working but not going anywhere. It's somewhat of a joke, the programmer runs out of memory instead of the program.
Examples of use in context
* http://programmer.97things.oreilly.com/wiki/index.php/Don%27t_Stay_Stuck
* https://www.hanselman.com/blog/BackToBasicsKeepItSimpleAndDevelopYourSenseOfSmellFromLinqToCSV.aspx
MrNate (talk) 14:42, 13 November 2017 (UTC)
thread_title:  Programmer Thrashing