![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
IDS 11.5FC6 on RHEL 5.3 Here's a starange one. When running SQL which interacts with OS to output messages, it's very, very much slower at a new customer site than it is at our own or others. The difference seems to be the AMD processors the customer has (we have Intel) - the OS and IDS versions are identical. Here's a a simple test case. Here's some SQL, which echoes out the message "Hello World" 64 times: !echo "Hello World" !echo "Hello World" !echo "Hello World" !echo "Hello World" ... !echo "Hello World" Run it on the AMD server: informix@db-1<qa1>:ardenta]$ time dbaccess sysmaster < crap5.sql Database selected. Hello World ... Hello World Database closed. real 0m7.776s user 0m0.016s sys 0m0.049s Run it on an Intel server, same IDS version etc: Hello World ... Hello World Database closed. real 0m0.580s user 0m0.005s sys 0m0.037s 12 times as slow on AMD. We noticed it when trunning some data load scripts which outputs thousands of progress messages, and went from 10m at home to 50m on the client's (far superior) hardware. Of course we could just omit the statements, but I am worried that this may be part of a bigger issue. IBM PMR 85722,019,866 refers. _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Subject: RE: Slow OS calls on one chip type Date: Fri, 16 Apr 2010 00:35:56 +0200 From: joerg (AT) it-volz (DOT) de To: neil.truby (AT) ardenta (DOT) com; informix-list (AT) iiug (DOT) org Just some usual suspects: Misconfigured memory / mainboard parameters in BIOS? Memory in a slow slot layout (running, but not wrong enough to cause an error)? Or wrong speed? Faulty Mainboard? Had this once, caused strange errors, including intermittent speed behavior. Cause was a chipset chip with faulty soldering. Is a C/PERL/bash program also very slow, or only Informix programs? My personal experience is that AMD // Intel do work more or less within the same speed range, more problems occur with wrong memory and HD layout or SAS/SCSI Controllers. regards Joerg Volz ------------------------------------------------------------------------ ----- -----Original Message----- From: informix-list-bounces (AT) iiug (DOT) org [mailto:informix-list-bounces (AT) iiug (DOT) org] On Behalf Of Neil Truby Sent: Friday, April 16, 2010 12:04 AM To: informix-list (AT) iiug (DOT) org Subject: Slow OS calls on one chip type IDS 11.5FC6 on RHEL 5.3 Here's a starange one. When running SQL which interacts with OS to output messages, it's very, very much slower at a new customer site than it is at our own or others. The difference seems to be the AMD processors the customer has (we have Intel) - the OS and IDS versions are identical. Here's a a simple test case. Here's some SQL, which echoes out the message "Hello World" 64 times: !echo "Hello World" !echo "Hello World" !echo "Hello World" !echo "Hello World" ... !echo "Hello World" Run it on the AMD server: informix@db-1<qa1>:ardenta]$ time dbaccess sysmaster < crap5.sql Database selected. Hello World ... Hello World Database closed. real 0m7.776s user 0m0.016s sys 0m0.049s Run it on an Intel server, same IDS version etc: Hello World ... Hello World Database closed. real 0m0.580s user 0m0.005s sys 0m0.037s 12 times as slow on AMD. We noticed it when trunning some data load scripts which outputs thousands of progress messages, and went from 10m at home to 50m on the client's (far superior) hardware. Of course we could just omit the statements, but I am worried that this may be part of a bigger issue. IBM PMR 85722,019,866 refers. _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list IT Handel und Beratung Jorg Volz Bernhard-Fruh-Str. 7 77855 Achern GERMANY Tel: +49 (0)7841-681651 Fax: +49 (0)7841-681654 Mobil: +49 (0)170-2989757 VAT-ID: DE201383541 http://www.it-volz.de _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#5
| |||
| |||
|
|
"Art Kagel" <art.kagel (AT) gmail (DOT) com> wrote in message news:mailman.123.1271370641.1071.informix-list (AT) iiug (DOT) org... Console or Xwindows terminal? That could be a difference also. FWIW |
#6
| |||
| |||
|
|
Just some usual suspects: Misconfigured memory / mainboard parameters in BIOS? Memory in a slow slot layout (running, but not wrong enough to cause an error)? Or wrong speed? Faulty Mainboard? Had this once, caused strange errors, including intermittent speed behavior. Cause was a chipset chip with faulty soldering. Is a C/PERL/bash program also very slow, or only Informix programs? My personal experience is that AMD // Intel do work more or less within the same speed range, more problems occur with wrong memory and HD layout or SAS/SCSI Controllers. |
#7
| |||
| |||
|
|
"Joerg Volz" <jo... (AT) it-volz (DOT) de> wrote in message news:mailman.124.1271370963.1071.informix-list (AT) iiug (DOT) org... Just some usual suspects: Misconfigured memory / mainboard parameters in BIOS? Memory in a slow slot layout (running, but not wrong enough to cause an error)? Or wrong speed? Faulty Mainboard? Had this once, caused strange errors, including intermittent speed behavior. Cause was a chipset chip with faulty soldering. Is a C/PERL/bash program also very slow, or only Informix programs? My personal experience is that AMD // Intel do work more or less within the same speed range, more problems occur with wrong memory and HD layout or SAS/SCSI Controllers. Well I've tried it on two different physical servers at the customer site, with the same result. *So I certainly think a hardware error is unlikely. It's possible that the same person systematically mis-configured the servers on assembly. I might have added that most Informix functions I've tried (dbimport, index builds) are lightening fast on the AMDs. *This system call is the only blip i've found. |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
Mr. Neil, Are you sure it´s all the same??? Isn´t any difference between the disks configuration??? (Ie: raw devices on old one, and cooked files on this new one???) That´s just a guess, but it seems you´re having some troubles on this section, isn´t it ? How are your storage system architecture? Regards. Alexandre Marini Tecnologia da Informação - DBA SEFAZ-MS / SGI-UIMP / Sistemas IBM-Informix See you at the 2010 IIUG Informix Conference April 25-28, 2010 Overland Park (Kansas City), KS www.iiug.org/conf http://www.iiug.org Neil Truby escreveu: IDS 11.5FC6 on RHEL 5.3 Here's a starange one. When running SQL which interacts with OS to output messages, it's very, very much slower at a new customer site than it is at our own or others. The difference seems to be the AMD processors the customer has (we have Intel) - the OS and IDS versions are identical. Here's a a simple test case. Here's some SQL, which echoes out the message "Hello World" 64 times: !echo "Hello World" !echo "Hello World" !echo "Hello World" !echo "Hello World" ... !echo "Hello World" Run it on the AMD server: informix@db-1<qa1>:ardenta]$ time dbaccess sysmaster< crap5.sql Database selected. Hello World ... Hello World Database closed. real 0m7.776s user 0m0.016s sys 0m0.049s Run it on an Intel server, same IDS version etc: Hello World ... Hello World Database closed. real 0m0.580s user 0m0.005s sys 0m0.037s 12 times as slow on AMD. We noticed it when trunning some data load scripts which outputs thousands of progress messages, and went from 10m at home to 50m on the client's (far superior) hardware. Of course we could just omit the statements, but I am worried that this may be part of a bigger issue. IBM PMR 85722,019,866 refers. _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#10
| |||
| |||
|
|
Well, why not do this (as previously posted, but removing the database connection) : strace -o slow1.out -c -f dbaccess - slow1 where slow1 contains your 64 !echo "Hello World" Also, just try it on the actual machine rather than via ssh |
![]() |
| Thread Tools | |
| Display Modes | |
| |