嵌入式Linux内核优化裁剪
2010-02-23 11:00
281 查看
嵌入式Linux内核优化裁剪
优化1、取消虚拟内存的支持
General setup --->
[ ] Support for paging of anonymous memory (swap)
优化2、使用默认的IO调度器,取消其他的调度器
-*- Enable the block layer --->
IO Schedulers --->
< > Anticipatory I/O scheduler
<*> Deadline I/O scheduler
< > CFQ I/O scheduler
Default I/O scheduler (Deadline) --->
优化3、取消对旧版本二进制执行文件的支持
Userspace binary formats --->
< > Kernel support for a.out and ECOFF binaries
优化4、取消不必要的设备的支持
Device Drivers --->
<*> Memory Technology Device (MTD) support --->
[*] MTD partitioning support
< > RedBoot partition table parsing
RAM/ROM/Flash chip drivers --->
< > Detect flash chips by Common Flash Interface (CFI) probe
< > Detect non-CFI AMD/JEDEC-compatible flash chips
< > Support for RAM chips in bus mapping
< > Support for ROM chips in bus mapping
< > Support for absent chips in bus mapping
< > Parallel port support --->
[ ] Block devices --->
< > ATA/ATAPI/MFM/RLL support --->
Input device support --->
[*] Keyboards --->
< > AT keyboard
Character devices --->
[ ] Non-standard serial port support
Serial drivers --->
< > 8250/16550 and compatible serial support
*** Non-8250 serial port support ***
<*> Samsung S3C2410/S3C2440/S3C2442/S3C2412 Serial port support
[*] Support for console on S3C2410 serial port
[ ] Legacy (BSD) PTY support
SPI support --->
[ ] SPI support
< > Hardware Monitoring support --->
优化5、取消不需要的文件系统的支持
File systems --->
< > Second extended fs support
< > Ext3 journalling file system support
< > Ext4dev/ext4 extended fs support development (EXPERIMENTAL)
Miscellaneous filesystems --->
< > Journalling Flash File System v2 (JFFS2) support
完成以上的优化配置有,内核镜像会由之前的1.9MB缩减到1.7MB左右。
优化1、取消虚拟内存的支持
General setup --->
[ ] Support for paging of anonymous memory (swap)
优化2、使用默认的IO调度器,取消其他的调度器
-*- Enable the block layer --->
IO Schedulers --->
< > Anticipatory I/O scheduler
<*> Deadline I/O scheduler
< > CFQ I/O scheduler
Default I/O scheduler (Deadline) --->
优化3、取消对旧版本二进制执行文件的支持
Userspace binary formats --->
< > Kernel support for a.out and ECOFF binaries
优化4、取消不必要的设备的支持
Device Drivers --->
<*> Memory Technology Device (MTD) support --->
[*] MTD partitioning support
< > RedBoot partition table parsing
RAM/ROM/Flash chip drivers --->
< > Detect flash chips by Common Flash Interface (CFI) probe
< > Detect non-CFI AMD/JEDEC-compatible flash chips
< > Support for RAM chips in bus mapping
< > Support for ROM chips in bus mapping
< > Support for absent chips in bus mapping
< > Parallel port support --->
[ ] Block devices --->
< > ATA/ATAPI/MFM/RLL support --->
Input device support --->
[*] Keyboards --->
< > AT keyboard
Character devices --->
[ ] Non-standard serial port support
Serial drivers --->
< > 8250/16550 and compatible serial support
*** Non-8250 serial port support ***
<*> Samsung S3C2410/S3C2440/S3C2442/S3C2412 Serial port support
[*] Support for console on S3C2410 serial port
[ ] Legacy (BSD) PTY support
SPI support --->
[ ] SPI support
< > Hardware Monitoring support --->
优化5、取消不需要的文件系统的支持
File systems --->
< > Second extended fs support
< > Ext3 journalling file system support
< > Ext4dev/ext4 extended fs support development (EXPERIMENTAL)
Miscellaneous filesystems --->
< > Journalling Flash File System v2 (JFFS2) support
完成以上的优化配置有,内核镜像会由之前的1.9MB缩减到1.7MB左右。
相关文章推荐
- 嵌入式Linux内核优化裁剪
- 基于ARM的嵌入式linux 内核的裁剪与移植
- 嵌入式Linux内核配置、裁剪与编译浅析(ARM版)
- 基于ARM的嵌入式linux 内核的裁剪与移植
- 嵌入式 Linux 2.6.31内核优化指南小结
- linux嵌入式内核配置与裁剪浅析
- Linux 2.6.36内核优化指南
- Linux(Centos )的网络内核参数优化来提高服务器并发处理能力
- 嵌入式Linux启动流程之启动内核(基于Arm)
- Linux 实现自动安装服务组件以及优化内核参数
- 转载_kdump的出现(基于嵌入式Linux的内核错误跟踪技术)
- Linux 2.6.31内核优化指南
- Linux内核裁剪
- 嵌入式系统Linux内核开发工程师必须掌握的三十道题
- 嵌入式Linux内核I2C子系统详解
- 优化Linux下的内核TCP参数来提高服务器负载能力
- Linux中__init、__devinit等内核优化宏
- linux内核参数注释与优化
- Linux 内核裁剪的自动化方法
- Linux系统裁剪之四(自定义内核及busybox完成系统定制)