From owner-freebsd-hackers Thu Dec 13 15:35: 1 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (oe75.law11.hotmail.com [64.4.16.210]) by hub.freebsd.org (Postfix) with ESMTP id 49EC537B405 for ; Thu, 13 Dec 2001 15:34:58 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 13 Dec 2001 15:34:58 -0800 X-Originating-IP: [63.122.122.73] From: "Mark Brown" To: Subject: uiomove performance? Date: Thu, 13 Dec 2001 18:35:44 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 13 Dec 2001 23:34:58.0287 (UTC) FILETIME=[C6DDC7F0:01C1842E] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Does anyone know if there is a significant performance gain to maintaining scatter/gather lists with uio rather than writing the s/g routine yourself. To be more specific: I currently have a routine that takes a memory segments and places them in a contiguous memory buffer. We need to optimize the routine for better CPU utilization. We currently get the memory list and organize it using memcopy. I would like to use uiomove but it is hard to justify the time needed to convert the current routine to uiomove if there is only a insignificant performance gain. Keep in mind this routine is being called frequently. I would like to justify to my boss that using uiomove would have significant performance benefits over our current routine that uses memcopy. -- Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message