From owner-freebsd-net@FreeBSD.ORG Sun Sep 13 14:32:18 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDCD61065693 for ; Sun, 13 Sep 2009 14:32:18 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: from n23.bullet.mail.mud.yahoo.com (n23.bullet.mail.mud.yahoo.com [68.142.206.162]) by mx1.freebsd.org (Postfix) with SMTP id 78A418FC25 for ; Sun, 13 Sep 2009 14:32:18 +0000 (UTC) Received: from [68.142.200.226] by n23.bullet.mail.mud.yahoo.com with NNFMP; 13 Sep 2009 14:19:24 -0000 Received: from [76.13.13.26] by t7.bullet.mud.yahoo.com with NNFMP; 13 Sep 2009 14:19:24 -0000 Received: from [76.13.10.174] by t3.bullet.mail.ac4.yahoo.com with NNFMP; 13 Sep 2009 14:19:24 -0000 Received: from [127.0.0.1] by omp115.mail.ac4.yahoo.com with NNFMP; 13 Sep 2009 14:19:24 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 249478.10204.bm@omp115.mail.ac4.yahoo.com Received: (qmail 58132 invoked by uid 60001); 13 Sep 2009 14:19:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1252851564; bh=2RxZ11rstLwkcSdnIdXTJ1jgoV+KozgyNTKMUd3gJqo=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=Wm1Jf8yNfOpYPivsVybdldwYVdRbsBbWvcNdBzVxKxv3hBl8Ug743/nE10xsh7P8yMGEnC1ZiPYlXmftdiOrVS3S108hkCyoIOZlPOjz5CEYE19l0FBPT6MnX9wjIILiAbu5M497imUvCvOtNXLkHeuBKEWed6jOhSLDqAQ8S5A= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=BnGUNI1fAUpLgKVG2VugS3dSy32K2Dzlq9m/UtFWYvzBL+inDs4GSX8sRk3D/wxi9fbq7VHBxqp7GAGFcxRvLgvXldsqgdQe9rCv1vf0lR8AzuXUyoDVgv1wcjtZxLQvWVrowfoLI53blGlQBHz4jUwbYQm/hR9iaoOie0oeuk4=; Message-ID: <94372.57247.qm@web63906.mail.re1.yahoo.com> X-YMail-OSG: iV9NFhcVM1kBLrcNXzmJrNI17MUnL4srWFXeOAbyJ.slm9HeSlCORi5shNGGJ87GmR9GdQX7UtFQ9AaxKi_NXuoTB4xJ6fkGw7Lo76en3n2Xql7XQbr35R9Jq8Acm5pEHVby_Vj1VgeULJNcEh4e44uGG1erPRNFmMPZUHmAp5tPIhLZOtHN7gGC6mNUv7TGXvaCae30.Y.SDSRiPfeiqjsDinHGFETugFtkoJUrKpOEgNob1HkbnAx96JpXBvB8zKpAM9Cvb_Ugo.nKI3zj Received: from [98.203.21.152] by web63906.mail.re1.yahoo.com via HTTP; Sun, 13 Sep 2009 07:19:24 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.347.2 Date: Sun, 13 Sep 2009 07:19:24 -0700 (PDT) From: Barney Cordoba To: rihad In-Reply-To: <4AACEF9E.90303@mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-net@freebsd.org Subject: Re: [POLLING] strange interrupt/system load X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2009 14:32:18 -0000 --- On Sun, 9/13/09, rihad wrote: > From: rihad > Subject: Re: [POLLING] strange interrupt/system load > To: "Barney Cordoba" > Cc: freebsd-net@freebsd.org > Date: Sunday, September 13, 2009, 9:11 AM > Barney Cordoba wrote: > > > 1) Why are you polling with a NIC that can be > precisely set to > > interrupt as often or as little as you like? > How? > > > 2) Why do so many people run systems with high network > load with > > AMD64 builds when its significantly slower to do so? > Do you have > > google sized databases so you need 64-bit pointers? > What's wrong with 64 bits? I haven't spent a large portion of my life trying to figure it out exactly, but I'd guess that the larger size of the structures and code results in fewer cache hits. It certainly makes sense to try both with your workload, as the notion that 64bits must be faster than 32bits is patently misguided. My rule of thumb is that if I don't need 64bits for something, I avoid it. Barney