[Mono-list] Lag when running mono

bokarius at comcast.net bokarius at comcast.net
Wed Oct 17 03:35:35 EDT 2007


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.
> 
> 


-------------- next part --------------
An embedded message was scrubbed...
From: "Rob Dagg" <rob.dagg at vizor.ie>
Subject: Re: [Mono-list] (no subject)
Date: Wed, 17 Oct 2007 07:27:33 +0000
Size: 13917
Url: http://lists.ximian.com/pipermail/mono-list/attachments/20071017/0021c12c/attachment-0001.mht 


More information about the Mono-list mailing list