Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Using Samba
Prev Home Next

B.3.5 Measurement Forms

Table B.6 and Table B.7 are empty tables that you can use for copying and recording data. The bottleneck calculation in the previous example can be done in a spreadsheet, or manually with Table B-8. If Samba is as good as or better than FTP, and if there aren't any individual test runs that are much different from the average, you have a well-configured system. If loopback isn't much faster than anything else, you have a problem with your TCP/IP software. If both FTP and Samba are slow, you probably have a problem with your networking: a faulty Ethernet card will produce this, as will accidentally setting an Ethernet card to half-duplex when it's not connected to a half-duplex hub. Remember that CPU and disk speeds are commonly measured in bytes, network speeds in bits.

We've included columns for both bytes and bits in the tables. In the last column, we compare results to 10 Mb/s because that's the speed of a traditional Ethernet.


Table B.6: Ethernet Interface to Same Host: FTP

Run No

Size in Bytes

Time (sec)

Bytes/sec

Bits/sec

% of 10 Mb/s

1

2

3

4

5

Average:

Deviation:


Table B.7: Ethernet Interface to Same Host: FTP

Run No

Size in Bytes

Time, sec

Bytes/sec

Bits/sec

% of 10 Mb/s

1

2

3

4

5

Average:

Deviation:


Table B.8: Bottleneck Calculation Table

CPU

CPUThroughput

Number of Disks

Disk Throughput

Number of Networks

Network Throughput

Total Throughput

In Table B.8:

  • CPU throughput = (KB/second from Figure 6-5) (number of CPUs)

  • Disk throughput = (KB/second from Figure 6-4) (number of disks)

  • Network throughput = (KB/second from Figure 6-6) (number of networks)

  • Total throughput = min (Disk, CPU, and Network throughput)

A typical test, in this case for an FTP get, would be entered as in Table B-9:


Table B.9: Ethernet Interface to Same Host: FTP

Run No

Size in Bytes

Time, sec

Bytes/sec

Bits/sec

% of 10 Mb/s

1

1812898

2.3

761580

2

2.3

767820

3

2.4

747420

4

2.3

760020

5

2.3

772700

Average:

2.32

777310

6218480

62

Deviation:

0.04

The Sparc example we used earlier would look like Table B-10.

Using Samba
Prev Home Next

 
 
  Published under the terms of the Creative Commons License Design by Interspire