以下是提高Ubuntu分区读写速度的方法:
tune2fs关闭日志(谨慎操作)提升速度。/tmp、/var)使用noatime和nodiratime减少磁盘写入。noop或deadline,机械硬盘可选deadline或cfq,通过cat /sys/block/sda/queue/scheduler查看并设置。/etc/fstab添加discard选项。/、/home等高频访问分区单独挂载,避免碎片化,预留足够空闲空间。操作前建议备份数据,部分设置需管理员权限。