From owner-freebsd-transport@freebsd.org Thu Jan 21 22:42:41 2016 Return-Path: Delivered-To: freebsd-transport@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B4769A8C955 for ; Thu, 21 Jan 2016 22:42:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com [IPv6:2607:f8b0:4001:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A6861979 for ; Thu, 21 Jan 2016 22:42:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x22b.google.com with SMTP id g73so71845839ioe.3 for ; Thu, 21 Jan 2016 14:42:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NK6Mkis+BUBGo3TdPsEY05QAb8IpvC8GH6xZN95KOzQ=; b=vx2Yu1SEIUe75bH+F58qZNZmjoBhKr8eAR7Dzzpax0QMlBpZRpVx1gj/gCt2ViYMtD xyi1qIiFrM4qhfvp4y4DfKN1vF+IJuu7xVfLJCChp/mnjNvo6vofdtC3dvPo85oE0Hep q2Y58Lj64t84xMvS1DtiyxF+C5GyGzg5zWwiZvtssOplkzAgrkKW+nbZwyLEDJP8bbw1 zAaL06FabcPmrtDHt2m2xGY8apLjBmc3xr38raRP3/FOpnAcMoybNXwUs6prFi/badod GbZ0gtP02ZLfWps9IDihOI6tJ9MACvLhDGG+vnvuLcoJi27144k83WwksPo1gZi2u2mf yIOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=NK6Mkis+BUBGo3TdPsEY05QAb8IpvC8GH6xZN95KOzQ=; b=jJuW1GqdQJUfbIn2f3kauj/I9atEE9MJ/rEaecgInSH/YP7pg25VgHRjMobfsxR97g 7qheasR2xuXJ+2NnCeEIMMqek8hvMDmTXFIFx3kZHS6JSDvb64YcIoOXS5hjonTsPTE4 cIlPcGgcbO0kUVyxZxoc4eORk/MCL31SQxspJIOsipTcoGm0EvOxXKTJAxNgXp21eJQF uo14ck/coTyV8pBz+HY3i06smrvlO66YpYGpWNO1+kECQyLpi6wlt+30w1jywergnUpS VusEqwR2osLkHE3D0q1PgJZ2DV/GcTZEB0Pk3/WJPeXbaN8Q/wzQzCHXNT2pjHipJVM6 K8eA== X-Gm-Message-State: AG10YOSOltF2MNDI3bvwKJKVPdDLTpa2rMffzuwjoElBKeRwUVgg3887OlK6spvV0ciIFyBZOa7UPokFtwFYDA== MIME-Version: 1.0 X-Received: by 10.107.11.162 with SMTP id 34mr299469iol.165.1453416160982; Thu, 21 Jan 2016 14:42:40 -0800 (PST) Received: by 10.36.121.16 with HTTP; Thu, 21 Jan 2016 14:42:40 -0800 (PST) In-Reply-To: <1526652dd58.117a1e7e938176.477104883701987065@nextbsd.org> References: <1526652dd58.117a1e7e938176.477104883701987065@nextbsd.org> Date: Thu, 21 Jan 2016 14:42:40 -0800 Message-ID: Subject: Re: Flamegraph of 8KB message bottlenecks From: Adrian Chadd To: Matthew Macy Cc: Ryan Stone , "" Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Fri, 22 Jan 2016 00:13:38 +0000 X-BeenThere: freebsd-transport@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions of transport level network protocols in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2016 22:42:41 -0000 On 21 January 2016 at 14:34, Matthew Macy wrote: > ~170k interrupts / second for ~800kpps, but at this point clearly all the time is spent on syscall overhead Sure, that's why I asked. I see the fgets stuff looking lock contend-y, and I see a sleeplock kicking in via kern_sendit -> sx_xlock_hard; so something's blocking on a lock. The kqueue locking too is a problem - kqueue doesn't handle lots of fast producer/consumer things and it contends badly. :( -a > > > > ---- On Thu, 21 Jan 2016 14:11:34 -0800 Adrian Chadd wrote ---- > > Well, how many interrupts/second is this seeing? > > > > > > -a > > _______________________________________________ > > freebsd-transport@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-transport > > To unsubscribe, send any mail to "freebsd-transport-unsubscribe@freebsd.org" > > >