`
arust
  • 浏览: 95395 次
  • 性别: Icon_minigender_1
  • 来自: 海底
社区版块
存档分类
最新评论

FreeBSD 提供对 GCD 技术的支持

阅读更多
FreeBSD adds support for Snow Leopard's Grand Central Dispatch

By Prince McLean
Published: 05:00 PM EST
http://www.appleinsider.com/articles/09/10/16/freebsd_adds_support_for_snow_leopards_grand_central_dispatch.html

Apple's Grand Central Dispatch technology, which debuted in Snow Leopard as a mechanism for optimizing parallelism across multiple cores and processors, has now been ported to FreeBSD.

Apple publicly announced plans to release its GCD technology as open source last month; the FreeBSD team demonstrated its early port of the new feature at EuroBSDCon 2009 in Cambridge, UK just days after Apple's announcement. Out of the box support for GCD is scheduled to appear with the release of FreeBSD 8.1.

The work required to port Apple's GCD event and concurrency framework to other operating systems is more complex than many other higher-level open source packages because GCD requires integration into the kernel (the core component of the operating system which manages processes, memory, and other hardware).

Most Unix-based software is highly portable between Mac OS X, Linux, and BSD, but significant kernel differences between these systems makes porting low-level, kernel-integrated technologies like GCD more work. In particular, Mac OS X uses a unique kernel design based on a hybrid of Mach and BSD. Porting GCD to FreeBSD required adaptations to account for a more conventional kernel environment without a Mach layer, such as using POSIX semaphores instead of Mach semaphores.

FreeBSD's porting efforts should help to make GCD easier to port to other operating systems with conventional Unix or Unix-like kernels, including OpenBSD, NetBSD, Linux, and Solaris.

In addition to kernel support, GCD requires compiler adaptations (a compiler is used to transform human readable source code language into the binary object code of an application). Apple's work on the Clang compiler front end and LLVM (Low Level Virtual Machine, the back end), makes porting this portion of GCD to other operating systems easier. This is particularly the case for FreeBSD, which has been quick to embrace support for Apple's Clang/LLVM open source projects.

The porting of GCD to other operating systems will help broaden the new technology's appeal. MacResearch, a website covering the use of Apple technologies in the scientific research community, observed last month that "with the possibility that Grand Central will become available on other Unix systems, the likelihood that Grand Central will be incorporated into command line tools is greatly increased.”

Significant new outside interest in GCD will also likely result in a wider support base for building parallelism compatible with Apple’s other open technologies, such as OpenCL and the aforementioned Clang/LLVM compiler tools.

FreeBSD and Mac OS X

FreeBSD is a direct heir of UC Berkeley's "standard distribution" of Unix, which was created first to augment and then to replace AT&T's commercial Unix along with its expensive and closed licensing. NeXT incorporated BSD's operating system technology into its desktop workstations in the late 80s, back when using version 4.3 BSD meant licensing AT&T's Unix as well.

After BSD developers removed the vestiges of AT&T's commercial Unix code in 1991, BSD was released under a permissive license on its own; significant portions were incorporated into a wide variety of operating systems from SVR4 Unix to Windows and in many embedded applications such as network routers and firewalls. The widespread use of BSD Unix, and in particular its high quality networking code, helped to foster smooth interoperability among different vendors' products on the Internet.

In 1992, AT&T sued BSD over copyright and trademark infringement issues that were not resolved until 1994. The legal uncertainties raised by those challenges resulted a vacuum filled by Linux, which first appeared in 1991. That resulted in shifting most open source operating system development from BSD to Linux.

Apple's acquisition of NeXT at the end of 1996 resulted in Mac OS X inheriting a BSD foundation; the company had previously offered a Linux distribution (MkLinux) for its PowerPC Mac users who wanted to run an open, Unix-like environment. While open source development is still centered on Linux, Apple's move to adopt NeXT's operating system technology not only made it the world's largest Unix vendor but also shifted a significant amount of the *nix-world's attention back toward BSD.



Apple has since regularly synced its Mac OS X development roadmap to FreeBSD in its efforts to incorporate open source modernizations into what had been the aging codebase of NeXTSTEP, although the company has also borrowed technologies from other BSDs, Linux, and Sun's OpenSolaris.

The company has also contributed technology back or funded the development of projects that various open source operating systems have incorporated, including Bonjour, Clang/LLVM, CUPS (the Common Unix Printing System), and now of course GCD.
分享到:
评论

相关推荐

    freebsd集群技术探析

    针对这些挑战,基于FreeBSD的集群技术提供了一个兼具成本效益与高性能的解决方案。FreeBSD是一种开源的类Unix操作系统,以其稳定性和安全性著称。利用FreeBSD构建的集群不仅能解决系统稳定性的问题,还能实现负载...

    为FreeBSD 提供帮助

    为FreeBSD项目提供帮助不仅仅是一种技术上的贡献,更是一种文化和精神上的支持。无论是编写文档、提供技术支持还是进行代码开发,每一个小小的贡献都是推动项目向前发展的动力。无论你是技术高手还是新手,只要你...

    FreeBSD 中文使用手册

    FreeBSD文档项目是一个旨在为FreeBSD用户提供全面、准确的技术文档的组织。这些文档包括但不限于用户指南、系统管理员手册、开发人员指南等。文档项目的目标是帮助用户更好地理解和使用FreeBSD操作系统。该文档项目...

    Freebsd 7.0 使用手册(中文)

    - **邮件列表**:通过加入官方邮件列表,用户可以与其他FreeBSD使用者进行交流,获得技术支持和解决方案。 - **论坛与社区**:FreeBSD拥有活跃的技术社区,在线论坛为用户提供了一个提问和分享经验的平台。 - **官方...

    The.Complete.FreeBSD

    - **硬件支持**:讨论了FreeBSD对旧硬件的支持情况,以及设备驱动程序的相关信息。 - **PC硬件**:特别提到了FreeBSD在个人电脑上的表现,包括BIOS、磁盘分区等内容。 - **显示硬件**:包括键盘、鼠标、显示器等的...

    FreeBSD中文手册.pdf

    10. **硬件支持**:列出了FreeBSD支持的硬件设备,并提供了关于驱动程序和硬件兼容性的信息。 11. **开发环境**:针对开发者,讲述了如何在FreeBSD上搭建开发环境,包括编译器、调试器和其他开发工具的使用。 手册...

    FreeBSD 13.2.zip

    4. **Docker支持**:FreeBSD 13.2可能对容器技术,尤其是Docker的支持进行了增强,便于开发者和管理员部署轻量级应用。 5. **网络性能**:网络堆栈的改进,可能会提供更高的带宽和更低的延迟。 6. **硬件兼容性**:...

    FreeBSD使用手册

    6. 社区支持:有着庞大而活跃的开发者和用户社区,为FreeBSD提供持续的技术支持。 手册信息部分,提到的版本为FreeBSD 9.3-RELEASE和FreeBSD 10.0-RELEASE。这些版本号表明了FreeBSD发布的具体版本和版本系列,这些...

    freebsd10.1最新中文手册

    例如,它引入了新的内核设计,新的网络协议栈,以及对虚拟化技术的支持。在硬件方面,FreeBSD10.1支持更多种类的CPU和硬件设备。另外,FreeBSD10.1更新了默认的包管理系统,使其更易于安装、更新和管理软件包。 ...

    freeBSD架构中文手册

    FreeBSD是一种开源、类UNIX的操作系统,以其稳定性和性能而闻名。这份“freeBSD架构中文手册”是针对FreeBSD系统架构的...阅读过程中,结合实际操作,将有助于理论知识与实践经验的结合,提升对FreeBSD操作系统的理解。

    FreeBSD技术内幕

    关于FreeBSD的基础的使用技术,如安装,配置,操作等

    FreeBSD 8.4安装指南

    总结,FreeBSD 8.4的安装需要对操作系统有一定的了解,尤其是磁盘分区和软件选择。而Panabit的部署则涉及到网络管理和策略配置,需要根据实际需求进行定制。在整个过程中,理解FreeBSD的包管理机制和网络配置是关键...

    freebsd.tar.gz_BSD_FreeBSD内核源码_freebsd source_freebsd.tar_linux

    在给定的`freebsd.tar.gz`压缩包中,包含的是FreeBSD v4.4版本的内核源码,这对于那些对操作系统底层原理、内核编程或者想要深入理解FreeBSD操作系统的开发者和爱好者来说,是一份宝贵的资源。 **1. BSD内核架构** ...

    FreeBSD服务器安装步骤

    * SMP 提供对多处理器的支持 * 内建了完整的 C、 C++、 Fortran 开发工具 * 完整的系统源代码 * 丰富的在线文档 * 主要应用 Internet 服务 结语 通过本文,您可以了解 FreeBSD 的基本概念、安装步骤和特性。...

    freebsd手册

    此外,还有多个官方渠道可以提供文档和技术支持,例如: - **官方网站**:http://www.FreeBSD.org/ - **中国镜像网站**:http://www.FreeBSD.org.cn/ - **文档下载地址**:http://docs.FreeBSD.org/doc/ - **...

    freeBSD系统结构手册

    - **项目背景**:FreeBSD由The FreeBSD Documentation Project发起和支持,该项目旨在通过持续的开发和文档编写工作,不断完善FreeBSD系统,使其成为一款广泛使用的开源操作系统。 #### 二、文档项目介绍 - **文档...

    FreeBSD完全学习

    FreeBSD拥有丰富的系统文档,包括在线手册、GNU info以及来自社区的其他文档,为用户提供详尽的技术支持。此外,FreeBSD社区活跃,通过邮件列表、用户组等形式,用户可以获取技术支持,参与讨论,甚至报告系统中的...

Global site tag (gtag.js) - Google Analytics