Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

RE: Poor performance on replacement server

Posted By: Art S. Kagel
Date: Tuesday, 13 December 2005, at 2:56 p.m.

In Response To: Poor performance on replacement server (Simon Coyne)

Simon:

Hi, see below:

Art S. Kagel

> ----- Original Message -----
> From: Simon Coyne <simon.coyne@dla.com>
> At: 12/13 11:42
>
> Dear Informix users
>
> The firm I work for have recently purchased a 4 processor ES45 Alpha server to
> run our practice management (sales ledger) system. This is replacing a 2
> processor DS25 Alpha server (which struggles at period end). Outline
> specification is
>
> 4x1.2Ghz Alpha processors
> 8Gb RAM
> 5304 4 Channel Ultra SCSI controller
> 2xMA300(I think) disk cages populated with 36Gb disks and configured as RAID 1+0
> for both OS and Informix raw chunks.

Be careful. I recommend no more than 4 spindles per controller channel. It
only takes 5-6 drives to exceed the controllers throughput capability. I
also recommend that you set up separate RAID10 structures for the OS and for
IDS.

> Tru 64 5.1B
> Informix 9.3.FC3
>
> The instance is about 80Gb total.
>
> Unfortunately, we are experiencing crippling performance problems. When we get
> to about 55 green screen users on the system, performance within Informix
> becomes terrible. The 3 CPU VPs go to 100% and disk I/O drops to almost 0 across

Actually the ONCONFIG file below shows only 2 CPU VPs. Are those users
accessing the DB locally using shared memory connections?

> every one of the Informix disks. On occassion, when CPU utilisation dips below
> ~85%, disk I/O goes back to normal levels and performance is great. At all

Someone suggested that lock contention is your problem. I would definitely
not rule that out. You say a 'green screen' application is using the DB?
Is it possible that the app locks records while the users is modifying the
coy on screen? This is a common DBMS application problem. Apps that access
RDBMS's for interactive users input systems should use optimistic locking
techniques (ie don't lock the row until the users finishing modifying it,
then lock the row, compare the original version to the current DB contents,
if no changes perform the update and commit, if the record has been changed
since the user fetched it, reject the changes and make the user try again.)

> times, the disk performance for O/S based operations is more than acceptable.
> Informix performance is almost binary; it's either working or stopped. There
> doesn't seem to be an inbetween position where performance starts degrading.
>
> Has anyone seen anything like this at all or have any helpful suggestions?
> (Update statistics runs daily.)
>
> Thanks in advance
>
>
> Simon Coyne
> Infrastructure Specialist
> DLA Piper Rudnick Gray Cary LLP
>
> ONconfig follows
>
> #**************************************************************************
> #
> # INFORMIX SOFTWARE, INC.
> #
> # Title: onconfig.std
> # Description: Informix Dynamic Server 2000 Configuration Parameters
> #
> #**************************************************************************
>
> # Root Dbspace Configuration
>
> ROOTNAME rootdbs # Root dbspace name
> ROOTPATH /dev/rootdbs # Path for device containing root dbspace
> ROOTOFFSET 500 # Offset of root dbspace into device (Kbytes)
> ROOTSIZE 2000000 # 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 physdbs # Location (dbspace) of physical log
> PHYSFILE 1000000 # Physical log file size (Kbytes)
>
> # Logical Log Configuration
>
> LOGFILES 1034 # Number of logical log files
> LOGSIZE 1500 # Logical log size (Kbytes)
>
> # Diagnostics
>
> MSGPATH /usr/informix/online.log # System message log file path
> CONSOLE /usr/informix/console.log # System console message path
> ALARMPROGRAM /usr/informix/etc/log_full.sh # Alarm program path
> TBLSPACE_STATS 1 # Maintain tblspace statistics
>
> # System Archive Tape Device
>
> TAPEDEV /devices/tape/tape17c # Tape device path
> #TAPEDEV /devices/tape/tape16c # FS Backup device
> #TAPEDEV /dev/null # Black Hole
> #TAPEDEV /nfsdump/aristadbbackup.img
> TAPEBLK 1024 # Tape block size (Kbytes)
> TAPESIZE 85000000 # Maximum amount of data to put on tape (Kbytes)
>
> # Log Archive Tape Device
>
> LTAPEDEV /devices/tape/tape16
> LTAPEBLK 1024 # Log tape block size (Kbytes)
> LTAPESIZE 35000000 # Max amount of data to put on log tape (Kbytes)
>
> # Optical
>
> STAGEBLOB # Informix Dynamic Server 2000 staging area
>
> # System Configuration
>
> SERVERNUM 0 # Unique id corresponding to a OnLine instance
> DBSERVERNAME arista # Name of default database server
> DBSERVERALIASES arista_tcp # List of alternate dbservernames
> DEADLOCK_TIMEOUT 60 # Max time to wait of lock in distributed env.
> RESIDENT 0 # Forced residency flag (Yes = 1, No = 0)

I don't remember any problems using RESIDENT with tru64, so I'm going to
suggest you change this to 1 (resident segment locked in memory) or -1
(initial virtual segment locked into memory as well as the resident
segment). You have plenty of RAM, use it. This can be a huge performance
gain on a busy system.

> MULTIPROCESSOR 0 # 0 for single-processor, 1 for multi-processor

You have 4 CPUs and you set CPUVPs >1, MULTIPROCESSOR must be 1 as well to
properly implement resource control.

> NUMCPUVPS 2 # Number of user (cpu) vps

Don't be squeemish, set this to at least 4. You have 4 very fast CPUs, use
them. Processors faster than about 400MHZ (~600MHZ for Intel) can support
more than one CPU VP per physical CPU according to a round of user testing
several years ago.

> SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps to one
>
> NOAGE 0 # Process aging

Check you release notes to see if this is supported on tru64. I don't know
how TRU64 works but many UNIXes, especially Solaris and HPUX, are agressive
about lowering the runtime priority of long running processes, and you
oninits are normally running for a VERY LONG time before you restart them.
Especially compared to user tasks that come and go in minutes. So, best if
NOAGE is available on your platform to set it to 1.

> # NRW changed proc affinity to second cpu to help system performance
> AFF_SPROC 0 # Affinity start processor
> AFF_NPROCS 0 # Affinity number of processors
>
> # Shared Memory Parameters
>
> LOCKS 1000000 # Maximum number of locks

> BUFFERS 500000 # Maximum number of shared buffers
> NUMAIOVPS 16 # Number of IO vps

If all of your chunks are RAW and tru64 supports it you are using KAIO for
chunk IO, so you typically need from 2-6 AIO VPs. Check onstat -g iov, if
there are kaio threads reported for each CPU VP, then you should look to
reduce NUMAIOPVS. On the same report, any aio vps with an io/wup value of
0.0 is completely unused and you can safely reduce NUMAIOVPS by the number
of such.

> PHYSBUFF 864 # Physical log buffer size (Kbytes)

This is a bit large. A larger PHYSUFF will delay physically writing
physical log pages to disk and will slow down checkpointing. A PHYSBUFF of
32 is usually fine. Use 64 if you actually have very large row sizes.

> LOGBUFF 38 # Logical log buffer size (Kbytes)
> LOGSMAX 2048 # Maximum number of logical log files
> CLEANERS 16 # Number of buffer cleaner processes

CLEANERS should be >= LRUS and you have LRUS set to 128 below. Set CLEANERS
to 128 as well to improve LRU flush performance.

> SHMBASE 0x200000000 # Shared memory base address
> SHMVIRTSIZE 753644 # initial virtual shared memory segment size
> SHMADD 75366 # Size of new shared memory segments (Kbytes)
> SHMTOTAL 0 # Total shared memory (Kbytes). 0=>unlimited
> CKPTINTVL 300 # Check point interval (in sec)
> LRUS 128 # Number of LRU queues
> LRU_MAX_DIRTY 3 # LRU percent dirty begin cleaning limit
> LRU_MIN_DIRTY 1 # LRU percent dirty end cleaning limit
> LTXHWM 50 # Long transaction high water mark percentage
> LTXEHWM 60 # Long transaction high water mark (exclusive)
> TXTIMEOUT 0x12c # Transaction timeout (in sec)
> STACKSIZE 32 # Stack size (Kbytes)
<SNIP>

> # Read Ahead Variables
> RA_PAGES 32 # Number of pages to attempt to read ahead
> RA_THRESHOLD 28 # Number of pages left before next group

For a modern RAID10 disk farm, these values are a bit high, especially the
RA_THRESHOLD. Try 32 & 16 at first, but I'd recommend moving toward 16 & 8
or 32 & 8 unless you don't have much cache at the controller/array level.
You can check the RA Utilization Ratio to see if this is hurting you.

> # 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 tempdbs,tempdbs01 # Default temp dbspaces

Three or more temp spaces for max performance if you are doing any
significant data sorting or grouping. This is due to the way that the sort
algorithm merges sort-work files.

<SNIP>> # method for OnLine to use when determining current time
> USEOSTIME 0 # 0: use internal time(fast), 1: get time from
> OS(slow)

You can set this to 1 if yo like to get sub-second DATETIME resolution. The
overhead is minimal.

<SNIP>

> LBU_PRESERVE 0 # Preserve last log for log backup

This one is a must. Set LBU_PRESERVE to 1, it may save your butt if you
logical logs ever fill (then you shutdown, reset LBU_PRESERVE to zero,
restart, and archive the logs quickly). Not neccessary after 9.40, but in
9.30 and earlier it's required.

<SNIP>

> NETTYPE ipcshm,4,100,CPU # Configure poll thread(s) for nettype

Here you specified that you want 4 CPU VP listeners, but you only have 2 CPU
VPs configured. Therefore the engine is starting up 2 NET VPs to take up
the slack and NET VPs listening for shared memory work burn CPU cycles for
no reason. If you update NUMCPUVPS to 3 or more set the ipcshm NETTYPE to
the same number of CPU listeners, if you keep 2 PCU VPs for now, decrease
this to 2 and increase the connection count if you need to support 400
concurrent connections over shared memory.

> NETTYPE soctcp,4,100,NET # Configure poll thread(s) for nettype

Someone suggested looking a bunch of onstats, you might want to post the
following here for us to look at:

onstat -p
onstat -P
onstat -d
onstat -D
onstat -k
onstat -g glo
onstat -g iov
onstat -g iof
onstat -g act
onstat -g wai

Art S. Kagel

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.