![]() |
|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
In a discussion about OpenBSD network performance on an Atom motherboard http://www.daemonforums.org/showthread.php?t=4090
a question arose wich of the OpenBSD architectures, amd64 or i386, would be best for a firewall or router. I finally managed to find the posts in my gmail account archive. And being in a lazy mood today I only give you the start of this long discussion on the misc mailing list. Quote:
Quote:
Quote:
![]()
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
![]()
I respect Henning's work on PF, and without having a greater understanding of the differences between 64-bit and 32-bit platforms.. I will not contest this.
Sorry J65nko, I wasn't intending to second guess anything.. it just seemed unbelievable to me. I never considered AMD64 a "20 ton truck", I thought the added benefits of being able to do 64-bit arithmetic easily would be like a 10 truck with hover conversion.. processing double the load in the same amount of time. |
|
|||
![]()
You are not the only one, I was rather surprised too.
I was running OBSD amd64 on a board that I got as a present for my birthday in July of that year. Quite a leap from the 800MHz PIII I used before. Three months later Henning tells me amd64 possibly could be not the ultimate version. But if you just imagine linked lists with 64 bit pointers in an amd64 version, you can imagine that traversing such a list takes more time then the same machine using 32 bit pointers for a similar linked list structure in i386 mode. Henning mentioned something like this in another thread, but I haven't found it yet. BTW In the same thread somebody points out the role of the gcc compiler. IIRC the quality of the 64 bits generated code hasn't caught up with the i386 in all cases. Well at least we know for a database server, amd64 and a lots of RAM is the recommended platform.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
![]()
For the compiler issue see http://www.mail-archive.com/misc@ope.../msg49069.html
Also see http://en.wikipedia.org/wiki/GNU_Com...e_alternatives OpenBSD doesn't use the latest and greatest gcc, because gcc developers, mainly from a couple of Linux companies like RedHat, have dropped support for some hardware platforms. Why should a company like Redhat sponsor gcc development for hardware which are for no commercial value for Redhat? If OpenBSD still wants to support these for gcc obselete architectures, it has no other choice then using an older gcc version. IIRC NetBSD is dealing with this unfavourable condition by using several gcc versions.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
![]() Quote:
Both amd64 and i386 use a modified (..gcc-local(1)) version of gcc-3.3.5, a few older architectures use gcc-2.95.3. In the future, some architectures will be switched over to gcc-4.2.1.. and then hopefully pcc. GCC 4.2.1 was the last version released under the GPLv2, newer versions are GPLv3. Here is the commit log for it: http://marc.info/?l=openbsd-cvs&m=125562729215306&w=2 |
|
|||
![]()
No not yet, is a unsupported toggle in the code for it.. but multiple developers have stated it's broken for now.
People using amd64 still have the access to a larger virtual address space, although I think it's set to around 8GB or so per process.. for now anyway. As for the NX bit, OpenBSD has always simulated that on most architectures via W^X.. the introduction of the NX bit on AMD64 just made it simpler. AFAIK, newer CPU's supporting the NX bit can also make use of it on the i386 platform, I could be wrong though.. they use a different (..slightly more costly) alternative on processors that do not, using a segmentation trick. A paper by Theo: http://www.openbsd.org/papers/ven05-deraadt/index.html Last edited by BSDfan666; 24th December 2009 at 09:12 PM. |
![]() |
Tags |
openbsd amd64 or i386 |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
i386 to amd64 | gkontos | FreeBSD Installation and Upgrading | 3 | 10th November 2009 02:49 PM |
Anyone with AMD64 random panics on i386? | indiocolifa | FreeBSD General | 13 | 24th March 2009 02:53 AM |
i386 drivers on amd64 | kienjakenobi | FreeBSD Ports and Packages | 5 | 25th June 2008 05:37 PM |
i386 6.x binaries not working on AMD64 7.x (with compat) | lesmando24 | FreeBSD General | 5 | 29th May 2008 05:39 AM |
Revert from AMD64 to i386 | chavez243 | FreeBSD General | 6 | 6th May 2008 12:24 PM |