From owner-freebsd-performance@FreeBSD.ORG Fri Dec 14 03:22:58 2007 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 768CC16A586 for ; Fri, 14 Dec 2007 03:22:58 +0000 (UTC) (envelope-from shantanu_ghosh@yahoo.com) Received: from web54501.mail.re2.yahoo.com (web54501.mail.re2.yahoo.com [206.190.49.151]) by mx1.freebsd.org (Postfix) with SMTP id 38DA313C46E for ; Fri, 14 Dec 2007 03:22:58 +0000 (UTC) (envelope-from shantanu_ghosh@yahoo.com) Received: (qmail 73111 invoked by uid 60001); 14 Dec 2007 03:22:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Ta+rI0LQ70EWtuq1e3WywxvyrKju/ofRkf+cbPm4k56SY2L9Y9jXv6jzk+iloOjf/Y1tXPYdXEuJVxBBGrrW3w75BKNm3JjzOTZEx8Qcj9CAiy/zvAcwuSi85E3TmSxQ8/bLglVIxY+mUkwqTh4tyKCHjVbuTPaNzUii7Zmh6xo=; X-YMail-OSG: 71pe6XIVM1nC5ZZwcUGvk5fXU3iHUX5zMlqDBj2bv05uxkkidhynraP5kcyPrve91E0kwnfIrjcS2TZum2G32JaPSu9Cq8yTLCMTPztmgn4HDUE02n_HOR26g53GvpyKoLf.SkjJIWbVgsg- Received: from [203.145.181.122] by web54501.mail.re2.yahoo.com via HTTP; Thu, 13 Dec 2007 19:22:56 PST Date: Thu, 13 Dec 2007 19:22:56 -0800 (PST) From: Shantanu Ghosh To: Erich Dollansky , Nash Nipples In-Reply-To: <4761E76D.6090202@pacific.net.sg> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <150023.72900.qm@web54501.mail.re2.yahoo.com> Cc: freebsd-performance@freebsd.org Subject: Re: freebsd vs linux: performance problem X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2007 03:22:58 -0000 --- Erich Dollansky wrote: > Hi, > > Nash Nipples wrote: > > sounds like a power unit problem. try to switch them and repeat. > > hey, in the next step you tell him that the MTU is set wrongly. > > > > > > Now, in simple memory access operations, I see the freebsd system > being > > noticably slower than the linux system. A simple C program that > copies > > As already mentioned, are both systems working as 32 or 64 bit > systems? Both are working as 64 bit systems. > > > from one memory buffer to another, when executed in a loop executes > > between 10-30% slower on freebsd, as compared to linux. The > assembly > > code of the program used for testing is identical in both the > cases. > > Don't you call memcpy? Well, I first did - then I wrote a function to do the same, just to make sure that the code executed is exactly the same in both the cases. The difference was there both when using memcpy, and when using the replacement function. > > Erich > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to > "freebsd-performance-unsubscribe@freebsd.org" > ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs