![]() # Non-zero value enables, zero disables laptop mode.ĭISK_IDLE_SECS_ON_BAT= 2 # Dirty page values (timeouts in secs). # Seconds laptop mode has to wait after the disk goes idle before doing a sync. TLP_ENABLE= 1 # Operation mode when no power supply can be detected: AC, BAT # Concerns some desktop and embedded hardware only. 可以参考设置 # - # tlp - Parameters for power save # See full explanation: # Hint: some features are disabled by default, remove the leading # to enable # them. Sudo grub-mkconfig -o /boot/grub/grub.cfg TLP配置文件 ![]() 如: GRUB_CMDLINE_LINUX_DEFAULT= "intel_pstate=enable quiet splash irqpoll rootflags=data=writeback" ![]() Intel_pstate=enable rootflags=data=writeback # 设置磁盘调度模式 # deadline > /sys/block/sda/queue/scheduler #echo deadline > /sys/block/sdb/queue/scheduler #modprobe acpi_call #/usr/sbin/tlp start # In order to enable or disable this script just change the execution # bits. # Make sure that the script will "exit 0" on success or any other # value on error. Sudo gedit /etc/rc.local #!/bin/sh -e # rc.local # This script is executed at the end of each multiuser runlevel. 主要是加上 discard,noatime,nodiratime,commit=600 Sudo gedit /etc/fstab /dev/sda1 / ext4 discard,noatime,nodiratime,commit= 600,errors=remount-ro 0 1 # /etc/X11/xinit/xinitrc # global xinitrc file, used by all X sessions started by xinit (startx) # invoke global X session script export GTK_IM_MODULE=fcitxĮxport XMODIFIERS= exec /etc/X11/Xsession 优化/etc/nf 中网络参数 安装完成后修改 sudo gedit /etc/X11/xinit/xinitrc.sudo apt install gedit unzip zip rar unrar axel git tlp.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |