From owner-freebsd-current@FreeBSD.ORG Sun Feb 26 17:34:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD1F016A423 for ; Sun, 26 Feb 2006 17:34:51 +0000 (GMT) (envelope-from asmrookie@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B19643D4C for ; Sun, 26 Feb 2006 17:34:51 +0000 (GMT) (envelope-from asmrookie@gmail.com) Received: by zproxy.gmail.com with SMTP id k1so785546nzf for ; Sun, 26 Feb 2006 09:34:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:mime-version:content-type; b=X9RAS3DjRL7H4Dzhd6Pm7aN3sb7qV3s4aLRugzXiWs1Ut1nTLX9Ulk2Pfv5sgTDqGAoTRtsXKCkm96mPiPNuUvkGIZetxzprxWtEJwRv4NlVwdDNQYT8L1yKRBEHfVud+cPETghO0awqeb1uEaC3QTlGltoCHZOStxJQAEk/eS0= Received: by 10.36.247.77 with SMTP id u77mr4564541nzh; Sun, 26 Feb 2006 09:34:50 -0800 (PST) Received: by 10.36.41.11 with HTTP; Sun, 26 Feb 2006 09:34:50 -0800 (PST) Message-ID: <3bbf2fe10602260934g3a67b73by@mail.gmail.com> Date: Sun, 26 Feb 2006 18:34:50 +0100 From: "Attilio Rao" To: freebsd-arch@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 26 Feb 2006 18:39:49 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Optimized kernel copying functions X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rookie@gufi.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2006 17:34:52 -0000 Hi, As suggested by Xin LI, I request here. Please refer to: http://lists.freebsd.org/pipermail/freebsd-hackers/2006-February/015560.htm= l About further developments: - I'm working on dropping/undropping FPU and using mmx/xmm simd instructions. The code works fine (no PREEMPTION kernel), but mmx doesn't seem enough efficient so I think I need more work about them (I didn't try xmm simd instructions yet). - I planned to add some sysctl in order to enable/disable optimized copying functions You can get patch for FreeBSD-6.0 here: http://users.gufi.org/~rookie/fpu_overhaul.tar.gz and a patch for -current will be available ASAP (however they might be very poor changes since a lot of stable parts are modified). Thanks a lot, Attilio -- Peace can only be achieved by understanding - A. Einstein