Announcement
Collapse
No announcement yet.
FreeBSD 8.0 vs. Ubuntu 9.10 Benchmarks
Collapse
X
-
Srry. I cant actually see my image as my eyes are dilated too much. Damn optometry....
-
Originally posted by risner View PostCurious, which options? Does it have "gcc -g" options?
The FreeBSD (all release and release candidate GENERIC kernels) have full debugging symbols (and code) "gcc -g" enabled.
From /boot/*config*:
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_SLUB_DEBUG=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_X86_CPU_DEBUG=m
CONFIG_PM_DEBUG=y
CONFIG_IRDA_DEBUG=y
CONFIG_CFG80211_REG_DEBUG=y
CONFIG_CFG80211_DEBUGFS=y
CONFIG_MAC80211_DEBUGFS=y
CONFIG_WIMAX_DEBUG_LEVEL=8
CONFIG_PNP_DEBUG_MESSAGES=y
CONFIG_CB710_DEBUG_ASSUMPTIONS=y
CONFIG_AIC7XXX_DEBUG_ENABLE=y
CONFIG_AIC7XXX_DEBUG_MASK=0
CONFIG_AIC79XX_DEBUG_ENABLE=y
CONFIG_AIC79XX_DEBUG_MASK=0
CONFIG_SCSI_MVSAS_DEBUG=y
CONFIG_SCSI_LPFC_DEBUG_FS=y
CONFIG_SCSI_DEBUG=m
CONFIG_FIREWIRE_OHCI_DEBUG=y
CONFIG_MLX4_DEBUG=y
CONFIG_ATH9K_DEBUG=y
CONFIG_LIBIPW_DEBUG=y
CONFIG_B43LEGACY_DEBUG=y
CONFIG_WIMAX_I2400M_DEBUG_LEVEL=8
CONFIG_ATM_FORE200E_DEBUG=0
CONFIG_USB_SERIAL_DEBUG=m
CONFIG_INFINIBAND_MTHCA_DEBUG=y
CONFIG_INFINIBAND_AMSO1100_DEBUG=y
CONFIG_INFINIBAND_IPOIB_DEBUG=y
CONFIG_THINKPAD_ACPI_DEBUGFACILITIES=y
CONFIG_OCFS2_DEBUG_MASKLOG=y
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_DEBUG_FS=y
CONFIG_DEBUG_KERNEL=y
CONFIG_SCHED_DEBUG=y
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_MEMORY_INIT=y
CONFIG_DEBUG_RODATA=y
config DEBUG_INFO
bool "Compile the kernel with debug info"
depends on DEBUG_KERNEL
help
If you say Y here the resulting kernel image will include
debugging info resulting in a larger kernel image.
This adds debug symbols to the kernel and modules (gcc -g), and
is needed if you intend to use kernel crashdump or binary object
tools like crash, kgdb, LKCD, gdb, etc on the kernel.
Say Y here only if you plan to debug the kernel.
This description is from Kconfig.debug (there's also Kconfig), but I assume if DEBUG_INFO is turned on in the config Kconfig.debug is used (or I'm just saying bull :P).
However, different GCC versions were used in the benchmark.
If unsure, say N.Last edited by kraftman; 29 September 2009, 04:30 PM.
Leave a comment:
-
Originally posted by kraftman View PostI just checked Ubuntu and there are some debugging option turned on, but probably very light
The FreeBSD (all release and release candidate GENERIC kernels) have full debugging symbols (and code) "gcc -g" enabled.
Leave a comment:
-
Originally posted by fackamato View PostCan't verify the debug options myself.
What I heard is that some debug things were turned on for the BSD kernel and not the Ubuntu kernel. If that's wrong, so BSD and Ubuntu had similar debug options turned on, then I suppose the benchmark is okay from that perspective.
To be honest, all these comments that look like they're coming from 2-year olds is that destroys this thread.
Anyway. Can't wait for the huge OS/distro comparison.
Leave a comment:
-
Originally posted by nanonyme View PostI dare you quote the part of the page that actually in your opinion says that.
Basically, you shot the messenger. I didn't make the decision, I just posted about it. This whole debacle isn't a FreeBSD specific problem. Every single BSD with the exception of DragonFlyBSD have opted to not upgrade past 4.2.1 GCC.
Leave a comment:
-
Originally posted by risner View PostDid a little googling, I think this is the problem:
Where they now (with GCC 4.2.2) consider OUTPUT of the GCC compiler GPLv3 licensed material. That would prevent someone from using GCC 4.2.2 and up to compile anything and release the compiled application without source code for the whole system (because Target Code is now forced to be GPLv3 code) being released.
Important parts of the page: "Our fundamental policy has not changed; the new license is meant to permit all the uses of GCC that were permitted before." They are merely afraid of loopholes in licenses that would allow someone to use "GCC's internal, low-level compilation data structures" and being allowed to integrate those components in some other compiler under a different (GPL-incompatible) license.Last edited by nanonyme; 29 September 2009, 03:11 PM.
Leave a comment:
-
Of course you are aware that 8.0 doesn't have the debugging symbols out of the kernel even, let alone libc, malloc, etc. yet. Why not set up a more real world benchmark like a MySQL or Postgres ACID test, or a tpc benchmark. Zipping files will generate a mostly sequential read and/or write, not really where filesystems tend to fall down. Did the compile tests use concurrency?
Nice graphs tho.
If you wanted to talk to some seasoned BSD admins about setting up benchmarks, try me in ##freebsd on freenode.
Leave a comment:
-
Originally posted by Zhick View PostI didn't do any research on this, so sorry if this question is stupid, but how is GPLv3 anymore incompatible with the BSD-license than GPLv2? The GPL has always been more restrictive and thus BSD-incompatible, but that didn't stop them from shipping GPLed software before now, has it?
What I do know is that the BSD license is significantly more permissive than the GPL license, particularly the GPLv3 license. There are a number of licenses incompatible with GPLv3 including Apache 1-2.0, Mozilla, Original BSD, XFree86 1.1 and GPLv3 (if not for the usual "code can be upgraded to future GPL licenses" line in most GPLv2 versions.)
Did a little googling, I think this is the problem:
Where they now (with GCC 4.2.2) consider OUTPUT of the GCC compiler GPLv3 licensed material. That would prevent someone from using GCC 4.2.2 and up to compile anything and release the compiled application without source code for the whole system (because Target Code is now forced to be GPLv3 code) being released.Last edited by risner; 29 September 2009, 02:41 PM.
Leave a comment:
-
Originally posted by risner View PostRebuild ports/world with GCC 4.3 or 4.4 to take advantage of SSE3/SSE4 CPU features prohibited due to restrictive licensing imposed by GCC. GCC starting with 4.2.2 is under GPL3, which is an incompatible license with BSD license. So they can not legally ship GCC 4.2.2 or up (which is why you see 7.2 and 8.0 using GCC 4.2.1 compiler.)
Leave a comment:
Leave a comment: