Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 3 Mar 2003 13:08:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 3 Mar 2003 13:08:09 -0500 Received: from ns.suse.de ([213.95.15.193]:11017 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id ; Mon, 3 Mar 2003 13:08:07 -0500 To: Chris Friesen Cc: linux-kernel@vger.kernel.org, netdev@oss.sgi.com, linux-net@vger.kernel.org, hadi@cyberus.ca Subject: Re: anyone ever done multicast AF_UNIX sockets? References: <3E5E7081.6020704@nortelnetworks.com.suse.lists.linux.kernel> <20030228083009.Y53276@shell.cyberus.ca.suse.lists.linux.kernel> <3E5F748E.2080605@nortelnetworks.com.suse.lists.linux.kernel> <20030228212309.C57212@shell.cyberus.ca.suse.lists.linux.kernel> <3E619E97.8010508@nortelnetworks.com.suse.lists.linux.kernel> <20030302081916.S61365@shell.cyberus.ca.suse.lists.linux.kernel> <3E6398C4.2020605@nortelnetworks.com.suse.lists.linux.kernel> From: Andi Kleen Date: 03 Mar 2003 19:18:07 +0100 In-Reply-To: Chris Friesen's message of "3 Mar 2003 19:07:27 +0100" Message-ID: X-Mailer: Gnus v5.7/Emacs 20.7 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 877 Lines: 17 Chris Friesen writes: > I'll look at how they were measuring unix socket throughput and try > implementing something similar for UDP. It's not clear to me how to > really measure throughput in a multicast environment though since it > depends very much on your application messaging patterns. Unix sockets are often slower than TCP over loopback because they use much smaller socket sizes by default. This causes much more context switches. Just run a vmstat 1 in parallel and watch the context switch rates. You can fix it by increasing the send and receive buffers of the unix socket. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/