Setting Serial Port Buffer Size - Digi PortServer CM User Manual

Table of Contents

Advertisement

Slave 2, enter:
ssh -l <username>:Server_on_slave2_serial_s3 209.81.55.110
To access the fifth port of Slave 2, enter:
ssh -l <username>:7069 209.81.55.110

Setting Serial Port Buffer Size

The serial port input/output buffers have been configured at the factory for optimal performance under most
circumstances, but if you find it necessary to adjust the size of the buffers, this may be accomplished by
editing a text file in the /bin directory of the PortServer CM module.
Buffer sizes are defined as a number of 1 kilobyte blocks in multiples of 2048, plus 2. For example, to set the
buffer sizes to 4M (1k x 4096), use the value 4098. To set the buffer sizes to 6M (1k x 6144), use the value
6146. Likewise, to set 2M buffers, the value to use is 2048+2 = 2050.
Use the following procedure to set the desired buffer sizes. After you do the following procedure, go to page
6-14 pslave.conf to enable buffering.
1. Open the PortServer CM Web Management Interface and log in as the root web user. For information on
using the Web Management Interface, see The Web Management Interface on page 7-1.
2. From the Configuration section, choose Edit Text File.
3. In the File Name field, enter the path of the RAMdisk configuration file:
/bin/build_DB_ramdisk
4. In the file, locate the following two lines:
dd if=/dev/zero of=/dev/ram bs=1k count=4098
2-24

Setting Serial Port Buffer Size

Advertisement

Table of Contents
loading

Table of Contents