{"id":136,"date":"2014-08-27T05:19:36","date_gmt":"2014-08-27T05:19:36","guid":{"rendered":"http:\/\/www.mtin.net\/blog\/?p=136"},"modified":"2014-08-27T05:22:46","modified_gmt":"2014-08-27T05:22:46","slug":"capacity-of-a-ubnt-ap-vs-the-number-of-clients","status":"publish","type":"post","link":"https:\/\/www.mtin.net\/blog\/capacity-of-a-ubnt-ap-vs-the-number-of-clients\/","title":{"rendered":"Capacity of a UBNT AP vs the number of clients"},"content":{"rendered":"<p>Almost all the time I get asked: &#8220;How many clients can an AP handle?&#8221; . My answer is always a very long and drawn out one. There is no set in stone answer. There are many factors which can affect this. I will go into some of these and then explain how to calculate this.<\/p>\n<p>Some things that we will assume.<br \/>\n1.You are calculating on an 802.11N Ap with some kind of polling (TDMA, NSTREME, AIRMAX, etc)<br \/>\n2.You know the MCS values and\/or data rates at channel widths.<br \/>\n3.When I say in an ideal situation I mean basically in the lab. This is our baseline. This means no outside noise, everything is working properly, and all the connected clients are excellent.<\/p>\n<p>Before I get into what affects how many clients can an AP handle we need to shift our thinking a little. We don&#8217;t think in terms of how many clients can an AP handle. We need to think in terms of how much capacity an AP has. This is very important to think in these terms. If you do so things will become more clear and more quantifiable.<\/p>\n<p>So now, on to what affects the total capacity of an AP.<\/p>\n<p>1.The channel width. In and ideal situation you will get more Capacity out of a 20 mhz channel than you will a 10mhz channel.<br \/>\n2.Noise. In the real world you will have interference. If you have interference the noise floor drops, customer signals can&#8217;t reach maximum modulation, and there are retransmits.<br \/>\n3.Plain old signal. Things such as trees, distance, fresnel zone, and antenna gain all affect signal<br \/>\n4.The speed you are giving to each customer.<br \/>\n5.Overselling. The concept of overselling has been around since the dial-up days. You are betting your customers are not all online at the same exact time doing the exact same stuff. So you can oversell your capacity. I will explain this a little more in a bit how this factors in.<\/p>\n<p>Okay, so let&#8217;s dive into this. I am going to use a Ubiquity Rocket M5 as an example. Again, this can be applied to any polling type N radio.<\/p>\n<p>Say we have a Rocket M5. At a 20MHZ channel the best modulation this M5 will do is MCS 15 at 130 Megs of over the air. What do you mean Over the Air? Well there is a difference between actual throughput and the Wireless Data Rate (aka over the air). Your actual throughput\/capacity will be 1\/2 of the over the air rate minus a little for overhead. I factor in 10% overhead for easy figuring.<\/p>\n<p>Back to our figuring. You have 130 megs of capacity on your AP in an ideal situation on a 20 mhz channel. If we do our math:<br \/>\n130 \/ 2 = 65 Megs of Capacity to sell on the AP.<br \/>\nNow here comes the overselling part.<br \/>\nIf we oversell at a 2:1 ratio we have 130 Megs of capacity on the AP.<br \/>\nIf we oversell at a 3:1 ratio we have 195 megs of capacity on the AP.<\/p>\n<p>We can do higher ratios, but it starts to become a moving target. With the spread of Netflix, Youtube, Hulu, and other streaming services the average customer is sucking down more and more bandwidth for longer periods of time. Think of a restaurant with so many tables. If your customers are staying longer and longer, you don&#8217;t have as much seating capacity to turn over for new people to sit down and consume your food. This is for another blog post.<\/p>\n<p>So, let&#8217;s say we are overselling at 3:1. We have 195 megs of capacity. We now need to think about what packages we are selling to our customers. If they are all say 5 meg packages, this means we can safely sell 39 connections to the AP. 195 \/ 5 = 39. You can figure up the math if you have 3 Meg, 10 meg, or a mixture.<\/p>\n<p>Now to the real world (aka why do my customers hate me and my AP sucks?).<\/p>\n<p>The following is a real AP in the wild. \u00a0Blacked out to protect the innocent from script kiddies.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.mtin.net\/blog\/wp-content\/uploads\/2014\/08\/ubnt-main-screen.png\"><img data-attachment-id=\"138\" data-permalink=\"https:\/\/www.mtin.net\/blog\/capacity-of-a-ubnt-ap-vs-the-number-of-clients\/ubnt-main-screen\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.mtin.net\/blog\/wp-content\/uploads\/2014\/08\/ubnt-main-screen.png?fit=818%2C398&amp;ssl=1\" data-orig-size=\"818,398\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"ubnt-main-screen\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.mtin.net\/blog\/wp-content\/uploads\/2014\/08\/ubnt-main-screen.png?fit=300%2C145&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.mtin.net\/blog\/wp-content\/uploads\/2014\/08\/ubnt-main-screen.png?fit=580%2C282&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" class=\"alignnone  wp-image-138\" src=\"https:\/\/i0.wp.com\/www.mtin.net\/blog\/wp-content\/uploads\/2014\/08\/ubnt-main-screen-300x145.png?resize=411%2C203\" alt=\"ubnt-main-screen\" width=\"411\" height=\"203\" data-recalc-dims=\"1\" \/><br \/>\n<\/a>Couple of things to Note (circled in Red).<\/p>\n<p>20 MHZ Channel<br \/>\nCapacity at 45% . This is more important than anything, even CCQ.<br \/>\n43 clients associated.<\/p>\n<p>Let&#8217;s apply our math we learned earlier. We know a 20 mhz channel nets us MCS15 &#8211; 130 Megs<\/p>\n<p>Here is the kicker. \u00a0Our capacity is at 45%. \u00a0This means we only have 45% of 130 megs of Over the air capacity. \u00a0Take this in half (130 \/ 2= 65 \u00a0 45% of 65 = 29.25.<br \/>\nThis means all 43 of these customers are sharing 29 megs of capacity on the AP. \u00a0And the quality isn&#8217;t the greatest (37%). \u00a0So this means there are retransmissions going on between the client and the AP. The client can&#8217;t talk as fast as it is capable of in most cases. This means you can&#8217;t oversell the AP as much due to the quality of the signals being poor. \u00a0It is important to note I am talking about the quality and capacity of the signals, not signal strengths.<\/p>\n<p>If those 43 people are all paying for, let&#8217;s say, 2 Megs download. \u00a0That means your AP needs to support a minimum of 86 megs. Thats without overselling. \u00a0We only have 29 megs in the current state!<\/p>\n<p>We need to get those capacity numbers up. \u00a0How do we do that?<\/p>\n<p>1. Channel selection. A noisy channel will drag everyone down.<\/p>\n<p>2. Antenna gain. \u00a0This can be done at both the client and the AP. \u00a0A higher gain or better quality antenna can cause the clients to &#8220;hear&#8221; better. \u00a0You might not get an increase in signal strengths, but you are looking for an increase in quality. I use a loudspeaker metaphor. \u00a0You can hear a loudspeaker from a far distance, but you might not always be able to make out what is being said. \u00a0If you can somehow make out what is being said more clearly, then you don&#8217;t have to have the speaker turn up the volume.<\/p>\n<p>3. Shielding. This helps eliminate the amount of stuff a client or AP hears.<\/p>\n<p>4. Channel Width. \u00a0Sometimes dropping the channel width down can increase signals, thus raising the overall capacity. \u00a0Keep in mind it will lessen the overall capacity of the AP.<\/p>\n<p>5.Simply getting rid of customers that shouldn&#8217;t be installed. \u00a0We have all done installs that were iffy. \u00a0These can drag down the overall capacity.<\/p>\n<p>I hope this has helped understand. \u00a0The biggest thing I want you all to take away from this is think in terms of the amount of capacity you have to sell, not the number of connections.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Almost all the time I get asked: &#8220;How many clients can an AP handle?&#8221; . My answer is always a very long and drawn out one. There is no set in stone answer. There are many factors which can affect this. I will go into some of these and then explain how to calculate this. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[30,24,86,2],"tags":[87,48,89,25,91,93,94,90,92,189,88],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6VLMf-2c","jetpack-related-posts":[{"id":149,"url":"https:\/\/www.mtin.net\/blog\/bitlomat-photos\/","url_meta":{"origin":136,"position":0},"title":"Bitlomat Photos","author":"j2sw","date":"September 1, 2014","format":false,"excerpt":"Some of you have been asking for some photos of the Bitlomat CPE in real life. The last photo is side by side compared to a UBNT M5 Nano","rel":"","context":"In &quot;Bitlomat&quot;","block_context":{"text":"Bitlomat","link":"https:\/\/www.mtin.net\/blog\/category\/bitlomat\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.mtin.net\/blog\/wp-content\/uploads\/2014\/09\/IMG_2321.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":220,"url":"https:\/\/www.mtin.net\/blog\/bitlomat-announces-passport\/","url_meta":{"origin":136,"position":1},"title":"Bitlomat announces Passport","author":"j2sw","date":"January 9, 2015","format":false,"excerpt":"From the Bitlomat Page: Bitlomat has developed Passport, an innovative point-to-multipoint TDM-derived protocol with the needs of large scale outdoor networks and wireless internet service providers (WISPs) in mind. Passport resolves the hidden terminal issue that is the root cause of poor performance in many large scale wireless networks, and\u2026","rel":"","context":"In &quot;Bitlomat&quot;","block_context":{"text":"Bitlomat","link":"https:\/\/www.mtin.net\/blog\/category\/bitlomat\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1450,"url":"https:\/\/www.mtin.net\/blog\/learningm-certifications-and-the-xisp\/","url_meta":{"origin":136,"position":2},"title":"Learning, certifications and the xISP","author":"j2sw","date":"December 12, 2016","format":false,"excerpt":"One of the\u00a0most asked questions which comes up in the xISP world is \"How do I learn this stuff?\". \u00a0 Depending on who you ask this could be a lengthy answer or a simple one sentence answer. \u00a0Before we answer the question, let's dive into why the answer is complicated.\u2026","rel":"","context":"In &quot;Bitlomat&quot;","block_context":{"text":"Bitlomat","link":"https:\/\/www.mtin.net\/blog\/category\/bitlomat\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2271,"url":"https:\/\/www.mtin.net\/blog\/ac-wave-1-vs-wave-2\/","url_meta":{"origin":136,"position":3},"title":"Ac Wave 1 vs Wave 2","author":"j2sw","date":"May 31, 2018","format":false,"excerpt":"There has been much discussion on the performance of going from an N Series outdoor wireless system to AC.\u00a0 Not all AC is created equal.\u00a0 Right now there is AC Wave 1 and AC Wave 2.\u00a0 Just about all the AC stuff currently in the pipeline for outdoor wireless is\u2026","rel":"","context":"In &quot;Wireless&quot;","block_context":{"text":"Wireless","link":"https:\/\/www.mtin.net\/blog\/category\/wireless\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3371,"url":"https:\/\/www.mtin.net\/blog\/podcast-mum-2019-jj-eric-isp-talk\/","url_meta":{"origin":136,"position":4},"title":"PodCast: Mum 2019 JJ &#038; Eric ISP talk","author":"j2sw","date":"April 15, 2019","format":false,"excerpt":"Sat down With JJ Mcgrath and Eric Sooter at the Mikrotik User meeting in Autin for a little \"routerside chat\" about the WISP industry. #routinglight #routingrf #bendingpackets #podcast Routerside chat with Eric and JJ","rel":"","context":"In &quot;podcast&quot;","block_context":{"text":"podcast","link":"https:\/\/www.mtin.net\/blog\/category\/podcast\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2355,"url":"https:\/\/www.mtin.net\/blog\/ubnt-vs-cambium\/","url_meta":{"origin":136,"position":5},"title":"UBNT vs Cambium -The legal battle","author":"j2sw","date":"August 11, 2018","format":false,"excerpt":"The Recently, it was announced that Ubiquiti Networks Inc (UBNT) is suing Cambium over the Cambium Elevate.\u00a0 \u00a0This will be a long post, so sit back with your favorite beverage and read away. Disclaimers. I have been in the ISP world since 1991. I cut my teeth on BBS systems\u2026","rel":"","context":"In &quot;Cambium&quot;","block_context":{"text":"Cambium","link":"https:\/\/www.mtin.net\/blog\/category\/cambium\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.mtin.net\/blog\/wp-content\/uploads\/2018\/08\/image1.jpeg?fit=544%2C640&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/posts\/136"}],"collection":[{"href":"https:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/comments?post=136"}],"version-history":[{"count":0,"href":"https:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/posts\/136\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/media?parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/categories?post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mtin.net\/blog\/wp-json\/wp\/v2\/tags?post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}