[ic] Upgrade to Interchange-5.7.4 performance issues
Stefan Hornburg (Racke)
racke at linuxia.de
Wed Mar 17 11:43:18 UTC 2010
Bill Carr wrote:
> 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?
It somehow reads some data through a socket one by one character, that's for certain not efficient.
Can you pastebin a complete strace so we can see which socket is attached to filehandle #8?
Regards
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
More information about the interchange-users
mailing list