|
IDS Forum
Performance
Posted By: ANGEL MARIA RUIZ GARZON Date: Thursday, 29 January 2004, at 10:54 a.m.
Hi,
I have problems with the performace of my Server,especially with the yield the CPU, The server is a HP R390, whith 1,9 GB RAM, and one procesador, SO, HPUX 11.00.
My question is since I do in order that some processes do not consume the total yield of the CPU,
Attach the configurations. forgive the English I read it but almost I do not write it, hope that they understand me Thank you
Configurations.... :::::::::::::::::::::::::::::::::::
ROOTNAME rootdbs # Root dbspace name ROOTPATH /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,omicron1 # 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=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 4 # Number of buffer cleaner processes #CLEANERS 5 # Number of buffer cleaner processes #CLEANERS 6 # 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 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 ISM_DATA_POOL ISMData ISM_LOG_POOL ISMLogs
# Read Ahead Variables #RA_PAGES 4 # Number of pages to attempt to read ahead RA_PAGES 4000 # Number of pages to attempt to read ahead #RA_THRESHOLD 2 # Number of pages left before next group RA_THRESHOLD 2000 # Number of pages left before next group #RA_THRESHOLD 3996 # Number of pages left before next group
# DBSPACETEMP: # OnLine equivalent of DBTEMP for SE. This is the list of dbspaces # that the OnLine SQL Engine will use to create temp tables etc. # If specified it must be a colon separated list of dbspaces that exist # when the OnLine system is brought online. If not specified, or if # all dbspaces specified are invalid, various ad hoc queries will create # temporary files in /tmp instead.
DBSPACETEMP tempdbs1,tempdbs2 # Default temp dbspaces
# DUMP*: # The following parameters control the type of diagnostics information which # is preserved when an unanticipated error condition (assertion failure) occurs # during OnLine operations. # For DUMPSHMEM, DUMPGCORE and DUMPCORE 1 means Yes, 0 means No.
DUMPDIR /unload/registros # Preserve diagnostics in this directory DUMPSHMEM 1 # Dump a copy of shared memory DUMPGCORE 0 # Dump a core image using 'gcore' DUMPCORE 0 # Dump a core image (Warning:this aborts OnLine) DUMPCNT 1 # Number of shared memory or gcore dumps for # a single user's session
FILLFACTOR 96 # Fill factor for building indexes
# method for OnLine to use when determining current time USEOSTIME 0 # 0: use internal time(fast), 1: get time from OS(slow)
# Parallel Database Queries (pdq) MAX_PDQPRIORITY 50 # Maximum allowed pdqpriority DS_MAX_QUERIES 2 # Maximum number of decision support queries DS_TOTAL_MEMORY 16384 # Decision support memory (Kbytes) DS_MAX_SCANS 120 # Maximum number of decision support scans DS_HASHSIZE 107 # Hernando G DS_POOLSIZE 10 # Hernando G DATASKIP off # List of dbspaces to skip
# OPTCOMPIND # 0 => Nested loop joins will be preferred (where # possible) over sortmerge joins and hash joins. # 1 => If the transaction isolation mode is not # "repeatable read", optimizer behaves as in (2) # below. Otherwise it behaves as in (0) above. # 2 => Use costs regardless of the transaction isolation # mode. Nested loop joins are not necessarily # preferred. Optimizer bases its decision purely # on costs.
OPTCOMPIND 0 # To hint the optimizer #OPTCOMPIND 2 # To hint the optimizer
DIRECTIVES 1 # Optimizer DIRECTIVES ON (1/Default) or OFF (0)
ONDBSPACEDOWN 2 # Dbspace down option: 0 = CONTINUE, 1 = ABORT, 2 = WAIT OPCACHEMAX 0 # Maximum optical cache size (Kbytes)
# HETERO_COMMIT (Gateway participation in distributed transactions) # 1 => Heterogeneous Commit is enabled # 0 (or any other value) => Heterogeneous Commit is disabled HETERO_COMMIT 0
SBSPACENAME # Default smartblob space name - this is where blobs # go if no sbspace is specified when the smartblob is # created. It is also used by some datablades as # the location to put their smartblobs. SYSSBSPACENAME # Default smartblob space for use by the Informix # Server. This is used primarily for Informix Server # system statistics collection.
BLOCKTIMEOUT 3600 # Default timeout for system block SYSALARMPROGRAM /opt/informixids/etc/evidence.sh # System Alarm program path
# Optimization goal: -1 = ALL_ROWS(Default), 0 = FIRST_ROWS OPT_GOAL -1
ALLOW_NEWLINE 0 # embedded newlines(Yes = 1, No = 0 or anything but 1)
DYNAMIC_LOGS 0 LTXHWM 70 LTXEHWM 80
#STMT_CACHE 2 # Hernando G #STMT_CACHE_HITS 10 # Hernando G #STMT_CACHE_SIZE 1024 # Hernando G #STMT_CACHE_NOLIMIT 0 # Hernando G #STMT_CACHE_NUMPOOL 10 # Hernando G PC_HASHSIZE 30 # Tamano del cache de Stores procedures PC_POOLSIZE 300 # Numero de Stores Procedures guardados en cache
#============================================================================================ # HISTORIAL DEL CAMBIO DE PARAMETROS #============================================================================================ # # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # # Parametro---- ----- Valor ---- Motivo--------------------------- # Anterior Nuevo # 28/Mayo/2003 # SINGLE_CPU_VP 0 1 Porque solo tenemos una CPU fisica # VPCLASS cpu,num=1,noage Nuevo parametro que reemplaza 5 viejos # VPCLASS aio,num=6 Nuevo parametro que reemplaza 5 viejos # NUMCPUVPS 1 Fue reemplazado por VPCLASS # NOAGE 0 Fue reemplazado por VPCLASS # AFF_SPROC 0 Fue reemplazado por VPCLASS # AFF_NPROC 0 Fue reemplazado por VPCLASS # NUMAIOVPS 2 Fue reemplazado por VPCLASS # # Comentarios : Mejoro notablemente el desempeno de las apliaciones y la comunicacion entre # las bases de datos. # # Fecha : 29/Mayo/2003 - 12:30PM ******************************************* # # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # # Parametro---- ----- Valor ---- Motivo--------------------------- # Anterior Nuevo # 29/Mayo/2003 # LRU_MAX_DIRTY 2 3 porque se estaba generando el doble de # escrituras LRU vs las de Chunk # Comentarios : Balanceo las escrituras de LRU y Chunk. # # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # # Parametro---- ----- Valor ---- Motivo--------------------------- # Anterior Nuevo # 29/Mayo/2003 # SHMVIRTSIZE 131072 196608 Se incrementa para evitar segmentacion # SHMADD 65536 32768 Se dismunuye porque no es necesrio un # un valor tan grande. # SHMTOTAL 361972 350252 Se disminuye por la misma razon. # # 05/Agosto/2003 # SHMVIRTSIZE 196608 229376 Se incrementa por funcionamiento del kernel AIO # SHMTOTAL 350252 383020 Estaba creando un segmento adicional de memoria # virtual #============================================================================================
Omicron1:/tmp/ang#onstat -g glo
Informix Dynamic Server Version 9.30.FC4 -- On-Line -- Up 14 days 10:39:59 -- 350252 Kbytes
MT global info: sessions threads vps lngspins 242 275 17 0
sched calls thread switches yield 0 yield n yield forever total: 7914223 5759141 2829533 101882 2638882 per sec: 157 0 157 0 0
Virtual processor summary: class vps usercpu syscpu total cpu 1 2457.88 179.38 2637.26 aio 8 1.18 3.66 4.84 lio 1 0.14 0.44 0.58 pio 1 0.13 0.44 0.57 adm 1 0.75 1.79 2.54 soc 4 54.61 724.59 779.20 msc 1 1.18 1.76 2.94 total 17 2515.87 912.06 3427.93
Individual virtual processors: vp pid class usercpu syscpu total 1 22254 cpu 2457.88 179.38 2637.26 2 22255 adm 0.75 1.79 2.54 3 22256 lio 0.14 0.44 0.58 4 22257 pio 0.13 0.44 0.57 5 22260 aio 0.20 0.56 0.76 6 22261 msc 1.18 1.76 2.94 7 22262 aio 0.13 0.42 0.55 8 22263 aio 0.14 0.42 0.56 9 22264 aio 0.13 0.43 0.56 10 22265 aio 0.14 0.45 0.59 11 22266 aio 0.15 0.46 0.61 12 22267 aio 0.15 0.47 0.62 13 22268 aio 0.14 0.45 0.59 14 22269 soc 17.09 226.94 244.03 15 22270 soc 12.00 183.79 195.79 16 22271 soc 13.74 172.13 185.87 17 22272 soc 11.78 141.73 153.51 tot 2515.87 912.06 3427.93 Informix Dynamic Server Version 9.30.FC4 -- On-Line -- Up 14 days 10:41:10 -- 350252 Kbytes
Segment Summary: id key addr size ovhd class blkused blkfree 15803 1381386241 c0000000002d5000 122552320 427544 R* 29888 32 804 1381386242 c0000000077b5000 234881024 7800 V 47173 10171 806 1381386244 c0000000157b5000 1224704 672 M 266 33 Total: - - 358658048 - - 77327 10236
249 active, 256 total, 257 maximum concurrent
System: omicron Thu Jan 29 09:59:20 2004 Load averages: 8.24, 7.23, 6.42 603 processes: 598 sleeping, 5 running Cpu states: LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS 8.24 50.1% 0.0% 33.2% 16.7% 0.0% 0.0% 0.0% 0.0%
Memory: 539708K (259424K) real, 451672K (276300K) virtual, 303408K free Page# 1/31
TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND ? 22254 informix 156 20 366M 2632K sleep 3062:39 29.84 29.79 oninit ? 22272 informix 196 20 366M 2456K run 170:33 5.00 4.99 oninit ? 22271 informix 190 20 366M 2456K run 154:42 3.76 3.75 oninit ? 22269 informix 189 20 366M 2456K run 211:19 3.40 3.40 oninit ? 22270 informix 156 20 366M 2456K sleep 192:22 2.54 2.54 oninit
IDS Forum is maintained by Administrator with WebBBS 5.12.
|
|