From owner-freebsd-current@FreeBSD.ORG Tue Jan 16 23:34:35 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 9ED5116A407 for ; Tue, 16 Jan 2007 23:34:35 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 35D2F13C45E for ; Tue, 16 Jan 2007 23:34:34 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so1676854uge for ; Tue, 16 Jan 2007 15:34:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fjFFFicid4J/XuJ2aXt+yqFDvE31qfqqMiQjz3JEoKG2p7A3UvBVYmXfyGy2YTHefsrOb07BTEamNCZezDDEjZueHSgHk8dPr9rx8wtOywkDrOD/9VlLD0ce45FWSG9FQ+rsrN1eJ0yYfQd1n16NW3okE9XkdibYjJtR+RqMlzs= Received: by 10.82.138.6 with SMTP id l6mr1382937bud.1168990471744; Tue, 16 Jan 2007 15:34:31 -0800 (PST) Received: by 10.82.191.16 with HTTP; Tue, 16 Jan 2007 15:34:31 -0800 (PST) Message-ID: Date: Tue, 16 Jan 2007 15:34:31 -0800 From: "Kip Macy" To: "Ivan Voras" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3bbf2fe10607250813w8ff9e34pc505bf290e71758@mail.gmail.com> <3bbf2fe10607251004wf94e238xb5ea7a31c973817f@mail.gmail.com> <3bbf2fe10607261127p3f01a6c3w80027754f7d4e594@mail.gmail.com> <3bbf2fe10607281004o6727e976h19ee7e054876f914@mail.gmail.com> <3bbf2fe10701160851r79b04464m2cbdbb7f644b22b6@mail.gmail.com> <20070116154258.568e1aaf@pleiades.nextvenue.com> 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 23:34:35 -0000 > Maybe even someone finds a way to get optimized versions of memcpy in > the kernel :) > > I was thinking: AFAIK the only major stopper is context saving of the > various "auxiliary" registers - FPU, MMX, SSE, right? But is it an > all-or-nothing situation? I.e. does it make sense (can it be done?) to > just elect to save the MMX context? (AFAIK they are different registers > than SSE, but overlay FPU registers?) The idea is to save something > smaller than the full set. It makes a huge difference in a proprietary file serving appliance that I know of. However, past measurements on FreeBSD have supposedly indicated that it isn't that big win as a result of increased context switch time. -Kip