Donal.Lynch.Msc
Donal.Lynch.Msc

Reputation: 3615

database question - Thrashing - What Is?

Whats Thrashing? Ive heard it mentioned a few times at work and dont want to ask... Probably a stupid question - any ideas?

Upvotes: 7

Views: 3024

Answers (3)

Phil Wallach
Phil Wallach

Reputation: 3318

Thraching is where a process consumes all available resources without achieving anything useful. Examples are endless loops or code that retries a failed command endlessly.

Upvotes: 4

Pascal MARTIN
Pascal MARTIN

Reputation: 401052

Reading through those pages :


I arrived to that one : Disk Thrashing, which states (quoting)

On a system with Virtual Memory, pages of memory are read from and written to the swap file as necessary.
Disk Thrashing is when there is excessive paging, specifically when the I/O system is busy paging memory but the CPU is not fully utilized - generally if the system is unresponsive (i.e. slow) and there is lots of disk activity then the system is likely to be thrashing.


And, of course, you might want to take a look on the Thrash (computer science) page on wikipedia ;-)

Upvotes: 6

Related Questions