Puppy Linux是一款轻量级的Linux操纵体系,以其占用资本少、启动速度快等特点遭到很多用户的爱好。但是,跟着时光的推移,体系可能会呈现速度变慢的成绩。本文将介绍五种实战机能优化技能,帮助你轻松晋升Puppy Linux的速度。
Puppy Linux安装在U盘上时,其PUPMODE状况为13,这意味着所做的任何修改都将临时保存在内存中,然后在准时保存到U盘上。这种周期性保存会话的形式固然可能增加U盘的读写次数,但也可能招致关机速度变慢。
步调:
在Puppy Linux中,一些不须要的启动项可能会占用体系资本,招致启动速度变慢。
步调:
extlinux -i /mnt/sdb1
extlinux.conf
的文件,并写入以下内容:
default vmlinuz initrdinitrd.gz pmediausbflash
vmlinuz
、initrd.gz
、pupxxx.sfs
)复制到U盘中。封闭不须要的体系效劳可能开释体系资本,进步Puppy Linux的速度。
步调:
sudo systemctl mask bluetooth
优化内存管理可能进步Puppy Linux的运转速度。
步调:
gunzip initrd.gz
puppy-init
目录:
mkdir puppy-init
cd puppy-init
.editinit
剧本文件,并写入以下内容:
“`bash
#!/bin/bash
gunzip initrd.gz
[ $? -gt 0 ] && exit
mkdir puppy-init
cd puppy-init
cat ../initrd.gz | cpio -idmv
mount -t devtmpfs devtmpfs /dev
mount -t proc proc proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev/shm
mount -t tmpfs tmpfs /dev
mount -t tmpfs tmpfs /run
mount -t tmpfs tmpfs /tmp
mount -t tmpfs tmpfs /var/run
mount -t tmpfs tmpfs /var/tmp
mount -t tmpfs tmpfs /var
mount -t tmpfs tmpfs /usr
mount -t tmpfs tmpfs /home
mount -t tmpfs tmpfs /root
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount