From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by sourceware.org (Postfix) with ESMTPS id E3CF2384B060 for ; Wed, 17 Mar 2021 12:47:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E3CF2384B060 Received: by mail-lf1-x133.google.com with SMTP id k9so2720022lfo.12 for ; Wed, 17 Mar 2021 05:47:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:content-language :thread-index; bh=5a7QBsEsWlCBl5jbWZziJr7P8/KNSz48KBrgbznAsw4=; b=EjiQfLhbGcMpsBV/rJ6+Lo//2v54bjMUWoeNQEqOiZyMUtWB/YUza9JUU6Hh1Yd/sr DQW7HA8KMXbWZ7M9tBtXQyTz7PJLjaTQi47zGDsPcuvRpIqwMODQEGLeufZrcykIXN59 USpus7QsTCuZ9L67IZPVq01XmPiFjMxeMK2SSpswNcJLQC1SbYN2wxwIdFT1SIcpRhOP 8I/jntMKaQ8Eoh/IYF9Dtok1v3JTawK/ksW6GzP3Gl5mgKBvcrxFFvVFbQ+Mn6R+omxr AcQ6bMVsaeUS/jqgu7x3vWYas78j0gDHKF79DbYfSxkq1pLVdy0EtVCqmDUcyUfTikXj rkjw== X-Gm-Message-State: AOAM532ZXFXcNhpHAwW36/fDiNsAhEtbRR11VQgpOUrhCqabf91Hxwhi n9o+AnpNrlet7obhNO5Te/VQfJ3lhLM= X-Google-Smtp-Source: ABdhPJxt/sBcy6g6J8HVyjtvNVoN3L3ZSewOyfKDKRCf2mtJSCQYHCyaxmBidQ1wH29bsVcIRIwHHQ== X-Received: by 2002:ac2:446d:: with SMTP id y13mr2230151lfl.365.1615985224797; Wed, 17 Mar 2021 05:47:04 -0700 (PDT) Received: from JOKK (87-249-172-112.ljusnet.se. [87.249.172.112]) by smtp.gmail.com with ESMTPSA id q14sm3384360lfd.214.2021.03.17.05.47.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Mar 2021 05:47:04 -0700 (PDT) From: To: References: <97d2b3af-224a-6873-fb4a-55a0ae9cd379@cornell.edu> <3e3cfe17-7fda-b063-4885-9114db9e748d@cornell.edu> <70b5577f-2cf1-0110-5d3b-cb2bd8ee6df2@cornell.edu> <69ad720c-8ea6-d3bb-b0a5-5556c4550091@oracle.com> <2d85550f-d753-4055-8b93-35e5287a9a93@oracle.com> <8ad29a66-fb4c-a587-eed3-eaa7e0389a77@cornell.edu> <20210201151056.GQ375565@calimero.vinschen.de> <7fb70a75-8557-6c95-27fa-697c92dcedce@cornell.edu> <000201d71a54$638c67c0$2aa53740$@gmail.com> <0cc7931c-6c07-755d-2d0c-1b62189fddd9@cornell.edu> In-Reply-To: <0cc7931c-6c07-755d-2d0c-1b62189fddd9@cornell.edu> Subject: Sv: Sv: Problems with native Unix domain sockets on Win 10/2019 Date: Wed, 17 Mar 2021 13:47:03 +0100 Message-ID: <000501d71b2b$a1a5f2b0$e4f1d810$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: en-gb Thread-Index: AQI8NThn3Mer3MK6nW7B8MuJENkyOAF9f+EpArDdXnEBfXeJXwHf9w0GAhxtmUgB/p/ocAH/yr5TAMojum0B4Uuz6QK0PL+iAjJtzlgAuJO9YgIMYV8fAaLsph0CM5efqqjfRPJw X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2021 12:47:07 -0000 [Snip] > >> Hi all > >> > >> Does anyone know the status of these fixes ? > >> > >> I saw an announcement for cygwin-3.2.0-0.1 that seemed to contain > >> some AF_UNIX-related fixes but I fail to find out where that > >> distribution exists (if it is supposed to be publicly accessible?), > >> but I tried out the > >> 2021-03-01 snapshot and perhaps they are similar ? >=20 > You can install cygwin-3.2.0-0.1 in the usual way, through Cygwin's = setup > program. Since it's a test release, you'll have to explicitly select = that > release; setup won't just offer it to you. Ahh thanks, it took a while before I noticed that Text-checkbox ;-) See more below > >> We bumped into some AF_UNIX-related issues when trying the = 2021-03-01 > >> -snapshot though. It might be some flaws in our code base but the > >> same code works in quite a few Linux-distros > >> > >> We're more than willing to help out with testing this and/or trying > >> to narrow down any possible cygwin issues, but first we'd be glad = if > >> someone could give us some kind of status report of this (so no one > >> is doing any unnecessary work) > >> > >> > >> Best regards, > >> Kristian > >> > >> p.s. > >> =A0=A0=A0 I tried to build the topic/af_unix -branch according to = the FAQ, > >> but there was some issues >=20 > I'm still in the middle of some things on that branch, and I haven't = had > much time to work on it recently. I hope to get back to it very soon. = In > order to build it, you need to add -D__WITH_AF_UNIX to CXXFLAGS.=20 Is this when building newlib-cygwin ? I discovered now that I had wrong MinGW installed and apparently other things are missing as well See more below > In order to test it, you need >=20 > #undef AF_UNIX > #define AF_UNIX 31 >=20 > after including >=20 > Ken The issues we're experiencing is that messages are lost during heavy = load. We essentially do have one thread writing a bunch of messages with a = fixed buffer chunk size and one thread consuming and sometimes messages = disappear or at least end up in the wrong order. When playing around with the size = of the buffer (we sometimes get -1 but no errno) from write and/or receive Another observation is that for smaller number of, it is faster than = named pipes but the more messages that are written/consumed the performance derogates a in the end throughput is getting exponentially slower Hopefully, this is a defect in our code base, but I will try to narrow = it down with and try to reproduce the behaviour and I will then possibly = make another issue at this mailing list Keep up the good work Best regards, Kristian