[ic] Upgrade to Interchange-5.7.4 performance issues

Gert van der Spoel gert at 3edge.com
Wed Mar 17 11:29:39 UTC 2010


> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org [mailto:interchange-
> users-bounces at icdevgroup.org] On Behalf Of Bill Carr
> Sent: Wednesday, March 17, 2010 1:29 PM
> To: interchange-users at icdevgroup.org
> Subject: Re: [ic] Upgrade to Interchange-5.7.4 performance issues
> 
> 
> 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?

arg 0   ... strange and weird too ... it probably writes out in something
readable adding all hundreds lines together?

CU,

Gert







More information about the interchange-users mailing list