{"id":96,"date":"2022-05-17T15:14:36","date_gmt":"2022-05-17T14:14:36","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phshighercomputingscience\/?page_id=96"},"modified":"2022-05-17T15:31:00","modified_gmt":"2022-05-17T14:31:00","slug":"system-performance","status":"publish","type":"page","link":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phshighercomputingscience\/system-performance\/","title":{"rendered":"System Performance"},"content":{"rendered":"<p><span data-contrast=\"auto\">There are four factors that affect system performance<\/span><\/p>\n<ol>\n<li data-aria-posinset=\"1\" data-aria-level=\"2\"><b><span data-contrast=\"auto\">Number of\u00a0 Processors<\/span><\/b><\/li>\n<li data-aria-posinset=\"2\" data-aria-level=\"2\"><b><span data-contrast=\"auto\">Width of the data bus<\/span><\/b><\/li>\n<li data-aria-posinset=\"3\" data-aria-level=\"2\"><b><span data-contrast=\"auto\">Cache Memory<\/span><\/b><\/li>\n<li data-aria-posinset=\"4\" data-aria-level=\"2\"><b><span data-contrast=\"auto\">Clock Speed<\/span><\/b><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-102 aligncenter\" src=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phshighercomputingscience\/uploads\/sites\/10042\/2022\/05\/17151849\/GetImage-300x150.jpeg\" alt=\"\" width=\"300\" height=\"150\" srcset=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phshighercomputingscience\/uploads\/sites\/10042\/2022\/05\/17151849\/GetImage-300x150.jpeg 300w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phshighercomputingscience\/uploads\/sites\/10042\/2022\/05\/17151849\/GetImage.jpeg 318w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"color: red\"><span class=\"TextRun SCXO208871347 BCX8\" lang=\"EN-GB\" xml:lang=\"EN-GB\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXO208871347 BCX8\">Number of Processors<\/span><\/span><span class=\"EOP SCXO208871347 BCX8\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">A dual core or quad core processors are where there is more than one CPU (Central Processing Unit) in one chip.\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">A dual processor has two CPU&#8217;s in one chip whereas a quad processor has four CPU&#8217;s in one chip.<\/span><\/p>\n<p><span data-contrast=\"auto\">In theory, the more cores a processors has, the more instructions the processor can execute at the same time, thereby improving system performance.<\/span><\/p>\n<p><span data-contrast=\"auto\">However, the additional cores means additional heat generation so cooling of the processor is important and <\/span><span data-contrast=\"auto\">additional circuitry is required to coordinate the processing between cores<\/span><\/p>\n<p><strong>Is a quad core processor 4 times as fast as a single core processor?\u00a0 No. Take the following example:\u00a0\u00a0<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-104\" src=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phshighercomputingscience\/uploads\/sites\/10042\/2022\/05\/17152117\/GetImage-8-300x92.png\" alt=\"\" width=\"597\" height=\"183\" srcset=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phshighercomputingscience\/uploads\/sites\/10042\/2022\/05\/17152117\/GetImage-8-300x92.png 300w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phshighercomputingscience\/uploads\/sites\/10042\/2022\/05\/17152117\/GetImage-8-768x236.png 768w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phshighercomputingscience\/uploads\/sites\/10042\/2022\/05\/17152117\/GetImage-8-624x192.png 624w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phshighercomputingscience\/uploads\/sites\/10042\/2022\/05\/17152117\/GetImage-8.png 1007w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/><\/p>\n<p><span data-contrast=\"auto\">You may think that a quad core processor could do all 4 processes at the same time.\u00a0\u00a0<\/span><\/p>\n<ul>\n<li data-aria-posinset=\"1\" data-aria-level=\"2\"><strong>Core 3 must wait for cores 1 and 2 to fetch the numbers before it can add them together\u00a0<\/strong><\/li>\n<li data-aria-posinset=\"2\" data-aria-level=\"2\"><strong>Core 4 must wait for core 3 to finish the addition before it can carry out its instruction\u00a0<\/strong><\/li>\n<\/ul>\n<p><span data-contrast=\"auto\">So using a quad processor would be faster than a single core but a 4-fold increase in speed would not happed.<\/span><\/p>\n<p><strong>Is a dual core processor where each core runs at 1.5Ghz faster than a 3Ghz single core processor?\u00a0<\/strong><\/p>\n<p><span data-contrast=\"auto\">No.\u00a0 For the same reason as before one of the cores may have to wait for the other cores to complete an instruction and this would reduce system efficiency.<\/span><\/p>\n<h2 style=\"color: red\">Width of a Data Bus<\/h2>\n<p><span data-contrast=\"auto\">The width of a data bus is the number of wires in the data bus, each of which can transfer 1-bit of data at a time.\u00a0\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">So an 8-bit data bus could transfer 8 bits in a single fetch whereas a 64-bit data bus could transfer 64 bits.\u00a0 Therefore, increasing the width of the data bus should increase system efficiency.<\/span><\/p>\n<p><span data-contrast=\"auto\">If you think of this in terms of transferring ASCII characters a 64-bit data bus could transfer 8 ASCII characters in the same time it would take an 8-bit data bus to transfer 1 ASCII character.<\/span><\/p>\n<p><span data-contrast=\"none\">Increasing the width of the data bus increases the quantity of data that can be carried at one time and so increases the performance of the computer system.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-106\" src=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phshighercomputingscience\/uploads\/sites\/10042\/2022\/05\/17152416\/GetImage-1-300x106.jpeg\" alt=\"\" width=\"566\" height=\"200\" srcset=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phshighercomputingscience\/uploads\/sites\/10042\/2022\/05\/17152416\/GetImage-1-300x106.jpeg 300w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phshighercomputingscience\/uploads\/sites\/10042\/2022\/05\/17152416\/GetImage-1-624x221.jpeg 624w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phshighercomputingscience\/uploads\/sites\/10042\/2022\/05\/17152416\/GetImage-1.jpeg 683w\" sizes=\"auto, (max-width: 566px) 100vw, 566px\" \/><\/p>\n<h2 style=\"color: red\">Cache Memory<\/h2>\n<p><span data-contrast=\"none\">Cache memory is used to improve system performance. Cache memory operates in the same way as RAM in that it is volatile. When the system is shutdown the contents of cache memory are cleared.<strong> Cache memory allows for faster access to data than RAM for two reasons<\/strong>:<\/span><\/p>\n<ul>\n<li data-aria-posinset=\"1\" data-aria-level=\"2\"><strong>Cache uses Static RAM whereas Main Memory (RAM) uses dynamic RAM\u00a0<\/strong><\/li>\n<li data-aria-posinset=\"2\" data-aria-level=\"2\"><strong>Cache attempts to store commonly used instructions\u00a0<\/strong><\/li>\n<\/ul>\n<p><span data-contrast=\"auto\">Static RAM does not need to be refreshed in the same way that dynamic RAM does.\u202f<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-107\" src=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phshighercomputingscience\/uploads\/sites\/10042\/2022\/05\/17152553\/GetImage-2-300x132.jpeg\" alt=\"\" width=\"525\" height=\"231\" srcset=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phshighercomputingscience\/uploads\/sites\/10042\/2022\/05\/17152553\/GetImage-2-300x132.jpeg 300w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phshighercomputingscience\/uploads\/sites\/10042\/2022\/05\/17152553\/GetImage-2.jpeg 582w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/p>\n<h3><span data-contrast=\"none\">The Cache memory can improve the computer system performance as:<\/span><\/h3>\n<ul style=\"font-weight: 400\">\n<li data-aria-posinset=\"1\" data-aria-level=\"2\"><strong>Frequently accessed data\/instructions are held in cache\u00a0<\/strong><\/li>\n<li data-aria-posinset=\"2\" data-aria-level=\"2\"><strong>Faster access memory as it is on the same chip as the processor.\u00a0\u00a0<\/strong><\/li>\n<li data-aria-posinset=\"3\" data-aria-level=\"2\"><strong>It reduces the need to access slower main memory\u00a0<\/strong><\/li>\n<li data-aria-posinset=\"4\" data-aria-level=\"2\"><strong>Cache is static RAM (faster)\u00a0<\/strong><\/li>\n<\/ul>\n<h2 style=\"color: red\">Clock Speed<\/h2>\n<p><span data-contrast=\"auto\">The clock is the electronic unit that synchronises all the activities of the processor by generating pulses at a constant rate.\u00a0 The clock speed is the frequency at which the clock generates these pulses and is used as an indicator of the processor&#8217;s speed.\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">An instruction in the CPU can only start on a pulse of the clock, so the higher the clock speed the more instructions can be carried out per second so improving system performance.\u00a0\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Nowadays, clock speeds are measured in Gigahertz (GHz) with a typical processor speed being 3GHz.\u00a0 This means the CPU performs 3 billion cycles a second and if each instruction only took 1 cycle (unrealistic) then the CPU could carry out 3 billion instructions per second.<\/span><\/p>\n<p><span data-contrast=\"auto\">It may seem simple that to speed up a computer just increase the clock speed, but the faster the clock speed the more heat that is generated and this can overheat and damage the processor.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are four factors that affect system performance Number of\u00a0 Processors Width of the data bus Cache Memory Clock Speed &nbsp; Number of Processors\u00a0 A dual core or quad core processors are where there is more than one CPU (Central Processing Unit) in one chip.\u00a0 A dual processor has two CPU&#8217;s in one chip whereas [&hellip;]<\/p>\n","protected":false},"author":79984,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-96","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phshighercomputingscience\/wp-json\/wp\/v2\/pages\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phshighercomputingscience\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phshighercomputingscience\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phshighercomputingscience\/wp-json\/wp\/v2\/users\/79984"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phshighercomputingscience\/wp-json\/wp\/v2\/comments?post=96"}],"version-history":[{"count":4,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phshighercomputingscience\/wp-json\/wp\/v2\/pages\/96\/revisions"}],"predecessor-version":[{"id":108,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phshighercomputingscience\/wp-json\/wp\/v2\/pages\/96\/revisions\/108"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phshighercomputingscience\/wp-json\/wp\/v2\/media?parent=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}