[Mono-list] Lag when running mono
Konstantin Bokarius
bokarius at comcast.net
Wed Oct 17 04:53:12 EDT 2007
I have mono installed on several systems with identical hardware and OSes
installed and only some, not all, exhibit the laggy behavior. On some of
the systems the Hello World application is executed immediately while on
others it takes 4-8 seconds to see Hello World printed on the screen. An
strace of the good systems show the same output only there is no lag. I
don't think this has anything to do with whether .net apps are interpreted.
----- Original Message -----
From: "David Temes" <dtemes at infoco.es>
To: <bokarius at comcast.net>
Sent: Wednesday, October 17, 2007 1:32 AM
Subject: Re: [Mono-list] Lag when running mono
> Well, remember that .net apps are interpreted, maybe the last posts about
> JIT and trampolines in the mono blog can help you.
>
> http://www.go-mono.com/monologue/
>
> David Temes.
>
> ----- Original Message -----
> From: <bokarius at comcast.net>
> To: <mono-list at lists.ximian.com>
> Sent: Wednesday, October 17, 2007 9:35 AM
> Subject: [Mono-list] Lag when running mono
>
>
>> When I run mono on a Hello World app there is a 4-8 second delay before
>> "Hello World!" is printed on the screen. I did an strace when calling
>> mono and it looks like the lag occurs when these system calls are made:
>>
>> nanosleep({0, 10000000}, NULL) = 0
>> nanosleep({0, 10000000}, NULL) = 0
>> socket(PF_FILE, SOCK_STREAM, 0) = 3
>> connect(3, {sa_family=AF_FILE,
>> path=@mono-handle-daemon-0-10501-1192596744}, 110) = 0
>> mmap2(NULL, 4001792, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
>> 0) = 0xb791e000
>> sendmsg(3, {msg_name(0)=NULL,
>> msg_iov(1)=[{"\1\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...
>> , 36}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 36
>> recv(3,
>>
>> It looks like it is waiting for a response from mono-handle-daemon but
>> does not receive it for a few seconds.
>>
>> What is mono-handle-daemon and is there any way to test or modify it?
>>
>> --
>> -Konstantin Bokarius
>> -bokarius at comcast.net
>>
>> -------------- Original message ----------------------
>> From: "Rob Dagg" <rob.dagg at vizor.ie>
>>> Will do. Cheers
>>>
>>>
>>>
>>> ________________________________
>>>
>>> From: Gert Driesen [mailto:gert.driesen at telenet.be]
>>> Sent: 17 October 2007 08:18
>>> To: Rob Dagg; mono-list at lists.ximian.com
>>> Subject: RE: [Mono-list] (no subject)
>>>
>>>
>>>
>>> Rob,
>>>
>>>
>>>
>>> Please submit a bug report and attach the resx file in question.
>>>
>>>
>>>
>>> Gert
>>>
>>>
>>>
>>> ________________________________
>>>
>>> From: mono-list-bounces at lists.ximian.com
>>> [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Rob Dagg
>>> Sent: woensdag 17 oktober 2007 9:12
>>> To:
>>> Subject: [Mono-list] (no subject)
>>>
>>> Hi,
>>>
>>>
>>>
>>> I'm pretty new to mono and was hoping someone might be able to point out
>>> why Resgen return s the error:
>>>
>>>
>>>
>>> Error: Invalid ResX input.
>>>
>>>
>>>
>>> Inner exception: Exception has been thrown by the target of an
>>> invocation. Line 124, position 5.
>>>
>>>
>>>
>>>
>>>
>>> When it reaches the following lines in the resx file it is compiling
>>>
>>>
>>>
>>>
>>>
>>> 122: <data name="arrowDown3" type="System.Resources.ResXFileRef,
>>> System.Windows.Forms">
>>>
>>>
>>>
>>> 123: <value>ResourceObjects/arrowDown3.gif;System.Drawing.Bitmap,
>>> System.Drawing, Version=2.0.0.0, Culture=neutral,
>>> PublicKeyToken=b03f5f7f11d50a3a</value>
>>>
>>>
>>>
>>> 124: </data>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Thanks for your help,
>>>
>>>
>>>
>>> Rob
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>> -------------------------------------------------------------------
>>>
>>> This e-mail is confidential and intended for its addressee only. If you
>>> have received this in error, please delete it from any computer and
>>> inform the sender by telephone (+353 1 440 0600) or by return e-mail.
>>> If you are not the addressee any use disclosure, reproduction or
>>> transmission of this e-mail is strictly prohibited. Any opinions
>>> expressed within the message are those of the sender, and are not
>>> necessarily reflective of the prevailing company policies.
>>>
>>>
>>
>>
>>
>
>
> --------------------------------------------------------------------------------
>
>
>> _______________________________________________
>> Mono-list maillist - Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>
>
> --------------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.488 / Virus Database: 269.14.13/1074 - Release Date:
> 16/10/2007 14:14
>
More information about the Mono-list
mailing list