Share on Facebook Share on Twitter Email
Answers.com

thrash

 
Dictionary: thrash   (thrăsh) pronunciation

v., thrashed, thrash·ing, thrash·es.

v.tr.
  1. To beat with or as if with a flail, especially as a punishment. See synonyms at beat.
  2. To swing or strike in a manner suggesting the action of a flail: The alligator thrashed its tail.
  3. To defeat utterly; vanquish.
  4. To thresh.
  5. To sail (a boat) against opposing winds or tides.
v.intr.
  1. To move wildly or violently: thrashed about all night.
  2. To strike or flail.
  3. To thresh.
  4. To sail against opposing tides or winds.
n.
  1. The act or an instance of thrashing.
  2. Music. See speed metal.
phrasal verb:

thrash out

  1. To discuss fully.

[Variant of THRESH.]

thrasher thrash'er n.

Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
Thesaurus: thrash
Top
also thrash out

verb

  1. To beat (plants) with a machine or by hand to separate the grain from the straw: flail, thresh. See attack/defend, strike/miss.
  2. To hit heavily and repeatedly with violent blows: assail, assault, baste, batter, beat, belabor, buffet, drub, hammer, pound, pummel, smash, thresh. Informal lambaste. Slang clobber. Idioms: rain blows on. See attack/defend, strike/miss.
  3. To punish with blows or lashes: beat, flog, hide2, lash, whip. Informal trim. Slang lay into, lick. See attack/defend, reward/punish/deserve.
  4. To swing about or strike at wildly: flail, thresh, toss. Idioms: toss and turn. See attack/defend, move/halt, strike/miss.
  5. To render totally ineffective by decisive defeat: annihilate, crush, drub, overpower, overwhelm, smash, steamroller, trounce, vanquish. Informal massacre, wallop. Slang clobber, cream, shellac, smear. See win/lose/recovery.

phrasal verb - thrash out (or over)

    To speak together and exchange ideas and opinions about: bandy (about), discuss, moot, talk over, thresh out (or over), toss around. Informal hash (over), kick around, knock about (or around). Slang rap3. Idioms: go into a huddle. See words.

Antonyms: thrash
Top

v

Definition: flail about; beat
Antonyms: be still


Hacker Slang: thrash
Top

To move wildly or violently, without accomplishing anything useful. Paging or swapping systems that are overloaded waste most of their time moving data into and out of core (rather than performing useful computation) and are therefore said to thrash. Someone who keeps changing his mind (esp. about what to work on next) is said to be thrashing. A person frantically trying to execute too many tasks at once (and not spending enough time on any single task) may also be described as thrashing. Compare multitask.


Word Tutor: thrash
Top
pronunciation

IN BRIEF: To beat severely. Also: To move about in a violent way.

pronunciation The lion thrashed his tail violently, uncertain whether or not to attack.

Wikipedia: Thrash (computer science)
Top

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. In this situation the system is said to be thrashing. Usually it refers to two or more processes accessing a shared resource repeatedly such that serious system performance degradation occurs because the system is spending a disproportionate amount of time just accessing the shared resource. Resource access time may generally be considered as wasted, since it does not contribute to the advancement of any process.

Silly window syndrome is a type of communications system thrashing.

Contents

Overview

In modern computers, thrashing may occur in the paging system (if there is not 'sufficient' physical memory or the disk access time is overly long), or in the communications system (especially in conflicts over internal bus access), etc. Depending on the configuration and algorithms involved, the throughput and latency of a system may degrade by multiple orders of magnitude.

In virtual memory systems, thrashing may be caused by programs or workloads that present insufficient locality of reference: if the working set of a program or a workload cannot be effectively held within physical memory, then constant data swapping, i.e., thrashing, may occur. The term was first used during the tape operating system days to describe the sound the tapes made when data was being rapidly written to and read from them. Many older low-end computers have insufficient RAM (memory) for modern usage patterns and increasing the amount of memory can often cause the computer to run noticeably faster. This speed increase is due to removing the need for paging.

An example of this sort of situation occurred on the IBM System/370 series mainframe computer, in which a particular instruction could consist of an execute instruction, which crosses a page boundary, that the instruction points to a move instruction, that itself also crosses a page boundary, targeting a move of data from a source that crosses a page boundary, to a target of data that also crosses a page boundary. The total number of pages thus being used by this particular instruction is eight, and all eight pages must be present in memory at the same time. If the operating system allocates less than eight pages of actual memory in this example, when it attempts to swap out some part of the instruction or data to bring in the remainder, the instruction will again page fault, and it will thrash on every attempt to restart the failing instruction.

To resolve thrashing due to excessive paging, a user can do any of the following.

  1. Increase the amount of RAM in the computer (generally the best long-term solution).
  2. Decrease the number of programs being run on the computer.
  3. Replace programs that are memory-heavy with equivalents that use less memory.

The term is also used when a small set of faster storage space, intended to be used to speed up access to a larger set of slower storage space, is accessed in a way that cancels out any benefits from the faster storage. An example of this is cache thrashing, where main memory is accessed in a pattern that leads to multiple main memory locations competing for the same cache lines, resulting in excessive cache misses. This is most problematic for caches that have low associativity.

Causes and Symptoms of Thrashing

Thrashing results in several performance problems. Consider the following scenario, which is based on actual behavior of early paging systems.

The operating system monitors CPU utilization. If the CPU utilization is too low, the OS increases the degree of multiprogramming by introducing new processes to the system. A global page-replacement algorithm is used; it replaces pages without regard for the process to which they belong. Now suppose that a process enters a new phase in its execution and needs more frames. It starts faltering and taking frames away from other processes. These processes need those pages, however, and so they also falter, taking frames away from other processes. These faulting processes must use the paging device to swap pages in and out. As they queue up for the paging device (which, for example, might be a drive-space on the local disk or on a portable USB hard-disk drive [HDD]), the ready queue empties. As the processes wait for the paging device, CPU utilization decreases.

The CPU scheduler sees the decreasing CPU utilization and increases the degree of multiprogramming as a result. The new process tries to get started by taking frames from running processes, causing more page faults and a longer queue for the paging device. Subsequently, CPU utilization begins to drop significantly, and the CPU scheduler in turn tries to increase the degree of multiprogramming even more as a sort of counter-measure. The obvious flow-on is a compound effect. Thrashing has at this point said to have occurred, and system throughput subsequently plummets. The page fault rate increases tremendously thereafter. Lastly, the effective memory-access time significantly increases. It is typically at this point, no further tasks can be performed on the system and the system is often described as being 'locked up' or 'frozen'.

Limiting the effects of Thrashing

The effects of thrashing can be limited or minimized by using a local replacement algorithm. With local replacement, if one process starts thrashing, the process in question cannot use frames from another process and therefore cause the latter process to thrash as well. However, this does not entirely resolve the problem. If simultaneous processes are thrashing, they will remain in the queue for the paging device. The average service time for a page fault will increase accordingly because of the longer average queue for the paging device. Thus, the effective access time will increase even for a process that is not thrashing.

To prevent thrashing, a process must be provided with as many frames as it needs. The number of frames it needs can be determined with several techniques, including the working-set strategy. This approach defines the locality model of process execution.

References

  • M. Morris Mano and Charles R. Kime, "Logic and Computer Design Fundamentals", pp. 622.
  • P. J. Denning. 1968. Thrashing: Its Causes and Prevention. Proceedings AFIPS,1968 Fall Joint Computer Conference, vol. 33, pp. 915-922.
  • Abraham Silberschatz, Peter Baer Galvin and Greg Gagne. "Operating System Principles", pp. 331, 348-353.

Translations: Thrash
Top

Dansk (Danish)
v. tr. - tærske, piske, slå, prygle
v. intr. - slå om sig, sprælle med benene, sprælle
n. - tæsk, prygl

idioms:

  • thrash about    slå om sig
  • thrash metal    thrash metal (rockmusik)
  • thrash out    drøfte til bunds

Nederlands (Dutch)
afranselen, inmaken (overwinnen), woelen, zwiep

Français (French)
v. tr. - rouer de coups, (Mil, Sport) écraser, piler (opposition) (fam)
v. intr. - s'agiter, battre, rosser, (Naut) naviguer contre vent
n. - (GB) grande fête, (Mus) thrash

idioms:

  • thrash about    se débattre, agiter
  • thrash metal    type de musique rock
  • thrash out    venir à bout de, réussir à élaborer

Deutsch (German)
n. - Verprügeln, große Fete
v. - verdreschen, (vernichtend) schlagen, (mar.) knüppeln

idioms:

  • thrash about    sich hin- und herwerfen, um sich schlagen
  • thrash metal    sehr schnelle, laute Rockmusik
  • thrash out    ausdiskutieren, ausarbeiten

Ελληνική (Greek)
n. - χτύπημα, ξυλοφόρτωμα, δάρσιμο, ξεφάντωμα, τρελή γιορτή
v. - χτυπώ, ραβδίζω, δέρνω, ξυλοφορτώνω, (μτφ.) νικώ, μαστιγώνω

idioms:

  • thrash about    σφαδάζω, χτυπιέμαι, σπαράζω
  • thrash metal    θρας μέταλ, νεοφερμένο οριακό ιδίωμα της "μεταλλικής" ροκ μουσικής
  • thrash out    διαλευκαίνω, ξεκαθαρίζω

Italiano (Italian)
bastonare

idioms:

  • thrash about    dimenarsi
  • thrash metal    metallo vile
  • thrash out    discutere a fondo

Português (Portuguese)
n. - debulha (f), agitação (f)
v. - surrar, espancar

idioms:

  • thrash about    debater-se
  • thrash metal    tipo de música rock
  • thrash out    esgotar (assunto, questão)

Русский (Russian)
хлестать, стегать. пороть, молотить, (разг.) победить, "всыпать", веселье

idioms:

  • thrash about    метаться, плескаться в воде
  • thrash metal    род музыки "поп"
  • thrash out    обстоятельно обсудить вопрос, проработать

Español (Spanish)
v. tr. - trillar, azotar, dar una paliza a
v. intr. - dar golpes, revolcarse, agitarse
n. - jolgorio, paliza, pataleo (natación)

idioms:

  • thrash about    revolverse, retorcerse
  • thrash metal    música pop estruendosa
  • thrash out    discutir a fondo, dar vueltas a, descubrir

Svenska (Swedish)
n. - speed-metal (mus.), vilt party, vildsint musik
v. - slå, klå, besegra, ge stryk, piska, tröska

中文(简体)(Chinese (Simplified))
打, 胜过, 使逆行, 痛打, 连续拍击, 打谷, 脱粒, 翻跳, 扭动, 逆风浪行进, 踢水动作

idioms:

  • thrash about    剧烈扭动, 猛烈跳动, 翻来覆去
  • thrash out    研究解决

中文(繁體)(Chinese (Traditional))
v. tr. - 打, 勝過, 使逆行
v. intr. - 痛打, 連續拍擊, 打穀, 脫粒, 翻跳, 扭動
n. - 打穀, 逆風浪行進, 踢水動作

idioms:

  • thrash about    劇烈扭動, 猛烈跳動, 翻來覆去
  • thrash out    研究解決

한국어 (Korean)
v. tr. - 마구 때리다, 격파하다, 떨다
v. intr. - 뒹굴다, 파도를 헤치고 나아가다, 탈곡하다
n. - 때림, 지움, 이김

idioms:

  • thrash about    엎치락 뒤치락 하다
  • thrash out    충분히 검토하다, 논의 끝에 해결하다, 토의 끝에 도달하다

日本語 (Japanese)
v. - 脱穀する, 打つ, 繰り返し検討する, 打ち当たる, 手足をばたつかせる
n. - ばた足

idioms:

  • thrash about    揺り動く
  • thrash metal    大きな音で激しく音を立てるロック・ミュージック
  • thrash out    徹底的に論議する, 論議の末に到達する

العربيه (Arabic)
‏(الاسم) ضربه, جلدة (فعل) يجلد, يسوط, يدرس, ( الحنطه)‏

עברית (Hebrew)
v. tr. - ‮הצליף, היכה, חבט, דש, הביס‬
v. intr. - ‮פרפר, התחבט, פילסה דרך במים גועשים (ספינה), הניע את גפיו באלימות או בבהלה‬
n. - ‮הצלפה, הכאה, מסיבת שחיתות (בריטניה)‬


 
 
Learn More
thrashel
larrup
speed metal

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

Dictionary. The American Heritage® Dictionary of the English Language, Fourth Edition Copyright © 2007, 2000 by Houghton Mifflin Company. Updated in 2009. Published by Houghton Mifflin Company. All rights reserved.  Read more
Thesaurus. Roget's II: The New Thesaurus, Third Edition by the Editors of the American Heritage® Dictionary Copyright © 1995 by Houghton Mifflin Company. Published by Houghton Mifflin Company. All rights reserved.  Read more
Answers Corporation Antonyms. © 1999-2009 by Answers Corporation. All rights reserved.  Read more
Hacker Slang. The Jargon File. Copyright © 2007.  Read more
Word Tutor. Copyright © 2004-present by eSpindle Learning, a 501(c) nonprofit organization. All rights reserved.
eSpindle provides personalized spelling and vocabulary tutoring online; free trial Read more
Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Thrash (computer science)" Read more
Translations. Copyright © 2007, WizCom Technologies Ltd. All rights reserved.  Read more

 

Mentioned in