Network Performance Issues    
Improving Network Performance

There are many things you can do to make your network perform better with a multi-user database application such as CAPITAL Series 7. Database applications have requirements that are different from word processors and spreadsheets. Much greater demands are placed on your network "throughout" or "bandwidth" and the speed of your hard disk subsystem. The most important issues to consider are:
  • Your network server.
  • Your network server specification and configuration.
  • The network topology. This covers network cards, cables, hubs (or switches) and techniques such as subnetting.
  • Other traps and problems to watch for.
 
   
 

File Server Hardware For Your Network

The system requirements for a network file server will be at least the same as those for any PC connected to your network, but this should be considered the absolute minimum. A file server should normally be a faster, higher-capacity system, as it must handle file requests from multiple computers across your network. Network file servers may also be responsible for handling your company e-mail and Internet access, web site, printing, etc. These tasks also consume resources and can adversely effect performance. For example, if your server is also handling web site access and access to your web site is heavy, your local network performance is likely to be poor because the server will be overloaded. In these cases you will need to set-up additional servers to manage some of these tasks in order to restore your local area network's speed.

A network file server should not be used like a regular PC in your company. No one should run business applications such as Microsoft Office or even CAPITAL on it for routine data entry tasks. (Although you may wish to run certain CAPITAL applications on it such as Visual Builder handling printing requests, so long as this does not adversely effect overall performance.) Although the CAPITAL application and your business databases are stored on the server's hard drives for everyone to share, most applications should not be run directly from the server.

The most important aspects of a good file server is the drive system(s), memory and network cards or adapters. These issues can affect how quickly your networked PC's can gain access to the files on the server.

 

   

 

Memory

Add as much memory (RAM) as possible to maximize disk caching performance. Windows assigns approximately half of its available memory to its disk cache. If your company database is 250MB, you would require 500MB to cache the entire database. This will permit maximum caching performance. Keep in mind, however, that modern operating systems use substantial amounts of memory to load. So your memory requirements would actually be: memory required to load and run operating system + size of your database. Adding more memory after this will then not significantly add to performance. But be sure to factor in that you may be running other applications besides CAPITAL so more disk cache may help to improve performance. As well, it is seldom the case that all users will be accessing all areas of your company database in the one session. So often you can still get excellent performance by having less memory than the total size of the database. The golden rule is to install as much memory as you can afford up to the total size of your database, while allowing sufficient memory for the operating system and your other applications.

 
   
 

Hard Disk Drives

Most hard drives available today offer good performance and the choice of drive will have less effect on your server's performance than the amount of memory. You should consider using at least SCSI drives (SCSI-II or SCSI-III or later versions are the best), instead of IDE or ATA drives. SCSI drives cost more and require a separate hard disk drive controller. The main advantage of SCSI drives is that the SCSI design is optimized for handling multiple disk requests simultaneously, which is exactly the kind of task a server will be occupied performing. Most server rated computers include SCSI drive technology already.

 
   
 

Network Adapter Cards

All data transferred by the computers on a typical network has to travel through the server's network adapter. Special network cards are available specifically for servers to improve performance. They run faster and/or offer more on-board memory (in order to improve buffering) and/or offer additional features such as the ability to better handle requests from multiple computers simultaneously. You could, for example, install a "fast Ethernet" adapter such as 100baseT or something of equivalent or better performance. Another option is to install multiple network adapter cards and split your network into subnets. (This is discussed further below.)

 
   
 

Network File Server Configuration

Server hardware has the most affect on server performance. However, a poorly configured server will run slowly regardless of the hardware installed in it. The following recommendations are specific to Microsoft Windows, but there are equivalent concepts in Novell NetWare:

  • Avoid overloading your server. Upgrade any weak components if necessary.
  • Do not run any unnecessary processes on your server, especially if those tasks can be delegated to another machine. The main purpose of your file server should be to "serve files".
  • The Windows swap file should be at least 2-2.5 times the amount of server memory. For example, if your file server has 1G, you swap file should be in the 2-2.5G range.
  • Do not run a screen saver on your server console. Screen savers running on your server consume CPU cycles, which hurts performance. If your server sits in a room with its monitor turned off, you may not even realize the screen saver is running. Since you can usually run your server with the monitor turned off anyway, there is no need to activate a screen saver or any unimportant foreground task.
 
   
 

Network Speed and Topology

All computers on your network share access to your network cable, and this is often the cause of poor network performance. Even a high performance server will be crippled if the network connections are inadequate.

The most common problem that affects network performance is not the speed of the server or your PC's, but the speed of the network itself. This includes the the network adapter cards, cabling and hubs or switches. The amount of data throughput (how much can be moved how quickly) is referred to as the network bandwidth. The more bandwidth you have, and the more efficiently you use it, the faster your network will run.

For ethernet networks in particular, there are several things you should do:

  • Use switches, which route traffic intelligently, rather than "dumb" hubs, which simply broadcast all network traffic to all workstations. (Note: There is also a device called a "switched ethernet hub", which is a type of hub that suffers from lack of routing capabilities. A real ethernet switch will perform much better than a switched ethernet hub.)
  • If you are running 10baseT (10 megabit speed or even older 8 megabit coax), upgrade to 100baseT (100 megabit). 100baseT is now very affordable and the network adapters, hubs and switches cost only marginally more than the older and slower technology.
  • Divide your network into subnets, each with its own switch and its own connection to the server (i.e. install multiple network adapter cards in the server). This reduces traffic on each section of your network and therefore makes more server bandwidth accessible.

The concept of subnets and switches is similar. When you have a "dumb" hub-based system, every data packet on the network gets broadcast to all PC's. With an application such as CAPITAL Series 7, where many users are simultaneously doing searches, generating reports, entering transactions, etc., a great deal of traffic can be generated. When one user does a search, the traffic he creates is seen not only on his PC, but all other networked PCs as well. If you have a lot of busy users, you have a lot of traffic. The result is that your moving data gets trapped in a traffic jam.

With subnets your groups of heavy users are divided into smaller subgroups. Each subgroup only deals with the traffic for its members, thus reducing congestion. With switches this can be improved further: each PC has its own "private road" going directly to the server, because the switch routes the traffic intelligently, instead of broadcasting it to every PC on the network.

 
   
 

Install Windows Terminal Services or Citrix Server

Possibly the most significant change you can make to your network to improve performance and also reliability, is to install Terminal Services or Citrix Server. In these environments all applications execute directly on the server. Because applications don't need to be transported to local machines--only screen, keyboard and sometimes print data moves through your network cables--enormous speed improvements are usually experienced. Such systems also remove the network connection as a point of vulnerability. If your connection fails, the application will still be running safely on the server.

 
   
 

Other Traps and Problems

These additional techniques apply to servers and networked PC's:

  • If you use virus scanner software such as McAfee ViruScan or Norton AntiVirus on your server or local PC's, check to see if it is set to scan all files, regardless of file type. If it is, this will slow down your accounting system considerably, because every time CAPITAL opens and reads a database, the virus scanner rescans the file. Change your virus scanner settings to exclude DBF and CDX files or preferably all files in your CAPITAL company directories. Viruses cannot be active or propagate from inside CAPITAL database files and so do not pose a threat to your network. A quick test can be done by temporarily shutting down the antivirus software to see if network transmission speeds improve.
  • Make sure your server and your local PC's do not have drive letter mappings or printer mappings to servers or printers that do not exist, are turned off, or are not always accessible. This slows down Windows and all its file operations.
  • Use drive letter mappings to access files on your server, not UNC (Universal Naming Convention) paths, which are much slower. For example, your database path should be something like F:\CAPITAL, not \\myserver\myprograms\Capital
    (For CAPITAL Corporate Edition UNC paths are actually faster than drive letter mappings and they should be used instead for database access. For all other access, drive letters are still usually faster. It is safe to combine both.)
  • Network speed problems can also be caused by hardware issues such as loose cables, faulty wiring, bad network adapter cards, network cards that are incompatible with the operating system, etc
 
   
 

Discuss the Options With Your Network Consultant

Please note that this discussion is not meant to be comprehensive. The issues raised in this document should be discussed in depth with your networking consultant. As technology is changing all the time, your network consultant will be in the best position to recommend the best technology for your organisation to use, as it becomes available.

 
 

Business Software You Won't Outgrow
CAPITAL Office is a trademark of Capital Office Business Software. All other products mentioned are registered trademarks or trademarks of their respective companies. Copyright © 1985- 2001 Will Nitschke for CAPITAL Office Business Software. All rights reserved.
Last modified: 27th of September, 2005

Capital Office Business Software Home Page: www.capitaloffice.com.au