Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2000 22:17:31 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Yifeng Xu <websoft@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FreeBSD v Linux
Message-ID:  <20001022221731.N28123@fw.wintelcom.net>
In-Reply-To: <20001023050501.12035.qmail@web1704.mail.yahoo.com>; from websoft@yahoo.com on Sun, Oct 22, 2000 at 10:05:01PM -0700
References:  <20001023050501.12035.qmail@web1704.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Yifeng Xu <websoft@yahoo.com> [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




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