From owner-freebsd-current@FreeBSD.ORG Tue Jan 16 22:54:05 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B66BB16A415 for ; Tue, 16 Jan 2007 22:54:05 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 4BF0813C442 for ; Tue, 16 Jan 2007 22:54:05 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so19645nfc for ; Tue, 16 Jan 2007 14:54:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=FQXxjNI+hmujRtHN43EE6O3G07cq3vnDWSzdVlOwM/oqSL488XRwzoR9Fgf+P9kBLDsrjjFv0/CCBAR8yWM6thRDvc2zFFHzWSNX7krMvsKyM3VDNIeFXJAiHiWbHnQcNweGCopyEOvSMM5ET1NLP8VBmvjaVjvtlhPgN8mkeUs= Received: by 10.49.12.4 with SMTP id p4mr33046nfi.1168988043791; Tue, 16 Jan 2007 14:54:03 -0800 (PST) Received: by 10.48.238.9 with HTTP; Tue, 16 Jan 2007 14:54:03 -0800 (PST) Message-ID: <3bbf2fe10701161454m74bd9356i3999187515c60596@mail.gmail.com> Date: Tue, 16 Jan 2007 23:54:03 +0100 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Ivan Voras" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3bbf2fe10607250813w8ff9e34pc505bf290e71758@mail.gmail.com> <3bbf2fe10607250814m1a476f09p2d962dedc0c99be1@mail.gmail.com> <200607251232.51230.jhb@freebsd.org> <3bbf2fe10607251004wf94e238xb5ea7a31c973817f@mail.gmail.com> <3bbf2fe10607261127p3f01a6c3w80027754f7d4e594@mail.gmail.com> <3bbf2fe10607281004o6727e976h19ee7e054876f914@mail.gmail.com> <3bbf2fe10701160851r79b04464m2cbdbb7f644b22b6@mail.gmail.com> <20070116154258.568e1aaf@pleiades.nextvenue.com> X-Google-Sender-Auth: c9bda9979a1f9f15 Cc: freebsd-current@freebsd.org, freebsd-arch@freebsd.org Subject: Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2007 22:54:05 -0000 2007/1/16, Ivan Voras : > Kip Macy wrote: > > x86 pre-P4 had 32-byte cache lines. Thus older processors will not benefit. > > But it does seem to hurt the performance a bit - maybe it's time to add > another CPU option like I586_CPU and I686_CPU? Well, it is my feeling that probabilly the align_cache parameter should be a run-time settled parameter (in particular for ia32 CPUs which changed a lot along the years). Attilio -- Peace can only be achieved by understanding - A. Einstein