Click here to close now.

Welcome!

Microservices Journal Authors: AppDynamics Blog, Kevin Jackson, Pat Romanski, Liz McMillan, Blue Box Blog

Related Topics: Cloud Expo, Java, Microservices Journal, Security, Big Data Journal, SDN Journal

Cloud Expo: Blog Post

Traffic Advisory: Your Packets May Be Delayed

The past few years have seen a dramatic improvement in the latency in network switches

The past few years have seen a dramatic improvement in the latency in network switches. Single ASIC based switches can all pretty much switch packets in less than a microsecond. Current 10GE switching silicon provides anywhere from 300 to 800 nanoseconds, specialized silicon shaves that to less than 200 nanoseconds when limiting the amount of searching that needs to be done by reducing the size of lookup tables. Even other solutions play some smart tricks by providing forwarding hints for intermediate switches make those lookups take less than 50 nanoseconds.

Notice_Reduce_Speed_When_Entering_Parking_Lot_Signs_T41151-ba

Modular switches inherently have a higher latency. Line cards on modular switches typically have multiple ASICs, those ASICs are connected through a single or multi stage fabric. Each step takes time, resulting in latencies varying from around a microsecond when a packet stays on the same ASIC, to possibly 5-15 microseconds when a packet needs to travel through the fabric and back.

The speediest of ASICs achieve these low numbers by employing cut through switching. Cut through switching allows the ASIC to start transmitting a packet when enough of the header has been received to make a forwarding decision. The ASIC does not wait for the entire packet to be received (the more traditional store-and-forward mechanism), within the first few 100 bytes the forwarding decision has been made, and that same header (modified or not) is being transmitted out the destination port. It's somewhat odd to think that through, but the first bits of a packet may be received by the destination system before the last bits have left the first switch in the network.

Cut through switching comes with quite a few "buts". Most switches can only deploy cut through switching when the source and destination port are the same speed. 10GE in and 40GE out or vice versa is rarely supported and the ASIC will automatically switch to store-and-forward for those packets. For good reason. If a packet comes at you at 40GE rates, you simply cannot transmit it out a 10GE interface, that interface is not fast enough. In the reverse direction speed is not the issue, but if you were to employ cut through switching, for the duration of that packet your 40GE interface effectively runs at 10GE with lots of pauses in between pieces of a packet (figuratively speaking).

In addition, when the destination port has another packet being transmitted or in the queue, a new packet cannot be sent cut through. When another packet is ahead of you, you need to wait. And you may need to wait for quite a while. We often forget that it takes 1.2 microseconds to transmit a 1500 byte packet on a 10GE interface, more than 7 microseconds for a jumbo packet. When the destination port is being paused due to Data Center Bridging Priority Flow Control (PFC), the packet will be queued for store and forward. And make sure you add an extra 3 microseconds for 10GBASE-TX.

Datacenters are on a path to fewer layers of switching. Spine and leaf networks are being pitched as the best performing, low cost solution for dense networks. If you carefully examine the specs and pitches of some of the newer spine switches, you will notice that all of them make a case for deep buffers. Deep buffers assume that this switch needs to manage congestion by buffering packets, why else would you design expensive and power hungry buffer memory into those switches. Buffering and low latency don't go well together. If your spine and leaf network has nothing much to do, you may well see latency numbers of only a few microseconds or better. If the spine layer needs to buffer your packet, this number can jump up quickly to 10s of microseconds. And those large buffers seem to suggest it will.

There certainly are applications that are very sensitive to latency. Financial institution low latency trading networks are the example always used, and there are High Performance Computing environments with database, RDMI or similar applications that benefit from really low latency. Engineering the traffic in such a way that none of the low latency disruptive events described above happen is hard. Really hard. Extremely hard if there is a lot of traffic. Or a lot of endpoints. Networks that are specifically designed to aggregate and distribute (spine and leaf) will be more prone to these latency increasing scenarios. Creating a network with the ability to create isolated direct paths between switches that serve low latency applications is much more likely to avoid these. And even if the absolute latency is not the lowest, consistent latency with little jitter will certainly help the performance of adaptive mechanisms like TCP.

For the vast majority of applications in a typical enterprise datacenter, or a public cloud provider, the difference between 200 nanosecond switch latency and 1 microseconds is not measurably different in terms of user or application performance. The set of applications that behave noticably different at a few microseconds vs 10s of microseconds end to end latency is probably larger. I argue that you will get better results by carefully engineering the traffic for the applications that do care about low latency and low jitter. Make sure they get the bandwidth they need. Make sure they do not clash in the network with data hungry applications. Affinitize your network. It may just give you the latency and jitter performance you need.

The post Traffic advisory: your packets may be delayed appeared first on Plexxi.

Read the original blog entry...

More Stories By Marten Terpstra

Marten Terpstra is a Product Management Director at Plexxi Inc. Marten has extensive knowledge of the architecture, design, deployment and management of enterprise and carrier networks.

@MicroservicesExpo Stories
This is my first blog post at AppDynamics, and I have to say that it’s great to be aboard. It’s been a hectic first couple of weeks, but the energy, enthusiasm and friendliness of everyone I have met has made me very excited about 2015! AppDynamics has a market leading APM and analytics platform but it also takes great people to make a great company – and AppDynamics has a wealth of talent! So to start my blogging life at AppDynamics I want to focus on something that is a red-hot buzzword in IT...
Cloud computing seems destined to be the way enterprises will use information technology. The drastic cost reductions and impressive operational improvements make the transition an unstoppable trend. The “What is cloud computing?” question now, however, seems to be morphing into “Where is cloud computing going?” While software-as-a-service (SaaS) providers see their market rocketing upward as the easiest and quickest path for cloud adoption, infrastructure-as-a-service providers are suffering...
Software is eating the world. Companies that were not previously in the technology space now find themselves competing with Google and Amazon on speed of innovation. As the innovation cycle accelerates, companies must embrace rapid and constant change to both applications and their infrastructure, and find a way to deliver speed and agility of development without sacrificing reliability or efficiency of operations. In her Day 2 Keynote DevOps Summit, Victoria Livschitz, CEO of Qubell, discussed...
SYS-CON Events announced today that Vicom Computer Services, Inc., a provider of technology and service solutions, will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. They are located at booth #427. Vicom Computer Services, Inc. is a progressive leader in the technology industry for over 30 years. Headquartered in the NY Metropolitan area. Vicom provides products and services based on today’s requirements...
SYS-CON Events announced today that Blue Box has been named “Bronze Sponsor” of SYS-CON's DevOps Summit New York, which will take place June 9-11, 2015, at the Javits Center in New York City, NY. Blue Box delivers Private Cloud as a Service (PCaaS) to a worldwide customer base. Built on a technology platform leveraging decades of operational expertise in cloud and distributed systems, Blue Box Cloud is a managed private cloud product available in both hosted and on-prem versions. Each Blue Box ...
SYS-CON Events announced today that Soha will exhibit at SYS-CON's DevOps Summit New York, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. Soha delivers enterprise-grade application security, on any device, as agile as the cloud. This turnkey, cloud-based service enables customers to solve secure application access and delivery challenges that traditional or virtualized network solutions cannot solve because they are too expensive, inflexible and operational...
As we recently previewed (read more about our London PoP in Jesse's post), Blue Box is opening a new Data Center in London, but hadn't announced the provider. Today we're excited to partner with TelecityGroup, whom we've selected as our data center partner in London. We chose their Powergate location, which is one of the U.K.'s most advanced, flexible and energy efficient carrier-neutral data centres. Why does that matter to you? Well, when customers choose Blue Box, they're trusting us with ...
How do you securely enable access to your applications in AWS without exposing any attack surfaces? The answer is usually very complicated because application environments morph over time in response to growing requirements from your employee base, your partners and your customers. In his session at 16th Cloud Expo, Haseeb Budhani, CEO and Co-founder of Soha, will share five common approaches that DevOps teams follow to secure access to applications deployed in AWS, Azure, etc., and the frict...
One of the most frequently requested Rancher features, load balancers are used to distribute traffic between docker containers. Now Rancher users can configure, update and scale up an integrated load balancing service to meet their application needs, using either Rancher's UI or API. To implement our load balancing functionality we decided to use HAproxy, which is deployed as a contianer, and managed by the Rancher orchestration functionality. With Rancher's Load Balancing capability, users ...
The stack is the hack, Jack. That's my takeaway from several events I attended over the past few weeks in Silicon Valley and Southeast Asia. I listened to and participated in discussions about everything from large datacenter management (think Facebook Open Compute) to enterprise-level cyberfraud (at a seminar in Manila attended by the US State Dept. and Philippine National Police) to the world of entrepreneurial startups, app deployment, and mobility (in a series of meetups and talks in bot...
ProfitBricks, the provider of painless cloud infrastructure IaaS, today released its SDK for Ruby, written against the company's new RESTful API. The new SDK joins ProfitBricks' previously announced support for the popular multi-cloud open-source Fog project. This new Ruby SDK, which exposes advanced functionality to take advantage of ProfitBricks' simplicity and productivity, aligns with ProfitBricks' mission to provide a painless way to automate infrastructure in the cloud. Ruby is a genera...
This is a no-hype, pragmatic post about why I think you should consider architecting your next project the way SOA and/or microservices suggest. No matter if it’s a greenfield approach or if you’re in dire need of refactoring. Please note: considering still keeps open the option of not taking that approach. After reading this, you will have a better idea about whether building multiple small components instead of a single, large component makes sense for your project. This post assumes that you...
This digest provides an overview of good resources that are well worth reading. We’ll be updating this page as new content becomes available, so I suggest you bookmark it. Also, expect more digests to come on different topics that make all of our IT-hearts go boom!
There is no quick way to learn Jython API but to experiment with it. The easiest way is to start with Jytutor extension for XL Deploy. Now you can also use the code snippet for exposing jython/python context in XL Deploy environment by running it directly in Jytutor Here’s how you can go ahead with that Download the Jytutor extension referring to the Jytutor Blog or from the following link https://github.com/xebialabs-community/xld-jytutor-plugin/releases Shutdown your XL Deploy server...
SYS-CON Events announced today that B2Cloud, a provider of enterprise resource planning software, will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. B2cloud develops the software you need. They have the ideal tools to help you work with your clients. B2Cloud’s main solutions include AGIS – ERP, CLOHC, AGIS – Invoice, and IZUM
SYS-CON Events announced today the DevOps Foundation Certification Course, being held June ?, 2015, in conjunction with DevOps Summit and 16th Cloud Expo at the Javits Center in New York City, NY. This sixteen (16) hour course provides an introduction to DevOps – the cultural and professional movement that stresses communication, collaboration, integration and automation in order to improve the flow of work between software developers and IT operations professionals. Improved workflows will res...
Chef and Canonical announced a partnership to integrate and distribute Chef with Ubuntu. Canonical is integrating the Chef automation platform with Canonical's Machine-As-A-Service (MAAS), enabling users to automate the provisioning, configuration and deployment of bare metal compute resources in the data center. Canonical is packaging Chef 12 server in upcoming distributions of its Ubuntu open source operating system and will provide commercial support for Chef within its user base.
SYS-CON Events announced today that MangoApps will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY., and the 17th International Cloud Expo®, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. MangoApps provides private all-in-one social intranets allowing workers to securely collaborate from anywhere in the world and from any device. Social, mobile, and eas...
SYS-CON Media announced today that @ThingsExpo Blog launched with 7,788 original stories. @ThingsExpo Blog offers top articles, news stories, and blog posts from the world's well-known experts and guarantees better exposure for its authors than any other publication. @ThingsExpo Blog can be bookmarked. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago.
There is no doubt that Big Data is here and getting bigger every day. Building a Big Data infrastructure today is no easy task. There are an enormous number of choices for database engines and technologies. To make things even more challenging, requirements are getting more sophisticated, and the standard paradigm of supporting historical analytics queries is often just one facet of what is needed. As Big Data growth continues, organizations are demanding real-time access to data, allowing immed...