From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 01:50:31 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 14467B8E; Mon, 10 Nov 2014 01:50:31 +0000 (UTC) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF8ABC8; Mon, 10 Nov 2014 01:50:30 +0000 (UTC) Received: by mail-ig0-f172.google.com with SMTP id a13so15725305igq.5 for ; Sun, 09 Nov 2014 17:50:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=y9XxfzOt6T1jjRBDxP8AO1GKxJxloVywBq+qSBahY/8=; b=P1Lcuw/Imsz0vX5P6nNBorjbydE5eVmHo7gz24ULC7dKJw/2O+F8+DdKqOCm2S0gDE GpMr3nyZeY2Yi7nxDrdomkPLTPLFNh2enMf58Tyw4f315oFgKQParR43sVGQnhSME8aR dZQuKDRf8yrS2OedmJT9lpF8/L2/uVjpy1BeiKprtLIDnCg3isS7XMk0UANXRsdI9MaI dbkaDCuS7UGI16+B9qYvkAmAB48EGF3r+xZ1d5tPKffz4SYphHp2D7k9qpGai8JKCTia pjDUx0oeYq1sdZf33dCELlZ2QyHViFJ0iYIND8RL6EL8pJ6/09mnymYUvuA8ZUIvu8W/ DT/w== MIME-Version: 1.0 X-Received: by 10.42.27.9 with SMTP id h9mr33863700icc.32.1415584230248; Sun, 09 Nov 2014 17:50:30 -0800 (PST) Sender: jdavidlists@gmail.com Received: by 10.43.96.202 with HTTP; Sun, 9 Nov 2014 17:50:30 -0800 (PST) In-Reply-To: References: Date: Sun, 9 Nov 2014 20:50:30 -0500 X-Google-Sender-Auth: JgWQcTlxnvwvTi2RiBwABZsngUw Message-ID: Subject: Re: How thread-friendly is kevent? From: J David To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-hackers@freebsd.org" , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2014 01:50:31 -0000 On Sun, Nov 9, 2014 at 4:17 PM, Adrian Chadd wrote: > Are you putting the same FD into multiple threads and hoping that only > one note will wake up on one listening kqueue? That's the behavior observed in testing. That's somewhat surprising, hence the question. Thanks!