AMD64位系统如何优化编译glibc?
时间:2009-05-15
来源:互联网
我想让我的glibc速度更快一些,更精简一些。我需要使用哪些参数?
作者: echo 发布时间: 2009-05-15
Don't do that!
作者: d00m3d 发布时间: 2009-05-16
刚把glibc升级成2.10.1,参考了Fedora的spec
glibc2.10的一些更新:
* New interfaces: preadv, preadv64, pwritev, pwritev64, malloc_info
Implemented by Ulrich Drepper.
* New Linux interfaces: accept4, fallocate, fallocate64.
Implemented by Ulrich Drepper.
* Correct declarations of string function when used in C++ code. This
could lead to compile errors for invalid C++ code.
* XPG7/POSIX 2008 compilation environment. Many GNU-specific functions
are now in POSIX.
* New POSIX 2008 interface: psiginfo
Implemented by Ulrich Drepper.
* New ISO C++1x interfaces: quick_exit, at_quick_exit
Implemented by Ulrich Drepper.
* Support for selecting between multiple function definitions at runtime
using STT_GNU_IFUNC symbols. Implemented by Ulrich Drepper.
* The libcrypt library can now use the hash function implementations in
NSS. Implemented by Ulrich Drepper.
* The malloc implementation can be compiled to be less memory efficient
but higher performing in multi-threaded programs.
Implemented by Ulrich Drepper.
* New locales: nan_TW@latin, ks_IN
* Faster strlen, strchr, strchrnul, strrchr, memchr, and rawmemchr for
x86-64. Implemented by Ulrich Drepper.
* Extended printf hook support. It is possible to use user-defined
types and extend existing format specifiers.
Implemented by Ulrich Drepper.
* Handling for group shadow files has been added.
Implemented by Ulrich Drepper.
glibc2.10的一些更新:
* New interfaces: preadv, preadv64, pwritev, pwritev64, malloc_info
Implemented by Ulrich Drepper.
* New Linux interfaces: accept4, fallocate, fallocate64.
Implemented by Ulrich Drepper.
* Correct declarations of string function when used in C++ code. This
could lead to compile errors for invalid C++ code.
* XPG7/POSIX 2008 compilation environment. Many GNU-specific functions
are now in POSIX.
* New POSIX 2008 interface: psiginfo
Implemented by Ulrich Drepper.
* New ISO C++1x interfaces: quick_exit, at_quick_exit
Implemented by Ulrich Drepper.
* Support for selecting between multiple function definitions at runtime
using STT_GNU_IFUNC symbols. Implemented by Ulrich Drepper.
* The libcrypt library can now use the hash function implementations in
NSS. Implemented by Ulrich Drepper.
* The malloc implementation can be compiled to be less memory efficient
but higher performing in multi-threaded programs.
Implemented by Ulrich Drepper.
* New locales: nan_TW@latin, ks_IN
* Faster strlen, strchr, strchrnul, strrchr, memchr, and rawmemchr for
x86-64. Implemented by Ulrich Drepper.
* Extended printf hook support. It is possible to use user-defined
types and extend existing format specifiers.
Implemented by Ulrich Drepper.
* Handling for group shadow files has been added.
Implemented by Ulrich Drepper.
作者: newper 发布时间: 2009-05-16
楼上,cvs 发布的 glibc 那来的 2.10.1,稍稍让人满意些的是准备切换到 git 发布。
另,eglibc 已进入 debian sid,您不妨直接上 eglibc-2.10 替换 glibc-2.10,看看效果如何。
http://www.eglibc.org/
http://www.eglibc.org/repository
http://www.eglibc.org/faq
另,eglibc 已进入 debian sid,您不妨直接上 eglibc-2.10 替换 glibc-2.10,看看效果如何。
http://www.eglibc.org/
http://www.eglibc.org/repository
http://www.eglibc.org/faq
作者: 聚焦深空 发布时间: 2009-05-16
cvs上的确有2.10.1,不过我是从git下的
作者: newper 发布时间: 2009-05-16
引用:
作者: echo
我想让我的glibc速度更快一些,更精简一些。我需要使用哪些参数?
|
详见:
http://www.linuxfromscratch.org/lfs/...changelog.html
http://wiki.linuxfromscratch.org/lfs/ticket/2299
引用:
Description Looking at both Fedora's RPM spec file and DIY-Linux, they both seem to optimize Glibc. Mabe we could do that for 7.0, and that warning about optmization is obslete. |
作者: d00m3d 发布时间: 2009-05-19
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28