[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-devel-list
Subject:    Re: [Mono-dev] TCP 3.0.1/2
From:       Rodrigo Kumpera <kumpera () gmail ! com>
Date:       2013-01-23 18:51:38
Message-ID: CACmR+BBvrbau3p+NVUHZ0Vk3-Lz37p7n_KcysBQBocu=yAT9cw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I don't have anything but the current test case posted on this thread.

I can reproduce it easily on 64bits Ubuntu with epoll enabled but it worked
flawlessly for an hour with epoll disabled.

I think the right fix is to do take a similar approach of the poll backend
on how to notify the watcher thread of configuration changes.
Just send all changes over a pipe and let a single thread do it.




On Wed, Jan 23, 2013 at 10:15 AM, Andres G. Aragoneses <knocte@gmail.com>wrote:

> 
> Hey Rodrigo,
> 
> If you mention already the epoll backend as the place where the bug is,
> does that mean you have already a more isolated testcase than the one
> posted earlier in this thread? If yes, I might look into it, but I don't
> promise anything.
> 
> Thanks
> 
> 
> On 21/01/13 19:27, Rodrigo Kumpera wrote:
> 
> > Yes, it's the current suggested workaround until someone post a fix for
> > the epoll backend.
> > 
> > 
> > On Mon, Jan 21, 2013 at 10:10 AM, Roope Kangas <roope@grandcrugames.com
> > <mailto:roope@grandcrugames.**com <roope@grandcrugames.com>>> wrote:
> > 
> > Hi!
> > 
> > Whats the status of this issue?
> > 
> > Is the "best" way on mono to implement a server by writing it
> > against the *Async API and then settings MONO_DISABLE_AIO=1
> > 
> > Seems odd?
> > 
> > --
> > Roope
> > 
> > On Dec 7, 2012, at 6:44 PM, Rodrigo Kumpera <kumpera@gmail.com
> > <mailto:kumpera@gmail.com>> wrote:
> > 
> > By the way, did you guys tried MONO_DISABLE_AIO=1 by any chance on
> > > your tests? It solves the issue for me.
> > > 
> > > 
> > > On Thu, Dec 6, 2012 at 3:46 AM, Greg Young
> > > <gregoryyoung1@gmail.com \
> > > <mailto:gregoryyoung1@gmail.**com<gregoryyoung1@gmail.com>>> wrote:
> > > 
> > > We have code that shows the issue
> > > https://github.com/ysw/mono-**socket-problem/tree/master/**
> > > SocketTest<https://github.com/ysw/mono-socket-problem/tree/master/SocketTest>
> > > 
> > > Greg
> > > 
> > > On Fri, Nov 30, 2012 at 4:10 PM, Rodrigo Kumpera
> > > <kumpera@gmail.com <mailto:kumpera@gmail.com>> wrote:
> > > 
> > > Btw, I managed to find a linux bot that shows the io
> > > callback issue.
> > > The TP test works fine though.
> > > 
> > > 
> > > On Fri, Nov 30, 2012 at 12:29 AM, Greg Young
> > > <gregoryyoung1@gmail.com \
> > > <mailto:gregoryyoung1@gmail.**com<gregoryyoung1@gmail.com>
> > > > > 
> > > 
> > > wrote:
> > > 
> > > Thats already been provided (though its not hard to
> > > do). I will
> > > reupload a test that shows beahviour.
> > > 
> > > 
> > > 
> > > 
> > > 
> > > --
> > > Le doute n'est pas une condition agréable, mais la certitude
> > > est absurde.
> > > 
> > > 
> > > ______________________________**_________________
> > > Mono-devel-list mailing list
> > > Mono-devel-list@lists.ximian.**com<Mono-devel-list@lists.ximian.com>
> > > <mailto:Mono-devel-list@lists.**ximian.com<Mono-devel-list@lists.ximian.com>
> > > > 
> > > http://lists.ximian.com/**mailman/listinfo/mono-devel-**list<http://lists.ximian.com/mailman/listinfo/mono-devel-list>
> > >  
> > 
> > 
> > 
> > 
> > ______________________________**_________________
> > Mono-devel-list mailing list
> > Mono-devel-list@lists.ximian.**com <Mono-devel-list@lists.ximian.com>
> > http://lists.ximian.com/**mailman/listinfo/mono-devel-**list<http://lists.ximian.com/mailman/listinfo/mono-devel-list>
> >  
> > 
> 
> ______________________________**_________________
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.**com <Mono-devel-list@lists.ximian.com>
> http://lists.ximian.com/**mailman/listinfo/mono-devel-**list<http://lists.ximian.com/mailman/listinfo/mono-devel-list>
>  


[Attachment #5 (text/html)]

<div dir="ltr">I don&#39;t have anything but the current test case posted on this \
thread.<div><br></div><div style>I can reproduce it easily on 64bits Ubuntu with \
epoll enabled but it worked flawlessly for an hour with epoll disabled.</div> <div \
style><br></div><div style>I think the right fix is to do take a similar approach of \
the poll backend on how to notify the watcher thread of configuration \
changes.</div><div style>Just send all changes over a pipe and let a single thread do \
it.</div> <div style><br></div><div style><br></div></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 23, 2013 at 10:15 \
AM, Andres G. Aragoneses <span dir="ltr">&lt;<a href="mailto:knocte@gmail.com" \
target="_blank">knocte@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><br> Hey Rodrigo,<br>
<br>
If you mention already the epoll backend as the place where the bug is, does that \
mean you have already a more isolated testcase than the one posted earlier in this \
thread? If yes, I might look into it, but I don&#39;t promise anything.<br>

<br>
Thanks<div class="im"><br>
<br>
On 21/01/13 19:27, Rodrigo Kumpera wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="im"> Yes, it&#39;s the current suggested \
workaround until someone post a fix for<br> the epoll backend.<br>
<br>
<br>
On Mon, Jan 21, 2013 at 10:10 AM, Roope Kangas &lt;<a \
href="mailto:roope@grandcrugames.com" \
target="_blank">roope@grandcrugames.com</a><br></div><div class="im"> &lt;mailto:<a \
href="mailto:roope@grandcrugames.com" \
target="_blank">roope@grandcrugames.<u></u>com</a>&gt;&gt; wrote:<br> <br>
    Hi!<br>
<br>
    Whats the status of this issue?<br>
<br>
    Is the &quot;best&quot; way on mono to implement a server by writing it<br>
    against the *Async API and then settings MONO_DISABLE_AIO=1<br>
<br>
    Seems odd?<br>
<br>
    --<br>
    Roope<br>
<br>
    On Dec 7, 2012, at 6:44 PM, Rodrigo Kumpera &lt;<a \
href="mailto:kumpera@gmail.com" target="_blank">kumpera@gmail.com</a><br></div>  \
&lt;mailto:<a href="mailto:kumpera@gmail.com" \
target="_blank">kumpera@gmail.com</a>&gt;&gt; wrote:<br> <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="im">  By the way, did you guys tried \
MONO_DISABLE_AIO=1 by any chance on<br>  your tests? It solves the issue for me.<br>
<br>
<br>
    On Thu, Dec 6, 2012 at 3:46 AM, Greg Young<br></div><div class="im">
    &lt;<a href="mailto:gregoryyoung1@gmail.com" \
target="_blank">gregoryyoung1@gmail.com</a> &lt;mailto:<a \
href="mailto:gregoryyoung1@gmail.com" \
target="_blank">gregoryyoung1@gmail.<u></u>com</a>&gt;&gt; wrote:<br> <br>
        We have code that shows the issue<br>
        <a href="https://github.com/ysw/mono-socket-problem/tree/master/SocketTest" \
target="_blank">https://github.com/ysw/mono-<u></u>socket-problem/tree/master/<u></u>SocketTest</a><br>
 <br>
        Greg<br>
<br>
        On Fri, Nov 30, 2012 at 4:10 PM, Rodrigo Kumpera<br></div><div class="im">
        &lt;<a href="mailto:kumpera@gmail.com" target="_blank">kumpera@gmail.com</a> \
&lt;mailto:<a href="mailto:kumpera@gmail.com" \
target="_blank">kumpera@gmail.com</a>&gt;&gt; wrote:<br> <br>
            Btw, I managed to find a linux bot that shows the io<br>
            callback issue.<br>
            The TP test works fine though.<br>
<br>
<br>
            On Fri, Nov 30, 2012 at 12:29 AM, Greg Young<br></div>
            &lt;<a href="mailto:gregoryyoung1@gmail.com" \
target="_blank">gregoryyoung1@gmail.com</a> &lt;mailto:<a \
href="mailto:gregoryyoung1@gmail.com" \
target="_blank">gregoryyoung1@gmail.<u></u>com</a>&gt;&gt;<div class="im"> <br>
            wrote:<br>
<br>
                Thats already been provided (though its not hard to<br>
                do). I will<br>
                reupload a test that shows beahviour.<br>
<br>
<br>
<br>
<br>
<br>
        --<br>
        Le doute n&#39;est pas une condition agréable, mais la certitude<br>
        est absurde.<br>
<br>
<br>
    ______________________________<u></u>_________________<br>
    Mono-devel-list mailing list<br>
    <a href="mailto:Mono-devel-list@lists.ximian.com" \
target="_blank">Mono-devel-list@lists.ximian.<u></u>com</a><br></div>  &lt;mailto:<a \
href="mailto:Mono-devel-list@lists.ximian.com" \
target="_blank">Mono-devel-list@lists.<u></u>ximian.com</a>&gt;<br>  <a \
href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" \
target="_blank">http://lists.ximian.com/<u></u>mailman/listinfo/mono-devel-<u></u>list</a><br>
 </blockquote><div class="im">
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Mono-devel-list mailing list<br>
<a href="mailto:Mono-devel-list@lists.ximian.com" \
target="_blank">Mono-devel-list@lists.ximian.<u></u>com</a><br> <a \
href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" \
target="_blank">http://lists.ximian.com/<u></u>mailman/listinfo/mono-devel-<u></u>list</a><br>
 <br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
______________________________<u></u>_________________<br>
Mono-devel-list mailing list<br>
<a href="mailto:Mono-devel-list@lists.ximian.com" \
target="_blank">Mono-devel-list@lists.ximian.<u></u>com</a><br> <a \
href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" \
target="_blank">http://lists.ximian.com/<u></u>mailman/listinfo/mono-devel-<u></u>list</a><br>
 </div></div></blockquote></div><br></div>



_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic