- 博客(18)
- 资源 (16)
- 收藏
- 关注
原创 RFC1035域名随机生成测试代码
#include #include #include #include #include #include char *char_map[] = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x",
2012-04-27 10:01:30 1889
转载 Intel 386 and AMD x86-64 Options for GCC
原文: http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html3.17.15 Intel 386 and AMD x86-64 OptionsThese `-m' options are defined for the i386 and x86-64 family of computers:-march=
2012-04-25 10:27:52 3434
原创 gcc 4.7.0 x86_64 specs
Using built-in specs.COLLECT_GCC=gccCOLLECT_LTO_WRAPPER=/opt/gcc-4.7.0/libexec/gcc/x86_64-redhat-linux/4.7.0/lto-wrapperTarget: x86_64-redhat-linuxConfigured with: ../gcc-4.7.0/configure -enable-s
2012-04-24 16:03:20 2405
原创 GCC vector 叠加示例
一个简单的vector叠加示例GCC version 4.7.0 #include #include #include #include typedef union i4factor{ __v4si v; int u4[4];}__attribute__((aligned(16)))i4factor_t;//typedef int v4sf __att
2012-04-24 16:01:06 2869
转载 Memory ordering in some architectures
原文地址: http://en.wikipedia.org/wiki/Memory_ordering
2012-04-23 22:15:59 1507
转载 Intel Sandy Bridge
Intel Sandy BridgeConfigurationIntel i5-2400 (Sandy Bridge), 3.1 GHz, 32 nm.L1 Data cache = 32 KB. 64 B/line, 8-WAY. (Write-Allocate?), 2 * 16 Bytes read ports + 16 Bytes store port.L1 Instruc
2012-04-23 11:28:58 1709
转载 GCC编译优化指南
GCC编译优化指南作者:金步国版权声明本文作者是一位自由软件爱好者,所以本文虽然不是软件,但是本着 GPL 的精神发布。任何人都可以自由使用、转载、复制和再分发,但必须保留作者署名,亦不得对声明中的任何条款作任何形式的修改,也不得附加任何其它条件。您可以自由链接、下载、传播此文档,但前提是必须保证全文完整转载,包括完整的版权信息和作译者声明。其他作品本文作者十分愿意与他
2012-04-23 01:36:40 1829
转载 Installing GCC: Configuration
Installing GCC: ConfigurationLike most GNU software, GCC must be configured before it can be built. This document describes the recommended configuration procedure for both native and cross target
2012-04-22 10:16:58 11505 1
转载 SSE2 memcpy
SSE2 memcpyBy Kaetemi on Sunday 25 October 2009, 17:56 - Articles - Permalinkasm code memcpy nel programming sse2SSE2 provides functionality for performing faster on aligned memory. By cop
2012-04-17 18:11:41 4400
原创 使用SSE指令集优化memcpy
GCC 4.4.6 编译测试通过# gcc fast_memcpy.c -o fast_memcpy#include #include /** * Copy 16 bytes from one location to another using optimised SSE * instructions. The locations should not overlap. * *
2012-04-17 18:04:59 6549 4
转载 Cache lines & Cache coherence & False sharing
Cache linesThe data in a cache is grouped into blocks called cache-lines, which are typically 64 or 128 bytes wide. These are the smallest units of memory that can be read from, or written to, m
2012-04-12 15:51:36 2053
转载 多处理器系统下的伪共享(false sharing)问题
作者: sy8111 (1 篇文章) 日期: 二月 26, 2010 在 11:39 下午1. 背景介绍首先简单说一下计算机中处理器-内存体系结构。由于CPU速度远大于内存访问速度,现代CPU设计中都引入了缓存(cache)作为CPU和内存两者之间交流的缓冲中介。缓存的速度也介于两者之间。缓存中存放了最经常被访问的内存数据,CPU在很大程度上只需要访问高速缓存,大大提高了系统性
2012-04-12 15:49:12 1357
原创 添加本地cdrom到RHEL yum 源
添加本地cdrom到RHEL yum源1.mount /dev/sr0 /mnt/cdrom/2. 确认是否安装以下软件包rpm -qa |grep yum rpm -qa |grep createrepo如未安装则手动从cdrom installrpm -ivh yum-x.x.x.rpm rpm -ivh yum-metadata-parser-x
2012-04-05 11:57:32 4784
原创 测试PF_RING DNA驱动
测试PF_RING DNA驱动1. 编译pf_ring.kocd PF_RING/kernelmake BUILD_KERNEL=2.6.35.13cp pf_ring.ko $(DESTDIR)cd -2. 编译DNA驱动cd PF_RING/drivers/DNA/ixgbe-3.7.17-DNA/srcmake BUILD_KERNEL=2.6
2012-04-04 20:02:51 5109
Performance Analysis of IP Routing Lookup Algorithms
2012-01-06
How to Optimize Software Applications Using Intel IPP
2009-06-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人