[ic] Upgrade to Interchange-5.7.4 performance issues

Bill Carr bill at bottlenose-wine.com
Wed Mar 17 11:29:26 UTC 2010


On Mar 17, 2010, at 7:06 AM, Bill Carr wrote:

> 
> On Mar 16, 2010, at 11:14 PM, Peter wrote:
> 
>> On 17/03/10 13:34, Bill Carr wrote:
>>> I tried removing all UTF-8 flags and directives and I've tried with
>>> 5.7.5 nightly and I still get big slow downs compared to running
>>> 5.4.0. During the slow downs there are several interchange processes
>>> consuming 100% CPU. What else can I try?
>> 
>> Have you tried setting the MINIVEND_DISABLE_UTF8 environment variable
>> before starting the Interchange server?
> Yes, I put the following right in bin/interchange
> 
> $ENV{MINIVEND_DISABLE_UTF8} = 1;
I ran strace on both 5.4.0 and 5.7.5 and one obvious difference I see in 5.7.5 is the following:

open("/dev/urandom", O_RDONLY)          = 18
read(18, "\322\201\304#", 4)            = 4
close(18)                               = 0
select(8, [2], NULL, NULL, {1, 0})      = 1 (in [2], left {0, 999998})
read(2, "a", 1)                         = 1
select(8, [2], NULL, NULL, {1, 0})      = 1 (in [2], left {0, 999999})
read(2, "r", 1)                         = 1
select(8, [2], NULL, NULL, {1, 0})      = 1 (in [2], left {0, 999999})
read(2, "g", 1)                         = 1
select(8, [2], NULL, NULL, {1, 0})      = 1 (in [2], left {0, 999999})
read(2, " ", 1)                         = 1
select(8, [2], NULL, NULL, {1, 0})      = 1 (in [2], left {0, 999999})
read(2, "0", 1)                         = 1

Followed by hundreds of the last two lines above (with different values). Is that a clue? Is that expected?

 
Bill Carr 
Bottlenose - Wine & Spirits eBusiness Specialists 
(413) 584-0400 
http://www.bottlenose-wine.com 
 Download vCard




More information about the interchange-users mailing list