Performance problems soctcp
Posted in 2004
Good
afternoon,
I have 2 computers HewlettPackard R390 Series 9000 model 800, each one with
HP-ux 11 (64bits) and IDS 9.30.FC4.
At the moment I have performance problems when I make conexines between
servers, that is to say, when I make a "Select" that goes of a the server "A"
a server "B" like for example:
If I am in Servant "B" and attempt to make the following sentence using
"isqlrf":
Select * from db@B:tab1
Although table "B" has 7 registries can be gotten to delay of 2 to 5 seconds
in giving back the information, this for our system that makes many
tranascciones between the servants "A" and "B" is too much time.
How can improve the type of conección or how I can use that he is more
efficient; At the moment I use the parameter NETTYPE thus "NETTYPE soctcp, 4,
60, NET" Them "onconfig" of the server to see that they suggest
Thanks !
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++
onconfig SERVER A
Informix Dynamic Server Version 9.30.FC4 -- On-Line -- Up 2 days 05:57:54 --
349728 Kbytes
Configuration File: /opt/informixids/etc/onconfig.omicron
#**************************************************************************
#
# INFORMIX SOFTWARE, INC.
#
# Title: onconfig.omicron
# Description: Informix Dynamic Server Configuration Parameters
# Elaborado por Angel Ruiz Mayo 1 de 2003
# Actualizaciones
#**************************************************************************
# Root Dbspace Configuration
ROOTNAME rootdbs # Root dbspace nameROOTPATH /dev/inf1/rootdbs # Path for device containing root dbspace
ROOTOFFSET 0 # Offset of root dbspace into device (Kbytes)
ROOTSIZE 286720 # Size of root dbspace (Kbytes)
# Disk Mirroring Configuration Parameters
MIRROR 0 # Mirroring flag (Yes = 1, No = 0)
MIRRORPATH # Path for device containing mirrored root
MIRROROFFSET 0 # Offset into mirrored device (Kbytes)
# Physical Log Configuration
PHYSDBS phyv1 # Location (dbspace) of physical log
PHYSFILE 8014 # Physical log file size (Kbytes)
# Logical Log Configuration
LOGFILES 60 # Number of logical log files
LOGSIZE 4000 # Logical log size (Kbytes)
# Diagnostics
MSGPATH /opt/informixids/online.log # System message log file path
CONSOLE /dev/console # System console message path
ALARMPROGRAM /opt/informixids/etc/log_full.sh # Alarm program path
TBLSPACE_STATS 1 # Maintain tblspace statistics
# System Archive Tape Device
TAPEDEV /dev/rmt/0m # Tape device path
TAPEBLK 20 # Tape block size (Kbytes)
TAPESIZE 23101440 # Maximum amount of data to put on tape (Kbytes)
# Log Archive Tape Device
LTAPEDEV sigma:/dev/rmt/0m # Log tape device path
LTAPEBLK 20 # Log tape block size (Kbytes)
LTAPESIZE 1850000 # Max amount of data to put on log tape (Kbytes)
# Optical
STAGEBLOB # Informix Dynamic Server staging area
# System Configuration
SERVERNUM 0 # Unique id corresponding to a OnLine instance
DBSERVERNAME omicron # Name of default database server
DBSERVERALIASES omicron_sh # List of alternate dbservernames
#NETTYPE ipcshm,1,100,CPU # Configure poll thread(s) for nettype
NETTYPE soctcp,4,60,NET # Configure poll thread(s) for nettype
DEADLOCK_TIMEOUT 60 # Max time to wait of lock in distributed env.
RESIDENT 1 # Forced residency flag (Yes = 1, No = 0)
MULTIPROCESSOR 0 # 0 for single-processor, 1 for multi-processor
#NUMCPUVPS 1 # Number of user (cpu) vps
VPCLASS cpu,num=1,noage
VPCLASS aio,num=10
#VPCLASS aio,num=5
#VPCLASS aio,num=8
SINGLE_CPU_VP 1 # If non-zero, limit number of cpu vps to one#SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps to one
#NOAGE 0 # Process aging
#AFF_SPROC 0 # Affinity start processor
#AFF_NPROCS 0 # Affinity number of processors
# Shared Memory Parameters
LOCKS 250000 # Maximum number of locks#BUFFERS 30000 # Maximum number of shared buffers
BUFFERS 40000 # Maximum number of shared buffers#BUFFERS 60000 # Maximum number of shared buffers
#NUMAIOVPS 2 # Number of IO vps
PHYSBUFF 500 # Physical log buffer size (Kbytes)
LOGBUFF 64 # Logical log buffer size (Kbytes)
CLEANERS 8 # Number of buffer cleaner processes#CLEANERS 4 # Number of buffer cleaner processes
#CLEANERS 6 # Number of buffer cleaner processes
#CLEANERS 5 # Number of buffer cleaner processes
SHMBASE 0x0 # Shared memory base address
SHMVIRTSIZE 229376 # initial virtual shared memory segment size#SHMADD 65536 # Size of new shared memory segments (Kbytes)
SHMADD 32768 # Size of new shared memory segments (Kbytes)
SHMTOTAL 383020 # Total shared memory (Kbytes). 0=>unlimited
#SHMTOTAL 0 # Total shared memory (Kbytes). 0=>unlimited
CKPTINTVL 240 # Check point interval (in sec)
DD_HASHMAX 5 # Hernando G
DD_HASHSIZE 107 # Hernando G
LRUS 20 # Number of LRU queues#LRUS 60 # Number of LRU queues
LRU_MAX_DIRTY 3 # LRU percent dirty begin cleaning limit#LRU_MAX_DIRTY 2 # LRU percent dirty begin cleaning limit
#LRU_MAX_DIRTY 4 # LRU percent dirty begin cleaning limit
#LRU_MAX_DIRTY 70 # LRU percent dirty begin cleaning limit
LRU_MIN_DIRTY 1 # LRU percent dirty end cleaning limit#LRU_MIN_DIRTY 50 # LRU percent dirty end cleaning limit
TXTIMEOUT 0x12c # Transaction timeout (in sec)
STACKSIZE 64 # Stack size (Kbytes)
# System Page Size
# BUFFSIZE - OnLine no longer supports this configuration parameter.
# To determine the page size used by OnLine on your platform
# see the last line of output from the command, 'onstat -b'.
# Recovery Variables
# OFF_RECVRY_THREADS:
# Number of parallel worker threads during fast recovery or an offline restore.
# ON_RECVRY_THREADS:
# Number of parallel worker threads during an online restore.
OFF_RECVRY_THREADS 10 # Default number of offline worker threads
ON_RECVRY_THREADS 1 # Default number of online worker threads
# Data Replication Variables
DRINTERVAL 30 # DR max time between DR buffer flushes (in sec)
DRTIMEOUT 30 # DR network timeout (in sec)DRLOSTFOUND /opt/informixids/etc/dr.lostfound # DR lost+found file path
# CDR Variables
CDR_EVALTHREADS 1,2 # evaluator threads (per-cpu-vp,additional)
CDR_DSLOCKWAIT 5 # DS lockwait timeout (seconds)
CDR_QUEUEMEM 4096 # Maximum amount of memory for any CDR queue (Kbytes)
CDR_NIFCOMPRESS 0 # Link level compression (-1 never, 0 none, 9 max)
CDR_SERIAL 0,0 # Serial Column Sequence
CDR_DBSPACE # dbspace for syscdr database
CDR_QHDR_DBSPACE # CDR queue dbspace (default same as catalog)
CDR_QDATA_SBSPACE # CDR queue smart blob space
CDR_QDATA_SBFLAGS 0 # Log/no-log (default no log)
# Backup/Restore variables
BAR_ACT_LOG /opt/informixids/bar_act.log
# ON-Bar Log file - not in /tmp please
BAR_DEBUG_LOG /opt/informixids/bar_dbug.log
# ON-Bar Debug Log - not in /tmp please
BAR_MAX_BACKUP 0
BAR_RETRY 1
BAR_NB_XPORT_COUNT 10
BAR_XFER_BUF_SIZE 31
RESTARTABLE_RESTORE on
BAR_PROGRESS_FREQ 0
# Informix Storage Manager variables@@N