几个linux内核参数
2023-09-27 14:21:18 时间
raid=noautodetec libata.force=3.0G mem=1G
不检测raid, sata限制3.0G 内存限制1G
https://serverfault.com/questions/400338/how-to-reduce-the-sata-link-speed-of-drive-in-centos
Specifically
libata.force= [LIBATA] Force configurations. The format is comma
separated list of "[ID:]VAL" where ID is
PORT[.DEVICE]. PORT and DEVICE are decimal numbers
matching port, link or device. Basically, it matches
the ATA ID string printed on console by libata. If
the whole ID part is omitted, the last PORT and DEVICE
values are used. If ID hasn't been specified yet, the
configuration applies to all ports, links and devices.
If only DEVICE is omitted, the parameter applies to
the port and all links and devices behind it. DEVICE
number of 0 either selects the first device or the
first fan-out link behind PMP device. It does not
select the host link. DEVICE number of 15 selects the
host link and device attached to it.
The VAL specifies the configuration to force. As long
as there's no ambiguity shortcut notation is allowed.
For example, both 1.5 and 1.5G would work for 1.5Gbps.
The following configurations can be forced.
* Cable type: 40c, 80c, short40c, unk, ign or sata.
Any ID with matching PORT is used.
* SATA link speed limit: 1.5Gbps or 3.0Gbps.
* Transfer mode: pio[0-7], mwdma[0-4] and udma[0-7].
udma[/][16,25,33,44,66,100,133] notation is also
allowed.
* [no]ncq: Turn on or off NCQ.
* nohrst, nosrst, norst: suppress hard, soft
and both resets.
* dump_id: dump IDENTIFY data.
If there are multiple matching configurations changing
the same attribute, the last one is used.
相关文章
- 关于Linux自带的python2.6.6升级到2.7.10版本步骤详解及pip、ipython的安装
- Linux解压缩tar.zst类型文件
- 如何在linux上通过GRUB添加内核参数
- Linux 内核测试与调试(3)
- Linux kernel vm 内核参数
- linux内核如何为gpio 扩展芯片驱动添加设备节点?
- linux内核中宏likely和unlikely到底做了些什么?
- linux内核启动参数解析及添加
- 【Linux】ubuntu 20无法打开终端的解决方法
- linux 配置 Sersync
- Linux 内核探测和去连接的细节
- Linux 内核取消 urb
- Linux 内核USB 接口配置
- Cat- Linux必学的60个命令
- Linux应用开发(十五)——U-Boot分析与下载
- linux下 yum 安装mysql和卸载
- S5pv210下 HDMI 接口在 Linux 3.0.8 内核下的驱动解析
- linux 内核优化参数
- 【SoC FPGA学习】十三、编译嵌入式 Linux 系统内核
- Linux系统调用 sigaction 的用法
- Linux内核参数的配置方法