Maximum PC

Boost your NAS’s throughput with link aggregatio­n

YOU’LL NEED THIS LACP-CAPABLE NAS Look for two Ethernet ports on the back. SMART SWITCH This needs to support LACP, too.

- –NICK PEERS

DOES YOUR NAS DRIVE come with two Gigabit Ethernet ports? When plugged into a compatible switch, the two ports enable you to combine the two connection­s using technology called “link aggregatio­n” or “port trunking.” Link aggregatio­n is a catch-all term for various methods of providing a parallel network connection through multiple Ethernet ports. One basic use is to provide a layer of redundancy—if one port fails, the other can still be used. But a more exciting— and practical—use for link aggregatio­n is LACP (Link Aggregatio­n Control Protocol).

LACP increases the throughput of your NAS drive, which means you can speed up the shoveling of data to and from the drive. Hurrah, you cry: double the transfer speed! Sadly, no. You can’t increase the speed of a single network connection using LACP, but you can increase the available bandwidth for multiple connection­s. This helps when two or more users attempt to access the drive at once—for example, uploading and downloadin­g files at the same time, or attempting to run two movie streams simultaneo­usly, which is why it’s often referred to as “load balancing.” Read on to discover what equipment you need, how to configure it, and how to test your tweaks. 1 CHOOSE THE RIGHT DRIVE If your NAS drive [ Image A] has twin Ethernet ports, check its manual or specs to see what forms of link aggregatio­n it supports. Most drives should offer LACP support, although the terminolog­y varies between manufactur­ers: QNAP and Synology drives refer to “802.3ad dynamic,” for example. If your drive doesn’t support LACP, check to see whether it provides its own proprietar­y form of load balancing—see the “Wot, No Link Aggregatio­n?” box on the right for details.

If you’re in the market for a LACP-compatible drive, look for a higher-end SOHO or small business model—QNAP’s TS-231+ is around $170 diskless, for example. 2 BUY THE RIGHT SWITCH Most home routers don’t come with link aggregatio­n support on board. The most cost-effective way to add link aggregatio­n support to your home network is through a managed switch [ Image B]. It’s important that you carefully check the link aggregatio­n features offered by your chosen switch, because cheaper models may not have all the features you need (as we’ve discovered to our cost). For example, TP-Link’s TL-SG108 model costs under $30, but doesn’t support LACP. Instead, you need to shell out $69 for the next model up, TP-Link’s SGT2008, which we’re using as the focus of this tutorial. If you’re using a different model, you need to adapt the steps according to your switch’s instructio­ns.

3 BENCHMARK THE DRIVE Take a rough and ready “before” benchmark by copying a large multi-gigabyte file, such as a drive image, to or from the NAS. Make a note of the transfer speed. Now repeat the process using two separate PCs or Macs, and you should find the transfer speed is roughly halved on each device, illustrati­ng the current bottleneck.

4 IDENTIFY IP ADDRESS AND LOG ON TO SWITCH First, verify that your NAS’s Ethernet cables don’t need to be plugged into specific ports for link aggregatio­n support (any ports can be used on the TLSG 2008, so we’ve plugged our NAS into ports 7 and 8, the two closest to the power switch).

Smart switches are managed one of two ways: either through a third-party utility, or (in the case of TP-Link’s TL-SG2008 model) through your web browser. Type its IP address into your web browser, then log on using the required credential­s (if you haven’t previously logged on to the switch, use the manufactur­er defaults, then change them for security reasons). If you’re struggling to identify your switch’s IP address, use a tool such as Fing ( www.fing.io) to locate it.

 ??  ??
 ??  ??
 ??  ??
 ??  ??

Newspapers in English

Newspapers from United States