From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oxiel Enrique Contreras Vargas Newsgroups: gmane.os.tru64.managers Subject: SUMMARY - Tru64v5.1B slow and Informix Date: Tue, 05 Jul 2005 09:29:37 -0400 Organization: Kernel Technology Message-ID: <200507050929.37278.oxielc@yahoo.it> References: <37106221CAA3D511AC1800508BD31603028F9703@OBERON> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1120570295 11050 80.91.229.2 (5 Jul 2005 13:31:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2005 13:31:35 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Jul 05 15:30:59 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1DpnUx-0004RL-49 for gotm-tru64-unix-managers@gmane.org; Tue, 05 Jul 2005 15:30:03 +0200 Original-Received: (qmail 1044 invoked by uid 49509); 5 Jul 2005 13:29:44 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 1029 invoked by uid 49501); 5 Jul 2005 13:29:43 -0000 Original-Received: from 160.91.4.119 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.119):SA:0(-2.6/5.0):. Processed in 0.651421 secs); 05 Jul 2005 13:29:43 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute1.cind.ornl.gov (160.91.4.119) by sws1.ornl.gov with SMTP; 5 Jul 2005 13:29:43 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IJ50015RPHAO7@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 05 Jul 2005 09:29:41 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0IJ500202PGLHM@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 05 Jul 2005 09:29:23 -0400 (EDT) Original-Received: from smtp100.mail.sc5.yahoo.com (smtp100.mail.sc5.yahoo.com [216.136.174.138]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with SMTP id <0IJ50023MPGHDL@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 05 Jul 2005 09:29:07 -0400 (EDT) Original-Received: (qmail 65110 invoked from network); Tue, 05 Jul 2005 13:29:05 +0000 Original-Received: from unknown (HELO oxiel.dima.com.bo) (oxielc@200.119.192.45 with login) by smtp100.mail.sc5.yahoo.com with SMTP; Tue, 05 Jul 2005 13:29:04 +0000 In-reply-to: <37106221CAA3D511AC1800508BD31603028F9703@OBERON> Original-To: tru64-unix-managers@ornl.gov Content-disposition: inline User-Agent: KMail/1.7.1 X-Envelope-From: X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on spam2.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 Xref: news.gmane.org gmane.os.tru64.managers:8411 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:8411 Hello Gurus: Real thanks to all who answered :) The final solution to my problem is: Without touching any kernel parameters. I split the backplane, 2 scsi bus for the disks, while one has the O.S. and= =20 other filesystems, the other bus serves the informix data (raw partitions).= =20 This improved the speed, and the dbimport last only 18 hours from the initi= al=20 30+. The second thing was to add a second temporal dbspace in a different disk f= rom=20 the first. Then modify the values of the onconfig file, in order to use Parallel Datab= ase=20 Query, this improves the creation of indexes and execution of querys and=20 sorts. This improved the dbimport, finishing it in 8 hours. Now this time is quite long, but's definitely better than the first one,=20 Informix people are helping me with other settings but they've not made=20 further difference. Best regards to all of you Oxiel El Mar 07 Jun 2005 05:50, Leonard, Nick escribi=C3=B3: > Good Morning Oxiel, > > I have had a quick look an the onconfig file: > > Normally tuning is based on knowing loads on the system etc how many users > etc what the server/database is used for > > But on a quick view > > You only have one Nettype configured and only 100 threads > > You should look at using both vps's for this nettype or add a second one > that your config supports > > E.g. > NETTYPE ipcshm,3,330,CPU # Configure poll thread(s) for nettype > NETTYPE soctcp,1,100,NET # Configure poll thread(s) for nettype > > I would try > NETTYPE soctcp,2,100,CPU > > That will help performance wise and also give you 200 threads. Otherwise = if > you only have 25 users say try soctcp,2,30,CPU > > I would also try switching the Value NOAGE to 1 this will help performance > > Locks and Buffers seem ok - The buffers are using half your ram if you ne= ed > to buffer information fine otherwise maybe reduce to 100,000 or 50,000 > > I would also switch off the processor affinity > > E.g. > NOAGE 1 # Process aging > AFF_SPROC 0 # Affinity start processor > AFF_NPROCS 0 # Affinity number of processors > > This is worth trying and see if it helps > > You have no NUMAIOVPS even if you are using KIO you should configure one > for each physical disk set or add vps until one of the VPS does no work. > > Finally the SHMVRTSIZE is using the other half of the RAM you have ???? > > My current values on a system running 300+ users with 6gb ram and 3x833 > cpu's > > SHMVIRTSIZE 196608 # initial virtual shared memory segment > size SHMADD 8192 # Size of new shared memory segments > (Kbytes) > SHMTOTAL 0 # Total shared memory (Kbytes). > 0=3D>unlimited > > This does seem very large and may explain performance if Informix is > grabbing all the ram before anyone logs in - is the machine swapping ? > > Cut down these values and it will run better otherwise add another 2/3 Gb > of ram. > > Any more thoughts please contact me > > Regards > > Nick Leonard > > > > > > > > > > -----Original Message----- > From: Oxiel Enrique Contreras Vargas [mailto:oxielc@yahoo.it] > Sent: 06 June 2005 17:11 > To: Leonard, Nick > Subject: Re: Tru64v5.1B slow and Informix > > > Thank you very much Nick!!. > > This is the environment, disk setup, all raw files and attached is the > onstat > -d result and onconfig. > > INFORMIXSTACKSIZE=3D128 > INFORMIXSERVER=3Dfatima > INFORMIXDIR=3D/usr/users/informix > INFORMIXSQLHOSTS=3D/usr/users/informix/etc/sqlhosts > ONCONFIG=3Donconfig > DBCENTURY=3DC > DBDATE=3DDMY4/ > LD_LIBRARY_PATH=3D/usr/users/informix/lib:/usr/users/informix/lib/esql:/u= sr/u >s ers/informix/lib/tools:/usr/shlib:/usr/dt/lib: > > lrwxrwxrwx 1 root informix 15 may 25 14:41 datos01 > -> /dev/disk/dsk1d > lrwxrwxrwx 1 root informix 15 may 25 14:41 datos02 > -> /dev/disk/dsk2d > lrwxrwxrwx 1 root informix 15 may 25 14:41 datos03 > -> /dev/disk/dsk3a > lrwxrwxrwx 1 root informix 15 may 25 14:41 datos04 > -> /dev/disk/dsk3b > lrwxrwxrwx 1 root informix 15 may 25 14:41 datos05 > -> /dev/disk/dsk4a > lrwxrwxrwx 1 root informix 15 may 25 14:41 er_cdrspace > -> /dev/disk/dsk1e > lrwxrwxrwx 1 root informix 15 may 25 14:41 er_dbspace > -> /dev/disk/dsk1f > lrwxrwxrwx 1 root informix 15 may 25 14:41 er_sbspace > -> /dev/disk/dsk1g > lrwxrwxrwx 1 root informix 15 may 25 14:41 logdbs > -> /dev/disk/dsk2a > lrwxrwxrwx 1 root informix 15 may 25 14:41 rootdbs > -> /dev/disk/dsk1a > lrwxrwxrwx 1 root informix 15 may 25 14:41 sfifir > -> /dev/disk/dsk1b > lrwxrwxrwx 1 root informix 15 may 25 14:41 tmpdbs > -> /dev/disk/dsk4d > lrwxrwxrwx 1 root informix 15 may 25 14:41 tmpdbs2 > -> /dev/disk/dsk5d > > > Best regards. > > Oxiel > > El Lun 06 Jun 2005 11:10, escribi=C3=B3: > > It will be the Informix tuning as well unless they have retuned it for > > in /usr/informix/etc is an onconfig file for the live instance this > > will need to be tuned KIO is faster than AIO, buffers, virtual > > processors etc - also was the database in raw storage as this is > > 10-20% faster than cooked storage. > > > > I can help with the onconfig if you want. > > DISCLAIMER: This e-mail and any files transmitted with it are confidenti= al > and intended solely for the use of the individual or entity to whom they > are addressed. Any views or opinions expressed are those of the author a= nd > do not represent the views of Poole Hospital NHS Trust unless otherwise > explicitly stated. The information contained in this e-mail may be subje= ct > to public disclosure under the Freedom of Information Act 2000. Unless t= he > Information is legally exempt from disclosure, the confidentiality of this > e-mail and your reply cannot be guaranteed. ___________________________________ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.beta.messenger.yahoo.com