{"id":849,"date":"2015-10-21T12:52:59","date_gmt":"2015-10-21T07:22:59","guid":{"rendered":"http:\/\/abhinav.spsdarj.org\/?p=849"},"modified":"2016-01-14T22:26:25","modified_gmt":"2016-01-14T16:56:25","slug":"does-the-size-of-ram-affect-speed-of-computer-if-yes-how","status":"publish","type":"post","link":"https:\/\/abhinavkr.com\/musings\/2015\/10\/does-the-size-of-ram-affect-speed-of-computer-if-yes-how\/","title":{"rendered":"Does the size of RAM affect speed of computer? If yes, how?"},"content":{"rendered":"<p>Answer by Prasannjeet Singh:<\/p>\n<blockquote><p>Well, in some cases it does and in some, it does NOT affect the speed of the computer.<\/p>\n<p>Let me explain this metaphorically: (I think Indian readers will understand this better!)<\/p>\n<p>There is a street food in India called as Pani-Puri (also Golgappa).<\/p>\n<div class=\"qtext_image_wrapper\"><img decoding=\"async\" class=\"landscape qtext_image zoomable_in zoomable_in_feed\" src=\"https:\/\/qph.is.quoracdn.net\/main-qimg-46ce462e90c9dc0b6e49709d808a4908?convert_to_webp=true\" master_src=\"https:\/\/qph.is.quoracdn.net\/main-qimg-f142e07003b0d0615a5062d2c32ad866?convert_to_webp=true\" master_w=\"640\" master_h=\"480\"\/><\/div>\n<p>\u200b<br \/><b>\u200bLittle about this street food<\/b><i><u> (Skip this para and the next if you already know about it!):<\/u><\/i> Immediately after the request, vendor hands us a plate (size of the plate varies from place to place). After everyone around him has a plate in their hand, he starts making Pani-Puris, ONE at a time (doesn&#039;t matter what actually is in Pani-Puri) and putting one each in everyone&#039;s plate, either clockwise or anti-clockwise, and it goes on until I reach my limit.<\/p>\n<p>Now, my objective as a customer is to finish my Pani-Puri before the vendor serves everyone and comes back to serve me (because the plate generally can&#039;t hold more than one Pani-Puri), no matter how spicy, or hot I feel. Because if I don&#039;t, vendor will skip me and I will have to wait one whole round to get my piece of Pani-Puri. By the way, it only takes 3-4 seconds per serving, so your chance to eat the next one come pretty fast! Also vendors are happy to wait if you are the lone customer. Sometimes, the vendor waits for you which upsets the other customers!<\/p>\n<p>Now consider the plate given to you as the RAM:<\/p>\n<div class=\"qtext_image_wrapper\"><img decoding=\"async\" class=\"landscape qtext_image zoomable_in_feed\" src=\"https:\/\/qph.is.quoracdn.net\/main-qimg-8b8e7d82861cdda04157ad03ea4947bd?convert_to_webp=true\" master_src=\"https:\/\/qph.is.quoracdn.net\/main-qimg-8b8e7d82861cdda04157ad03ea4947bd?convert_to_webp=true\" master_w=\"250\" master_h=\"166\"\/><\/div>\n<p>\u200b<br \/>\u200bAnd your mouth as the Processor.<\/p>\n<p><i>Similarity: Just like the customer picks Pani-Puri from the plate before eating, the processor picks up data\/instructions from the RAM before processing.<\/i><\/p>\n<p><u>Now let us consider few very simple cases:<\/u><br \/>&nbsp;<br \/><b>Case 1 &#8211; Small plate but fast customer:<\/b> If the plate is really small and only one Pani-Puri can be there at a time but you are fast enough, you can easily finish the current Pani-Puri and safely wait for the new one. Maybe you can eat something else in the meantime.<\/p>\n<p><i>Similarly, if you have low RAM but extremely fast processor, your processor can blisteringly process all the instructions stored in the RAM thereby constantly emptying space in the RAM for more and more instructions to come.<\/i><\/p>\n<p><b>Case 2 &#8211; Small plate and average customer:<\/b> Consider you have the same plate as above but you are a slow eater, there will be a time when the whole system comes to a halt when there is one Pani-Puri in your plate, one in your hand waiting to go in but you are already eating one, also the vendor is ready with another one in his hand waiting to put it in the plate as soon as you empty it!<\/p>\n<p><i>Similarly, if you have a rather small RAM and an average processor, your system may start hanging because your RAM is full with new instructions, but the processor is processing previous instructions and there are new instructions waiting to go in the RAM as soon as it had some space. <\/i><\/p>\n<p><b>The reason your computer becomes slow in this case is because<\/b> your computer is a multi-tasker and it has to process most of the instructions at the same time. But as discussed, few of the instructions are not even in the RAM so the processor tries to accommodate all of the instructions inside the RAM by switching instructions back and forth from RAM to the Hard Disk and vice-versa. This process which involves the hard disk is unimaginably slow, thus making your system slow.<\/p>\n<p><b>Case 3 &#8211; Big plate and average customer:<\/b> Now if you are not fast enough to finish one Pani-Puri before the vendor is ready to put one more down there, it is really handy if you have a little bigger plate! This way the vendor continues to add more and more Pani-Puris to your plate and you keep eating them at your own pace. Everyone is happy!<\/p>\n<p><i>Similarly, if you have an average processor but a little better RAM, the processor can process each instructions in it&#039;s own speed while still receiving next instructions safely in the RAM (because of is large size) which the processor will process as soon as it is free from previous instructions. <\/i><\/p>\n<p><b>Case 4 &#8211; Average eater but very big plate:<\/b> Consider that your plate can accommodate 10 Pani-Puris at a time and your friend standing beside you has another plate which can somehow have 15 of them at once, and one serving of Pani-Puri has only 8 pieces. Assuming both of you are average eaters and slower than the vendor, Pani-Puris will keep stacking up in both your plates. Now your friend has a bigger plate than you but will it actually make any difference? No. Because obviously maximum number of Pani-Puris any of you can get is 8 and both your plates are capable of holding that much. Anything above that will just make no difference! <\/p>\n<p><i>Got the hang of it? I think you can figure out the similarity!<\/i><\/p>\n<p><b><u>Therefore, we can conclude that higher RAM does speed up the computer (Case 3), but not always (Case 4).<\/u><\/b><\/p>\n<p>Thank You!<\/p>\n<p>Note: <u>The concepts are not perfectly correct as many more steps are involved before the processor can actually process an instruction, such as the use of cache memory, etc, but these can be safely assumed to understand this particular argument.<\/u><\/p>\n<p>Images:<br \/><span class=\"qlink_container\"><a href=\"http:\/\/baysidejournal.com\/wp\/7-problems-hawkers-face-in-mumbai\" rel=\"noreferrer nofollow\" class=\"external_link\" target=\"_blank\">http:\/\/baysidejournal.com<wbr \/>\/wp\/7-p&#8230;<\/a><\/span><br \/><span class=\"qlink_container\"><a href=\"http:\/\/therestaurantfairy.com\/tag\/best-restaurant-in-chennai-for-chaat-golguppas-pani-puri\" rel=\"noreferrer nofollow\" class=\"external_link\" target=\"_blank\">http:\/\/therestaurantfairy<wbr \/>.com\/ta&#8230;<\/a><\/span><\/p><\/blockquote>\n<p><span class=\"qlink_container\"><a href=\"https:\/\/www.quora.com\/Does-the-size-of-RAM-affect-speed-of-computer-If-yes-how\/answer\/Prasannjeet-Singh\">Does the size of RAM affect speed of computer? If yes, how?<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Answer by Prasannjeet Singh: Well, in some cases it does and in some, it does NOT affect the speed of the computer. Let me explain this metaphorically: (I think Indian readers will understand this better!) There is a street food in India called as Pani-Puri (also Golgappa). \u200b\u200bLittle about this street food (Skip this para&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[11],"tags":[],"class_list":["post-849","post","type-post","status-publish","format-standard","hentry","category-quora-post"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4KGvB-dH","jetpack-related-posts":[{"id":858,"url":"https:\/\/abhinavkr.com\/musings\/2015\/11\/how-does-it-feel-to-have-your-boyfriend-die-at-a-very-young-age\/","url_meta":{"origin":849,"position":0},"title":"How does it feel to have your boyfriend die at a very young age?","author":"Abhinav","date":"November 22, 2015","format":false,"excerpt":"Answer by Jitendra Patil:Not boyfriend, My girlfriend (Lets call her \"N\") passed way few years back. She fought very hard to battle Breast Cancer. It was not the death that most bothered me, but the struggle that she went through every single day. The chemotherapy, the radiations, the bone-marrow tests.\u2026","rel":"","context":"In &quot;Reads&quot;","block_context":{"text":"Reads","link":"https:\/\/abhinavkr.com\/musings\/category\/reads\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":646,"url":"https:\/\/abhinavkr.com\/musings\/2014\/10\/what-does-it-feel-like-to-be-poor\/","url_meta":{"origin":849,"position":1},"title":"What does it feel like to be poor?","author":"Abhinav","date":"October 31, 2014","format":false,"excerpt":"Answer by Anonymous: I was born into family of lower middle class .We are two girls and I'm the Elder one.- Dad and his family are against Girls education and career. I was consistently class topper and excelled in many extra-curricular, But always been put down\u00a0 - \" Learn cooking\u2026","rel":"","context":"In &quot;Quora Post&quot;","block_context":{"text":"Quora Post","link":"https:\/\/abhinavkr.com\/musings\/category\/quora-post\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":717,"url":"https:\/\/abhinavkr.com\/musings\/2015\/02\/can-we-or-do-we-send-up-any-spaceships-that-are-nuclear-powered-like-a-submarine\/","url_meta":{"origin":849,"position":2},"title":"Can we or do we send up any spaceships that are nuclear powered like a submarine?","author":"Abhinav","date":"February 23, 2015","format":false,"excerpt":"To understand Jet propulsion, read this. Answer by Robert Frost: There are a couple of concepts about power and propulsion being confused, here. In a submarine, a nuclear reactor uses fission to generate substantial heat that is used to produce steam that turns turbines to both generate electricity and turn\u2026","rel":"","context":"In &quot;Knowledge&quot;","block_context":{"text":"Knowledge","link":"https:\/\/abhinavkr.com\/musings\/category\/knowledge\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":943,"url":"https:\/\/abhinavkr.com\/musings\/2016\/05\/what-are-some-study-hacks-every-student-should-know\/","url_meta":{"origin":849,"position":3},"title":"What are some study hacks every student should know?","author":"Abhinav","date":"May 24, 2016","format":false,"excerpt":"Answer by Nela Canovic You can try one or all of these 9 study hacks to help you work smarter towards your exams: ONE. Create a morning habit to give your energy for the day ahead. You can be on top of your game by following a morning routine so\u2026","rel":"","context":"In &quot;Knowledge&quot;","block_context":{"text":"Knowledge","link":"https:\/\/abhinavkr.com\/musings\/category\/knowledge\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":813,"url":"https:\/\/abhinavkr.com\/musings\/2015\/04\/what-are-the-most-difficult-and-useful-things-people-have-to-learn-in-their-20s-2\/","url_meta":{"origin":849,"position":4},"title":"What are the most difficult and useful things people have to learn in their 20s?","author":"Abhinav","date":"April 15, 2015","format":false,"excerpt":"Answer by Elarie Mashi:Roman's 65 Rules for Success - The Daily DaterRoman\u2019s Rules for Success, Happiness, and an Awesome LifeNever get more than 9 hours of sleep, or less than 3. I believe in adequate rest, but too much sleep wasting time that could be spent on anything from self-edification\u2026","rel":"","context":"In &quot;Life stuff&quot;","block_context":{"text":"Life stuff","link":"https:\/\/abhinavkr.com\/musings\/category\/life-stuff\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":648,"url":"https:\/\/abhinavkr.com\/musings\/2014\/11\/whats-an-expert-i-sincerely-want-to-know\/","url_meta":{"origin":849,"position":5},"title":"What&#8217;s An Expert? I Sincerely Want To Know.","author":"Abhinav","date":"November 1, 2014","format":false,"excerpt":"Post by James Altucher: On Quora someone asked, \"should answers be categorized by expert \/ non-expert?\" My response: There is no such thing as an expert. First, a couple of anecdotes. In 1799, George Washington caught a cold. He was coughing and he had a fever. This was considered an\u2026","rel":"","context":"In &quot;Quora Post&quot;","block_context":{"text":"Quora Post","link":"https:\/\/abhinavkr.com\/musings\/category\/quora-post\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/abhinavkr.com\/musings\/wp-json\/wp\/v2\/posts\/849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/abhinavkr.com\/musings\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/abhinavkr.com\/musings\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/abhinavkr.com\/musings\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/abhinavkr.com\/musings\/wp-json\/wp\/v2\/comments?post=849"}],"version-history":[{"count":1,"href":"https:\/\/abhinavkr.com\/musings\/wp-json\/wp\/v2\/posts\/849\/revisions"}],"predecessor-version":[{"id":850,"href":"https:\/\/abhinavkr.com\/musings\/wp-json\/wp\/v2\/posts\/849\/revisions\/850"}],"wp:attachment":[{"href":"https:\/\/abhinavkr.com\/musings\/wp-json\/wp\/v2\/media?parent=849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/abhinavkr.com\/musings\/wp-json\/wp\/v2\/categories?post=849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/abhinavkr.com\/musings\/wp-json\/wp\/v2\/tags?post=849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}