From owner-freebsd-questions Sun Oct 22 22:18:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id D6E7937B4C5 for ; Sun, 22 Oct 2000 22:18:46 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e9N5HVF09860; Sun, 22 Oct 2000 22:17:31 -0700 (PDT) Date: Sun, 22 Oct 2000 22:17:31 -0700 From: Alfred Perlstein To: Yifeng Xu Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD v Linux Message-ID: <20001022221731.N28123@fw.wintelcom.net> References: <20001023050501.12035.qmail@web1704.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20001023050501.12035.qmail@web1704.mail.yahoo.com>; from websoft@yahoo.com on Sun, Oct 22, 2000 at 10:05:01PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Yifeng Xu [001022 22:05] wrote: > I don't think an emulator can run faster and more > smoothly than a native system, If I tell you emulator > is better, it's joke. Guy, go to use Linux if you want > Oracle. Actually the FreeBSD "linux emulator" is just a small wrapper over the linux syscall switch which maps a number from linux to a FreeBSD one. Perhaps mmap on FreeBSD is syscall 71 where on Linux it's 72, and perhaps Linux allows for an invalid combination of mmap flags that several Linux applications depend on but FreeBSD doesn't allow. FreeBSD's 'emulator' will just map 71 to 72 and fixup the flags before calling the FreeBSD native mmap. Some people have reported that applications have performed better on FreeBSD under emulation than under Linux natively. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message