From owner-freebsd-net@FreeBSD.ORG Mon Sep 14 09:21:00 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 18AD11065670 for ; Mon, 14 Sep 2009 09:21:00 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: from n79.bullet.mail.sp1.yahoo.com (n79.bullet.mail.sp1.yahoo.com [98.136.44.39]) by mx1.freebsd.org (Postfix) with SMTP id D0FB98FC08 for ; Mon, 14 Sep 2009 09:20:59 +0000 (UTC) Received: from [216.252.122.218] by n79.bullet.mail.sp1.yahoo.com with NNFMP; 14 Sep 2009 09:20:59 -0000 Received: from [68.142.200.227] by t3.bullet.sp1.yahoo.com with NNFMP; 14 Sep 2009 09:20:59 -0000 Received: from [76.13.13.26] by t8.bullet.mud.yahoo.com with NNFMP; 14 Sep 2009 09:20:59 -0000 Received: from [76.13.10.178] by t3.bullet.mail.ac4.yahoo.com with NNFMP; 14 Sep 2009 09:20:59 -0000 Received: from [127.0.0.1] by omp119.mail.ac4.yahoo.com with NNFMP; 14 Sep 2009 09:20:59 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 547422.30220.bm@omp119.mail.ac4.yahoo.com Received: (qmail 48427 invoked by uid 60001); 14 Sep 2009 09:20:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1252920059; bh=LaTd4bkGAHrXqT/0AuoqLzw2utZuAE88SV4aN/bPGlc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=OhoJQuK8gkpy+WQ9Si11y4DNLyWbQ8nQCJqz+4mxsRkzsX6vkD07YQIoXFKC4r9u4ErAxuUrPvsC2PQuZ0oxmJT3oQ9TleQUtnAv5KCtg5+/E+Lz2qTvU573sOXwEyccOeB3QYenzLNJOSKqjhlcqLPyO8esI7W9EXnfE2V+b8o= 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=CxdefVdt9u6Ic+WiHQD+MXiBzKLI1kVflt8wHDqyq9Hvkqb2dnJOzhLI4Fbm6EgyhkhgBZaHItY0liVQNpQ4YGDTt9KsF9AIgKsp5W9uNNB8CrIoaH92dso4lvGYOT3qkSZhBwHeGukzxm6YB4NVbgemNH2Wqw0EVw4+0dPvNMg=; Message-ID: <401488.48353.qm@web63902.mail.re1.yahoo.com> X-YMail-OSG: fJJ4TDUVM1nB7v8vU2jteB52VmTgbT0F.4Kovpzfk7fdg0Ne1laTKLiIDYQQ2RddKMoXteQwH3QGE0CMnpBPFLs2RDV1Sl1Bf56LsTEz_2GpWNeNdNrn8SMOaEuRgLmkrmpcdktK7Uk_cQ4IKHg92dDkZdTgSlrmj5oWBTyLV_ocnMy7MAkuKpudGrbqyVI2qbyzYG.XSK91UUPFd_wal9IMCU2WoOkaLQOlNb3PDK9F.HgKXZA6iaqyN.0GrSgyuIUuEt5r_HpWxGI54bOSnwD4hVm3ev7Q4rC1dSD3tg-- Received: from [98.203.21.152] by web63902.mail.re1.yahoo.com via HTTP; Mon, 14 Sep 2009 02:20:59 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.347.2 Date: Mon, 14 Sep 2009 02:20:59 -0700 (PDT) From: Barney Cordoba To: rihad In-Reply-To: <4AAD02A2.5060207@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: Mon, 14 Sep 2009 09:21:00 -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, 10:33 AM > Barney Cordoba wrote: > > > > --- On Sun, 9/13/09, rihad > wrote: > >> 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. > > Then what's wrong with also doubling cache sizes? Your logic is faulty here. Doubling the cache size also would increase the performance of the 32 bit version. In fact you'd probably increase the advantage of running in 32 bit mode. > Besides, apart from other benefits, 64-bit makes every-day > big number arithmetic a single CPU instruction as opposed to > several instructions required on 32-bit CPUs through bignum > emulation. You move a lot more memory than you do math in an OS. Perhaps a benchmark to calculate the US national debt would benefit, but its not going to do much for the FreeBSD network stack. Barney