Multiprocessing juga kadang merujuk kepada kemampuan eksekusi terhadap beberapa proses perangkat lunak dalam sebuah sistem secara serentak, jika dibandingkan dengan sebuah proses dalam satu waktu, meski istilah multiprogramming lebih sesuai untuk konsep ini. Multiprocessing sering diimplementasikan dalam perangkat keras (dengan menggunakan beberapa CPU sekaligus), sementara multiprogramming sering digunakan dalam perangkat lunak. Sebuah sistem mungkin dapat memiliki dua kemampuan tersebut, salah satu di antaranya, atau tidak sama sekali.
Multiprocessing merupakan penggunaan dua atau lebih unit pengolahan pusat (CPU) dalam satu sistem komputer. The term also refers to the ability of a system to support more than one processor and/or the ability to allocate tasks between them. [ 1 ] There are many variations on this basic theme, and the definition of multiprocessing can vary with context, mostly as a function of how CPUs are defined ( multiple cores on one die , multiple dies in one package , multiple packages in one system unit , etc.). Istilah ini juga merujuk pada kemampuan sistem untuk mendukung lebih dari satu prosesor dan / atau kemampuan untuk mengalokasikan tugas antara mereka. [1] Ada banyak variasi pada tema dasar, dan definisi multiprocessing dapat bervariasi dengan konteks, sebagian besar sebagai fungsi dari seberapa CPU didefinisikan ( multiple core pada satu mati , beberapa meninggal dalam satu paket , beberapa paket dalam satu unit sistem , dll).
Multiprocessing sometimes refers to the execution of multiple concurrent software processes in a system as opposed to a single process at any one instant. Multiprocessing kadang-kadang mengacu pada pelaksanaan beberapa proses perangkat lunak bersamaan dalam suatu sistem sebagai lawan dari proses tunggal pada suatu instan satu. However, the terms multitasking or multiprogramming are more appropriate to describe this concept, which is implemented mostly in software, whereas multiprocessing is more appropriate to describe the use of multiple hardware CPUs. Namun, istilah multitasking atau multiprogramming lebih tepat untuk menggambarkan konsep ini, yang dilaksanakan sebagian besar dalam perangkat lunak, sedangkan multiprocessing lebih tepat untuk menggambarkan penggunaan beberapa perangkat keras CPU. A system can be both multiprocessing and multiprogramming, only one of the two, or neither of the two. Sebuah sistem dapat baik multiprocessing dan multiprogramming, hanya salah satu dari dua, atau tidak dari dua.
Jenis[ edit ] Processor symmetry [ sunting ] simetri ProcessorIn a multiprocessing system, all CPUs may be equal, or some may be reserved for special purposes. Dalam sistem multiprocessing, semua CPU mungkin sama, atau beberapa mungkin disediakan untuk tujuan khusus. A combination of hardware and operating-system software design considerations determine the symmetry (or lack thereof) in a given system. Sebuah kombinasi antara perangkat lunak perangkat keras dan pertimbangan desain sistem operasi menentukan simetri (atau kekurangan daripadanya) dalam sistem tertentu. For example, hardware or software considerations may require that only one CPU respond to all hardware interrupts, whereas all other work in the system may be distributed equally among CPUs; or execution of kernel-mode code may be restricted to only one processor (either a specific processor, or only one processor at a time), whereas user-mode code may be executed in any combination of processors. Sebagai contoh, perangkat keras atau perangkat lunak mungkin memerlukan pertimbangan bahwa hanya satu CPU menanggapi semua hardware interrupts, sedangkan semua pekerjaan lain dalam sistem boleh didistribusikan merata antara CPU, atau eksekusi kode kernel-mode dapat dibatasi hanya satu prosesor (baik prosesor tertentu, atau hanya satu prosesor pada satu waktu), sedangkan kode pengguna-mode mungkin dijalankan dalam setiap kombinasi prosesor. Multiprocessing systems are often easier to design if such restrictions are imposed, but they tend to be less efficient than systems in which all CPUs are utilized. Sistem Multiprocessing sering lebih mudah untuk merancang jika larangan tersebut diberlakukan, tetapi mereka cenderung kurang efisien dibandingkan dengan sistem di mana semua CPU yang digunakan.Systems that treat all CPUs equally are called symmetric multiprocessing (SMP) systems. Sistem yang memperlakukan semua CPU sama disebut multiprocessing simetris (SMP) sistem. In systems where all CPUs are not equal, system resources may be divided in a number of ways, including asymmetric multiprocessing (ASMP), non-uniform memory access (NUMA) multiprocessing, and clustered multiprocessing ( qq.v.). Dalam sistem dimana semua CPU yang tidak sama, sumber daya sistem dapat dibagi dalam beberapa cara, termasuk asymmetric multiprocessing (ASMP), non-seragam akses memori (NUMA) multiprocessing, dan berkelompok multiprocessing (qq.v.). [ edit ] Instruction and data streams [ sunting ] Instruksi dan data streamIn multiprocessing, the processors can be used to execute a single sequence of instructions in multiple contexts ( single-instruction, multiple-data or SIMD, often used in vector processing ), multiple sequences of instructions in a single context ( multiple-instruction, single-data or MISD, used for redundancy in fail-safe systems and sometimes applied to describe pipelined processors or hyper-threading ), or multiple sequences of instructions in multiple contexts ( multiple-instruction, multiple-data or MIMD ). Pada multiprocessing, prosesor dapat digunakan untuk mengeksekusi urutan instruksi tunggal dalam beberapa konteks ( single-instruksi, multiple-data atau SIMD, sering digunakan dalam pengolahan vektor ), beberapa urutan instruksi dalam konteks tunggal ( multiple-instruksi, tunggal -data atau MISD, digunakan untuk redundansi dalam-aman sistem gagal dan kadang-kadang digunakan untuk menggambarkan prosesor pipelined atau hyper-threading ), atau beberapa urutan instruksi dalam beberapa konteks ( multi-instruksi, multiple-data atau MIMD ).[ edit ] Processor coupling [ sunting ] kopling ProcessorTightly-coupled multiprocessor systems contain multiple CPUs that are connected at the bus level. ditambah sistem multiprosesor-ketat mengandung beberapa CPU yang terhubung pada tingkat bus. These CPUs may have access to a central shared memory (SMP or UMA ), or may participate in a memory hierarchy with both local and shared memory ( NUMA ). CPU ini mungkin memiliki akses ke memori bersama pusat (SMP atau UMA ), atau dapat berpartisipasi dalam hirarki memori dengan baik dan berbagi memori lokal ( NUMA ). The IBM p690 Regatta is an example of a high end SMP system. Intel Xeon processors dominated the multiprocessor market for business PCs and were the only x86 option until the release of AMD 's Opteron range of processors in 2004. The IBM P690 Regatta adalah contoh dari sistem SMP high-end. Intel Xeon prosesor mendominasi pasar multiprosesor untuk PC bisnis dan opsi x86 hanya sampai rilis AMD 's Opteron berbagai prosesor pada tahun 2004. Both ranges of processors had their own onboard cache but provided access to shared memory; the Xeon processors via a common pipe and the Opteron processors via independent pathways to the system RAM . Kedua rentang prosesor memiliki onboard cache mereka sendiri tetapi memberikan akses ke memori bersama; prosesor Xeon melalui pipa umum dan prosesor Opteron melalui jalur independen terhadap sistem RAM .Chip multiprocessors, also known as multi-core computing, involves more than one processor placed on a single chip and can be thought of the most extreme form of tightly-coupled multiprocessing. Chip multiprocessors, juga dikenal sebagai multi-core komputasi, melibatkan lebih dari satu prosesor ditempatkan pada chip tunggal dan dapat dianggap bentuk paling ekstrim dari-coupled multiprocessing erat. Mainframe systems with multiple processors are often tightly-coupled. Mainframe dengan sistem multiprosesor sering erat-coupled. Loosely-coupled multiprocessor systems (often referred to as clusters ) are based on multiple standalone single or dual processor commodity computers interconnected via a high speed communication system ( Gigabit Ethernet is common). Loosely-coupled sistem multiprosesor (sering disebut sebagai kelompok ) berdasarkan beberapa tunggal atau dual prosesor mandiri komoditi komputer saling berhubungan melalui suatu sistem komunikasi kecepatan tinggi ( Gigabit Ethernet biasa). A Linux Beowulf cluster is an example of a loosely-coupled system. Sebuah Linux cluster Beowulf adalah contoh dari loosely-coupled sistem. Tightly-coupled systems perform better and are physically smaller than loosely-coupled systems, but have historically required greater initial investments and may depreciate rapidly; nodes in a loosely-coupled system are usually inexpensive commodity computers and can be recycled as independent machines upon retirement from the cluster. -Ditambah sistem ketat melakukan lebih baik dan secara fisik lebih kecil dari yang digabungkan sistem longgar, tetapi secara historis diperlukan investasi awal yang lebih besar dan mungkin akan terdepresiasi cepat; node dalam sebuah-coupled system longgar biasanya komputer komoditas murah dan dapat didaur ulang seperti mesin independen terhadap pensiun dari cluster. Power consumption is also a consideration. Konsumsi daya juga pertimbangan. Tightly-coupled systems tend to be much more energy efficient than clusters. sistem ketat-digabungkan cenderung menjadi energi jauh lebih efisien dari cluster. This is because considerable economy can be realized by designing components to work together from the beginning in tightly-coupled systems, whereas loosely-coupled systems use components that were not necessarily intended specifically for use in such systems. Hal ini karena ekonomi yang cukup besar dapat direalisasikan dengan merancang komponen untuk bekerja sama dari awal dalam sistem erat-coupled, sedangkan sistem loosely-coupled menggunakan komponen yang tidak selalu ditujukan khusus untuk digunakan dalam sistem seperti itu. [ edit ] Software implementation issues [ sunting ] Perangkat Lunak masalah implementasi
See also: Software lockout Lihat juga: lockout Perangkat Lunak [ edit ] SISD multiprocessing [ sunting ] SISD multiprocessingIn a single instruction stream, single data stream computer one processor sequentially processes instructions, each instruction processes one data item. Dalam aliran instruksi tunggal, single data stream komputer satu prosesor secara berurutan proses instruksi, setiap instruksi proses data satu item. One example is the "von Neumann" architecture with RISC. Salah satu contoh adalah "von Neumann" arsitektur dengan RISC.[ edit ] SIMD multiprocessing [ sunting ] SIMD multiprocessingIn a single instruction stream, multiple data stream computer one processor handles a stream of instructions, each one of which can perform calculations in parallel on multiple data locations. Dalam aliran instruksi tunggal, beberapa arus data satu prosesor komputer menangani aliran instruksi, masing-masing yang dapat melakukan perhitungan secara paralel pada data lokasi beberapa.SIMD multiprocessing is well suited to parallel or vector processing , in which a very large set of data can be divided into parts that are individually subjected to identical but independent operations. SIMD multiprocessing cocok sekali untuk atau vektor pemrosesan paralel , di mana set yang sangat besar data dapat dibagi menjadi bagian-bagian yang dikenakan secara individual tetapi mandiri operasi identik. A single instruction stream directs the operation of multiple processing units to perform the same manipulations simultaneously on potentially large amounts of data. Aliran instruksi tunggal mengarahkan pengoperasian beberapa unit pengolahan untuk melakukan manipulasi yang sama secara simultan pada jumlah berpotensi besar data. For certain types of computing applications, this type of architecture can produce enormous increases in performance, in terms of the elapsed time required to complete a given task. Untuk beberapa jenis aplikasi komputer, arsitektur jenis ini dapat menghasilkan peningkatan besar dalam kinerja, dalam hal waktu yang telah berlalu yang dibutuhkan untuk menyelesaikan tugas yang diberikan. However, a drawback to this architecture is that a large part of the system falls idle when programs or system tasks are executed that cannot be divided into units that can be processed in parallel. Namun, kelemahan untuk arsitektur ini adalah bahwa sebagian besar dari sistem jatuh siaga bila program atau tugas-tugas sistem yang dijalankan yang tidak bisa dibagi menjadi unit yang dapat diproses secara paralel. Additionally, programs must be carefully and specially written to take maximum advantage of the architecture, and often special optimizing compilers designed to produce code specifically for this environment must be used. Selain itu, program harus hati-hati dan khusus ditulis untuk mengambil keuntungan maksimum dari arsitektur, dan mengoptimalkan kompiler sering khusus yang dirancang untuk menghasilkan kode khusus untuk lingkungan ini harus digunakan. Some compilers in this category provide special constructs or extensions to allow programmers to directly specify operations to be performed in parallel ( eg, DO FOR ALL statements in the version of FORTRAN used on the ILLIAC IV , which was a SIMD multiprocessing supercomputer ). Beberapa compiler dalam kategori ini memberikan khusus konstruksi atau ekstensi untuk memungkinkan programmer untuk secara langsung menentukan operasi yang akan dilakukan secara paralel (misalnya, laporan DO UNTUK SEMUA dalam versi FORTRAN digunakan pada ILLIAC IV , yang merupakan SIMD multiprocessing superkomputer ). SIMD multiprocessing finds wide use in certain domains such as computer simulation , but is of little use in general-purpose desktop and business computing environments. [ citation needed ] multiprocessing SIMD menemukan luas digunakan dalam domain tertentu seperti simulasi komputer , namun penggunaan sedikit-tujuan umum dan komputasi desktop lingkungan bisnis. [ rujukan? ] [ edit ] MISD multiprocessing [ sunting ] MISD multiprocessingMISD multiprocessing offers mainly the advantage of redundancy, since multiple processing units perform the same tasks on the same data, reducing the chances of incorrect results if one of the units fails. multiprocessing MISD terutama menawarkan keuntungan dari redundancy, sejak beberapa unit pengolahan melakukan tugas yang sama pada data yang sama, mengurangi kemungkinan hasil yang salah jika salah satu unit gagal. MISD architectures may involve comparisons between processing units to detect failures. arsitektur MISD mungkin melibatkan perbandingan antara pengolahan unit untuk mendeteksi kegagalan. Apart from the redundant and fail-safe character of this type of multiprocessing, it has few advantages, and it is very expensive. Terlepas dari karakter berlebihan dan gagal-aman dari jenis multiprocessing, ia memiliki beberapa keuntungan, dan sangat mahal. It does not improve performance. Itu tidak meningkatkan kinerja. It can be implemented in a way that is transparent to software. Hal ini dapat diimplementasikan dengan cara yang transparan dengan perangkat lunak. It is used in array processors and is implemented in fault tolerant machines. Hal ini digunakan di prosesor array dan diimplementasikan dalam mesin fault tolerant.[ edit ] MIMD multiprocessing [ sunting ] MIMD multiprocessingMIMD multiprocessing architecture is suitable for a wide variety of tasks in which completely independent and parallel execution of instructions touching different sets of data can be put to productive use. arsitektur MIMD multiprocessing cocok untuk berbagai tugas yang benar-benar independen dan pelaksanaan paralel instruksi menyentuh set data yang berbeda dapat dimanfaatkan dengan produktif. For this reason, and because it is easy to implement, MIMD predominates in multiprocessing. Untuk alasan ini, dan karena mudah untuk menerapkan, MIMD menonjol dalam multiprocessing.Processing is divided into multiple threads , each with its own hardware processor state, within a single software-defined process or within multiple processes. Pengolahan dibagi menjadi beberapa benang , masing-masing dengan prosesor hardware negara sendiri, dalam proses perangkat lunak didefinisikan tunggal atau dalam beberapa proses. Insofar as a system has multiple threads awaiting dispatch (either system or user threads), this architecture makes good use of hardware resources. Sepanjang sistem mempunyai beberapa thread menunggu pengiriman (baik sistem atau benang pengguna), arsitektur ini membuat baik penggunaan sumber daya perangkat keras. MIMD does raise issues of deadlock and resource contention, however, since threads may collide in their access to resources in an unpredictable way that is difficult to manage efficiently. MIMD tidak mengangkat isu kebuntuan dan pertentangan sumber daya, namun, karena benang mungkin bertabrakan dalam akses mereka ke sumber daya dengan cara yang tak terduga yang sulit untuk mengelola secara efisien. MIMD requires special coding in the operating system of a computer but does not require application changes unless the programs themselves use multiple threads (MIMD is transparent to single-threaded programs under most operating systems, if the programs do not voluntarily relinquish control to the OS). MIMD memerlukan khusus coding di sistem operasi komputer tapi tidak memerlukan perubahan aplikasi kecuali program sendiri menggunakan beberapa thread (MIMD bersifat transparan bagi program single-threaded di bawah sistem operasi sebagian besar, jika program tidak secara sukarela menyerahkan kontrol untuk OS) . Both system and user software may need to use software constructs such as semaphores (also called locks or gates ) to prevent one thread from interfering with another if they should happen to cross paths in referencing the same data. Baik dan pengguna perangkat lunak sistem mungkin perlu untuk menggunakan perangkat lunak konstruksi seperti semaphores (disebut juga kunci atau gerbang) untuk mencegah satu thread dari campur dengan yang lain jika mereka harus terjadi untuk menyeberang jalan di referensi data yang sama. This gating or locking process increases code complexity, lowers performance, and greatly increases the amount of testing required, although not usually enough to negate the advantages of multiprocessing. Proses gating atau penguncian meningkatkan kerumitan kode, menurunkan kinerja, dan sangat meningkatkan jumlah pengujian yang diperlukan, meskipun biasanya tidak cukup untuk meniadakan keuntungan dari multiprocessing. Similar conflicts can arise at the hardware level between processors (cache contention and corruption, for example), and must usually be resolved in hardware, or with a combination of software and hardware ( eg, cache-clear instructions). konflik serupa dapat muncul pada tingkat hardware antara prosesor (cache pertengkaran dan korupsi, misalnya), dan biasanya harus diselesaikan dalam perangkat keras, atau dengan kombinasi antara perangkat lunak dan perangkat keras (misalnya,-jelas instruksi cache). |
How to Play Spades for Free - DrMCD
BalasHapusThe spades game is played with 4 players. The objective is 평택 출장샵 to be the 동두천 출장마사지 first to win 군산 출장안마 the trick. 진주 출장안마 This can be either a 문경 출장샵 high roll, low, or a low roll.