How To Reduce The Bandwith For Skype In Mac



How To Reduce The Bandwith For Skype In Mac

The amount of internet bandwidth you need with Skype Connect depends on: How much you use your current internet connection for email, browsing and other data. How many concurrent calls your company is likely to experience. Depending on the call capacity you require, it may be appropriate to obtain a dedicated internet connection for Skype Connect. How to Stop Your Webcam From Lagging. Webcams are handy computer peripherals that allow video communication with anyone with an Internet connection, but they require multiple resources. Using a webcam online requires bandwidth and RAM. If either of these are in short supply, or if your webcam's software is out of. It would depend. Audio doesn’t use much, but I don’t know exactly how much skype uses. Your best bet is to see if there is a way to monitor your bandwidth use. Sometimes ISPs have that on your account page or on the modem admin page. Then make a call and take a measurement. The amount of internet bandwidth you need with Skype Connect depends on: How much you use your current internet connection for email, browsing and other data. How many concurrent calls your company is likely to experience. Depending on the call capacity you require, it may be appropriate to obtain a dedicated internet connection for Skype Connect. Unfortunately, macOS 10.14 Mojave does not provide an out-of-the-box a way to limit the bandwidth used by a particular application. Skype for Mac (version 8.39) itself also doesn't provide a quality slider or other rate limiter; it always appears to consume as much as it can.

In this article, we look at ways to track bandwidth usage on a Mac and reduce the impact of anything taking up the network capacity you need.

To start with, let’s briefly look at how we check network capacity.

How to track bandwidth usage on a Mac?

Go to Activity Monitor. It is built into macOS and will give you a rough overview of which apps are using your network connection, along with upload and download speeds.

  1. Go to Applications > Utilities (or type Activity Monitor into Spotlight Search, or ask Siri)
  2. Within Utilities, click on Activity Monitor.
  3. Now go to the Network tab.
  4. This shows various apps and processes and the impact they have on network bandwidth.
  5. Click on Sent Bytes and rank from highest to lowest to see which apps are using more bandwidth than others.

Now that you’ve got an idea of what is taking up network bandwidth, there are several ways to reduce bandwidth usage.

How to reduce bandwidth usage on a Mac?

1. Delete anything that is using too much internet

How To Reduce The Bandwith For Skype In Mac
  1. Either go to the app itself and close it down
  2. Or use Force Quit in the top menu if an app isn't responding
  3. Now ask whether you need this app. If not: deleting it within Applications is the first step towards clearing out space on your Mac.

2. What if an app keeps running in the background?

Most apps that aren't responding will comply with Force Quit.

You can then use Activity Monitor to make sure they're not still running in the background.

If you want to delete them, removing them from Applications should delete most of the data connected with that app and any background processes. However, it may not remove everything, including cache files, that can still impact network bandwidth use, which we can help you solve later in this article.

But in some cases, when an app keeps running in the background (and it’s not responding to Force Quit or even being deleted), this could indicate that your Mac has a malware infection. Below is how to remove them.

3. Find and delete hidden apps

Apps that shouldn’t be running in the background using all bandwidth and processing memory are real nuisances. Without realizing it, you could be the victim of hackers or bots using your CPU to mine cryptocurrency, or simply one or more apps with bugs that don’t close when you need them to shut down.

How

Either way, apps continuing to run is a problem that needs solving, and it can be solved with CleanMyMac X.

1. Download CleanMyMac X (for free, here);

2. Within this easy-to-use Mac app, there are several tools that solve this problem: Uninstaller, Malware Removal, and an Optimization tool that can clean up your Login or Startup Items;

3. To be sure you’ve got your Mac running as good as new, use all three, then restart it.

4. Check your Mac for malware

Malware and other viruses are either stealing personal data and sharing it with a control server, or they're using your Mac processing power to mine Bitcoins or other forms of cryptocurrency (in many cases, these viruses go undetected, even if you've already got an antivirus software running). So one solution for this is to download CleanMyMac X (do that for free, here) and use the Malware Removal tool.

Click Scan, and you'll see what has been hiding in the background using valuable processing power and network bandwidth. Thankfully, in a click, you can erase anything that has been lurking around for good.

5. Remove Mac startup apps

Other ways to avoid apps from taking up too much network bandwidth include checking what is running in the startup menu.

Normally, when a Mac starts, a set of pre-programmed apps (or apps you once thought were useful) start running automatically. But if you don't need all of these to open, then now automatically is a good time to change the apps that open on launching.

Here is how you do that:

  1. Open System Preferences.
  2. Go to your User name.
  3. Click on Login Items.
  4. Now use the ‘-‘ symbol to remove apps.
  5. Then enter your password when prompted.
  6. Now your startup-sequence should be shorter, simpler, and use less bandwidth.

Trying one or more of the above solutions should give you more bandwidth and ensure your Mac runs smoother.

6. Improve internet speed

Internet speed can be improved in many different ways. Either by contacting your internet provider or making improvements around the home or office or with changes you can make to your Mac. Here is one way to do that:

1. Download CleanMyMac X;

2. Use the Menu App to see what your download and upload internet speed is;

3. Now use the Privacy Module to clean up Wi-Fi connections and delete old data;

4. It should be working as good as new again.

As mentioned earlier, CleanMyMac X worth downloading. It’s a powerful tool for boosting the power of your Mac. Get it now and keep your Mac up to speed.

In a previous blog post I talked about how administrators and architects should place more emphasis on planning for application sharing bandwidth in their Skype4B deployments. Armed with that information, the next logical progression of this blog series continues the focus on application sharing and discusses the available methods within Skype4B to manage and control the bandwidth requirements for application sharing.

General Methods of Controlling Bandwidth

Speaking broadly, there are typically two methods of controlling any sort of application bandwidth across enterprise networks. Both methods are not mutually exclusive and can be used in concert with one another, but it is largely up to network engineers and the application engineers to work together to find the best solution for your environment.

Control the traffic at the network

For most of the network engineers out there, this is the “preferred method”. Like controlling traffic on highways via “normal lanes” and “HOV lanes”, network traffic is separated, classified and handled in a manner that is configured by the network engineers to give preferential treatment (and bandwidth) to high priority traffic while giving normal treatment to non-priority traffic. This is most generally referred to as Quality of Service (QoS). QoS is typically seen in two forms:

  1. Differentiated Services – This is a QoS designation split into two layers of the OSI stack
    1. Class of Service (CoS) – This is a Data Link Layer classification method whereby a 3-bit CoS field is included in Ethernet headers in a 802.1Q VLAN
    2. Differentiated Services Code Point (DSCP) – This is a Network Layer classification method whereby a 6-bit DSCP value is included in the 8-bit Differentiated Services field within the IP headers of traffic
      1. This is typically the more common QoS model and the preferred model today.
  2. Integrated Services – This is a QoS designation where the traffic specification part (TSPEC) and request specification part (RSPEC) help to define and classify the traffic into unique flows. This is not a common QoS model still in deployment.

In either case above, network engineers can control, on a per-hop basis, how each classification of traffic is treated along the entire network path. While flexible and powerful, this method requires engineers to know all the various types of traffic on the network and to classify it accordingly (and ensure it is classified across all devices), which can be an arduous task and result in traffic being incorrectly classified. In addition to the work required, as more and more applications move to SaaS available across the Internet, QoS is lost as the traffic leaves the corporate network and moves across the Internet which restricts QoS from being available from end-to-end.

How To Reduce The Bandwidth For Skype In Macbook

Control the traffic through the application

For most of the application engineers out there, this is the “preferred method”. Think of this as the “honor system” where some type of built-in application configuration tells the application to limit itself to X bandwidth when utilizing the network. While undoubtedly easy to deploy, this method has no awareness of other traffic around it and no integration with network devices that send/receive traffic, which results in a more limited “one-size-fits-all” approach.

How does Skype4B fit in?

How To Reduce The Bandwith For Skype In Mac

In almost all enterprise deployments, architects and engineers desire to identify the traffic produced by Skype4B and fit that traffic within the available enterprise network configurations. Skype4B offers both of the configurations above and can be configured for one or both to suit the needs of the enterprise network.

Limit Application Sharing Bandwidth Within On-Premises Skype4B Conference Policies

This method is by far the easiest option to limiting application sharing bandwidth within Skype4B. The only built-in method to control application sharing bandwidth is via the Conferencing Policies within Skype4B. By default, the Global policy has no functional restriction on bitrate and is set to 50000.

Get-CsConferencingPolicy | select Identity,AppSharingBitRateKb | fl

If you decide to limit bandwidth, two approaches could be taken:

  1. Alter the Global policy – while this approach is easiest, it will impact all users that don’t have a site or user policy assigned to them. As a result, you may limit users to an artificially low bandwidth in certain sites that have sufficient bandwidth.
  2. Create a Site or User policy – this approach allows flexibility in deployment by tailoring bandwidth requirements to a per-site or a per-user basis. As a result, you can limit users in a low bandwidth site to a low bitrate while allowing users in high bandwidth sites to a higher bitrate.

Set-CsConferencingPolicy –Identity Global –AppSharingBitRateKb 1000

New-CsConferencingPolicy –Identity TestPolicy –AppSharingBitRateKb 1000

Limits of this approach

While the second option above is my preferred option for handling bandwidth natively within Skype4B, it does come with limits. The biggest current limitation is that the AppSharingBitRateKb parameter is handled per-user and only is applicable to the presenter. Where this becomes a challenge is with branch sites that have much lower bandwidth than other larger branch sites with high bandwidth.

In the figure above, when the user in Site B goes to share their desktop with the user in Site A, the effective limitation is based on the user in Site B. With Site A limited to 1.5 Mbps, that could result in 67% of available bandwidth being consumed for a single desktop share. When you add in the possibility of multiple users sharing desktops between the two sites, oversubscription of the 1.5 Mbps circuit becomes a very real risk. Also of note is that this AppSharingBitRateKb behavior is applied both in P2P calls and within multiparty calls.

Impact of this approach with Lync for Mac

Through several of my deployments I’ve noticed there seems to be a significant difference with RDP performance on Mac OS clients, especially the Retina display models, when the AppSharingBitRateKb setting is reduced to a low value. Interestingly enough, the low value doesn’t seem to impact Windows-based clients but users on Lync 2011 for Mac would report that application sharing was largely unusable. In scenarios where there are Lync for Mac clients I would strongly suggest only using the Optimal numbers referenced in my previous post for the AppSharingBitRateKb setting.

Limit Application Sharing Bandwidth Within Skype4B Online Conferencing Policies

Sadly, this is a bit of a bait-and-switch option because it really isn’t an option at all. Microsoft pre-creates and manages all conferencing policies within Skype4B Online and as a result you cannot create new policies or edit existing ones. As a result of this any user accounts that are homed online are restricted to using the AppSharingBitRateKb value Microsoft has defined, which is currently 50000. For all intents and purposes, the application sharing bandwidth is not restricted for Skype4B Online deployments so architects and engineers should carefully plan your network ingress/egress points to ensure sufficient bandwidth is available. If bandwidth restrictions are required in Skype4B Online deployments, you must begin to examine QoS restrictions for each modality.

Limit Application Sharing Bandwidth for On-Premises Skype4B Deployments through QoS

There are a number of articles on the Internet that already talk about this overall process but it boils down to telling the Skype4B client to utilize certain port ranges for each modality and then configuring client/network devices to treat each modality in a certain way by dedicating queues (loosely equal to bandwidth) for each network hop. The pre-requisite to all of this is that individual port ranges must be specified first. The overall process of doing so consists of:

  1. Configure port ranges for clients – Remember that each port range should be unique and not overlap. Additionally, you should have 20 ports per modality.
  2. Configure port ranges for the MCUs – Remember that each port range should be unique and not overlap. Since MCUs handle modalities from multiple clients be very careful reducing the port numbers to a small number of ports per modality. Best practices should be observed here and stick as closely to what Microsoft puts on TechNet.
  3. Configure port ranges for Mediation Servers – Remember that the audio port range should be unique and not overlap any other server port ranges, such as video or application sharing. Since the Mediation Server handles all traffic to/from IP-PBXs and the PSTN, be very careful reducing the port numbers. Best practices should be observed here and stick as closely to what Microsoft puts on TechNet.

Once port ranges are defined, the clients and servers will begin utilizing those ranges for each modality when communicating on the network. With individual port ranges in use, architects can then begin to classify the traffic using QoS using two main methods:

  1. Mark DSCP utilizing Group Policy based QoS policies on Windows clients and servers – This method is typically easiest but requires that access-layer switches trust DSCP markings coming from the endpoints. If switches aren’t configured for mls qos trust dscp, then DSCP markings will be stripped and classification is lost.
  2. Mark DSCP utilizing class-map policies based off the port ranges per modality – This method requires more work to configure every access-layer switch across the enterprise to mark DSCP based on either source or destination port ranges, but is sometimes the only available option if network engineers choose not to trust client/server DSCP markings.

A typical DSCP/CoS classification of traffic is listed below:

ModalityDSCP ValueCoS Value
Audio466
Video344
SIP Signaling243
Application Sharing182
File Transfer101

Once you have calculated the expected application sharing bandwidth through the Lync Bandwidth Calculator for each site in your environment, network engineers can configure QoS queues appropriately to handle the expected traffic.

Limit Application Sharing Bandwidth for Online Skype4B Deployments through QoS

This method is similar to on-premises deployments but is limited because administrators cannot define the port ranges utilized for Online Skype4B deployments. Microsoft has the following port ranges pre-created for clients that are homed Online:

Source PortProtocolUsage
50000-50019UDPAudio
50020-50039UDPVideo
50040-50059TCPApplication Sharing and File Transfer

How To Reduce The Bandwidth For Skype In Mac Download

Architects still have the option to utilize Group Policy based QoS policies or class-map policies, but those have two major limitations:

  1. Having QoS in place mostly benefits P2P traffic – In this scenario the application sharing never leaves your corporate network so it can be controlled end-to-end.
  2. Skype4B Meetings and multi-party communications lose QoS upon egressing to the Internet – In this scenario you can maintain QoS up to the point where the traffic leaves your network. This can be helpful on your network, especially for endpoints that may need to traverse the corporate WAN before egressing to the Internet, but you are still at the mercy of traffic patterns on the Internet for a great deal of the hops and thus cannot guarantee QoS end-to-end.
Mac

Despite not being able to maintain QoS end-to-end in an Online deployment, you can still classify the traffic into discrete queues to ensure the bandwidth is allocated for application sharing which in turn ensures that application sharing bandwidth doesn’t impact other traffic on your network. Without reinventing the wheel, check out this blog post for information on configuring QoS for Online deployments.

The best option: utilize both application limits and QoS

For every on-premises deployment out there you should absolutely be coordinating application limiting in concert with QoS. In doing so you gain the following benefits:

  1. Predictable application BW limits – by configuring the AppSharingBitRateKb parameter you ensure that a maximum amount of bandwidth will be requested by Skype4B clients
  2. Predictable QoS queue utilization – by having expected bandwidth from the Skype4B team network engineers can map expected bandwidth consumption to available queues.
  3. Better management through improved communication between network and application teams – this one may not seem obvious but the more the two teams talk the less chance there is of misconfiguration and the better the solution is for the end user.
    1. If queues become saturated, should the application reduce bandwidth (and potentially harm the end user performance) or should queues be increased or potentially both options?
    2. If network bandwidth increases at a site, are queues going to be increased and if so, how will that impact the configuration within the application?
    3. Based on usage patterns of existing sites, how should network engineers plan for bandwidth for new sites that come online?

Note: There’s a number of other options here I’ve left out, but in every case the benefits are helpful to both the network team AND the application team.

For Online-only deployments, you should still utilize QoS even though you are limited in configuring the application. Despite granular application control not being available, network engineers can still classify traffic and give a roughly-predictable utilization for each queue of traffic (application sharing included).

But what about Call Admission Control?

An astute reader would point out that Skype has Call Admission Control that can be used to restrict traffic as well, and you would be correct to say that additional control may be available. Call Admission Control is only available for the following configurations:

  1. On-premises deployments – CAC is currently not available for users that are homed Online
  2. Audio/Video modalities – CAC is currently available for audio and video modalities only. Application sharing is not a supported CAC modality today.

If CAC is available for your deployment, configure it in tandem with your QoS configuration. In fact, CAC is my preferred approach to bandwidth limits for audio and video modalities because it allows flexibility per-site AND includes reporting. Conferencing Policy configurations of audio and video are applicable to each user regardless of where the user physically resides on the network, which can result in a user using more bandwidth than may be available if the user is travelling between sites. Since application sharing currently isn’t supported in CAC today, architects need to utilize Conference Policies for the foreseeable future.