Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
花了一个晚上,裁剪编译的新系统¬_¬,看图
deepin Talks
1678
views ·
5
replies ·
To
floor
Go
newhcw
deepin
2016-09-15 00:10
Author
花个一个晚上,重新裁剪最新内核,然后用gcc6.1编译,能用没发现大问题(一个小问题就是的新编译的linux内核在虚拟机中,会与宿主机windows抢键盘,在2个系统中用键盘需要按个钮才行)。。。
Reply
Like 0
Favorite
View the author
All Replies
MattD
deepin
2016-09-15 00:26
#1
表示前天就用上了……
不过我自己fork的内核(其实就是整合一些补丁集)连我自己都不在用,惭愧……
Reply
Like 0
View the author
突突。
deepin
2016-09-15 01:24
#2
路过~·
Reply
Like 0
View the author
wsclj123
deepin
2016-09-15 18:02
#3
路过
Reply
Like 0
View the author
xbite
deepin
2016-09-15 18:13
#4
It has been deleted!
newhcw
deepin
2016-09-15 23:21
#5
本帖最后由 newhcw 于 2016-9-15 15:24 编辑
1.用 make menuconfig 来裁剪最新的4.8-rc6内核,比如==根据我的电脑E3-1230V2选用intel的core2 or newer 选项而不是普通的generic X86-64,去掉很多不需要的驱动,文件系统,调整页管理用huge page,调整块设备的调度用noop 取代CFQ(CFQ是比noop复杂的多的磁盘调度算法,强调对于服务器之类的吞吐量和公平性,但比较慢,对于台式机来说没必要。noop相当于没调度,吞吐量差,但对于pc足够了)。
诸如此类,上面只是一小部分,熬了一整夜,对于内核的各个模块做了大幅度的裁剪,除了个别不太确定的模块,其他不需要的模块全部去掉。
2.升级了gcc,原来的gcc是5.X的,现在gcc升级到6.1.1,用新编译器编译最新‘最优化’内核。
3.简单测试了一下,chrome浏览器速度惊人,打开页面比宿主机windows10下的chrome还快的多。
Reply
Like 0
View the author
Guumi
deepin
2016-09-16 02:36
#6
赞叹一下
这个我不会
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
花个一个晚上,重新裁剪最新内核,然后用gcc6.1编译,能用没发现大问题(一个小问题就是的新编译的linux内核在虚拟机中,会与宿主机windows抢键盘,在2个系统中用键盘需要按个钮才行)。。。