Skip site navigation (1)Skip section navigation (2)
Date:      04 Apr 98 11:31:29 +0330
From:      "Muthu" <MOLAGAPP.IN.oracle.com.ofcmail@in.oracle.com>
To:        hackers@FreeBSD.ORG
Subject:   Fwd: bcopy implementation
Message-ID:  <199804040743.CAA11904@dwarpal.in.oracle.com>

next in thread | raw e-mail | index | archive | help

--=_ORCL_2860848_0_11919804041214320
Content-Transfer-Encoding:7bit
Content-Type:text/plain; charset="us-ascii"

 
 

--=_ORCL_2860848_0_11919804041214320
Content-Type:message/rfc822

Date: 03 Apr 98 18:28:31
From:"Muthu" <MOLAGAPP.IN.ORACLE.COM>
To:owner-freebsd-hackers@freebsd.org
Subject:Re: bcopy implementation
X-Orcl-Application:In-Reply-To: INUNIX2.IN.ORACLE.COM:owner-freebsd-hackers@freebsd.org's message of 02-Apr-98 21:16
MIME-Version: 1.0
Content-Type:multipart/mixed; boundary="=_ORCL_2860848_0_11919804041214321"


--=_ORCL_2860848_0_11919804041214321
Content-Transfer-Encoding:7bit
Content-Type:text/plain; charset="us-ascii"

Hi, 
 
   I am attempting to optimize the libc for pentium processor. Is anybody 
attempting this work? 
    
   The bcopy implementation in libc gives 100% performance improvement on Dell 
machines. But as Compaq Deskpro machine is concerned, this implementation 
degrades the performance. Do any one have idea why such a difference in the 
two machines? Both Dell and Compaq deskpro has pentium processor. 
 
 
 
Regards, 
 
Muthu. O.L. 


--=_ORCL_2860848_0_11919804041214321
Content-Type:message/rfc822

Date: 03 Apr 98 17:50:08
From:"Mikael Karpberg <karpen@ocean.campus.luth.se>" <owner-freebsd-hackers@freebsd.org>
To:marquard@zilker.net,(Dave,Marquardt)
Subject:Re: bcopy implementation
Cc:freebsd-hackers@freebsd.org
Received:from inet-user-gw-1.us.oracle.com by insun023 with ESMTP (SMI-8.6/37.8) id JAA10343; Fri, 3 Apr 1998 09:18:28 -0500
Received:from ns3.harborcom.net (ns3.harborcom.net [206.158.4.14]) by inet-user-gw-1.us.oracle.com (8.8.5/8.8.5) with SMTP id GAA13780 for <MOLAGAPP.IN.oracle.com.ofcmail@in.oracle.com>; Fri, 3 Apr 1998 06:23:14 -0800 (PST)
Received:from hub.freebsd.org [204.216.27.18]  by ns3.harborcom.net with esmtp (Exim 1.82 #1) id 0yL7OO-0007iI-00; Fri, 3 Apr 1998 09:24:28 -0500
Received:from localhost (daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA10440; Fri, 3 Apr 1998 06:24:17 -0800 (PST) (envelope-from owner-freebsd-hackers)
Received:by hub.freebsd.org (bulk_mailer v1.6); Fri, 3 Apr 1998 06:23:59 -0800
Received:(from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA10294 for freebsd-hackers-outgoing; Fri, 3 Apr 1998 06:23:58 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG)
Received:from ocean.campus.luth.se (ocean.campus.luth.se [130.240.194.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA10285 for <freebsd-hackers@FreeBSD.ORG>; Fri, 3 Apr 1998 06:23:51 -0800 (PST) (envelope-from karpen@ocean.campus.luth.se)
Received:(from karpen@localhost) by ocean.campus.luth.se (8.8.8/8.8.8) id QAA05837; Fri, 3 Apr 1998 16:20:08 +0200 (CEST) (envelope-from karpen)
Message-Id:<199804031420.QAA05837@ocean.campus.luth.se>
In-Reply-To:<857m57c8tr.fsf@localhost.zilker.net> from Dave Marquardt at "Apr 3, 98 07:51:12 am"
X-Mailer:ELM [version 2.4ME+ PL32 (25)]
Sender:owner-freebsd-hackers@freebsd.org
X-Loop:FreeBSD.ORG
MIME-Version: 1.0
Content-Transfer-Encoding:7bit
Content-Type:text/plain; charset="us-ascii"

According to Dave Marquardt:
> > of not implementing this method in libc? 
> 
> Well, you said it yourself.  "On the assumption, that the system has
> pentium processor...."  Well, we can't assume that, since FreeBSD runs
> on 386s and up.

Well, if you want everything to go faster, you optimize for the hardware
you're actually gonna run on. Now, it would be quite possible too add
ifdefs so that you would add -DOPTIMIZE_FOR_PENTIUM to CFLAGS in make.conf
and then make world. And libc would be compiled with that optimization, etc.

  /Mikael


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message

--=_ORCL_2860848_0_11919804041214321--


--=_ORCL_2860848_0_11919804041214320--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804040743.CAA11904>