> downloads > Linux

<= Parent directory | Home Directory revision date: 2019/01/16 21:14:38 CET.
 

Show/Download this file as plain text ]


Quitar Journal
tune2fs -O ^has_journal /dev/sda2 gstreamer1.0-plugins-ugly


Ejecutar limpieza de cache y buffers cada media hora
crontab -e
*/30 * * * 1 sync && echo 3 > /proc/sys/vm/drop_caches

# 1280x720 59.86 Hz (CVT 0.92M9) hsync: 44.77 kHz; pclk: 74.50 MHz
Modeline "1280x720_60.00"   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync


# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>


tmpfs /tmp tmpfs nodev,nosuid,noexec,mode=1777 0 0
tmpfs    /var/tmp    tmpfs    defaults    0  0
tmpfs    /var/log    tmpfs    defaults    0  0


####
# mount /tmp to ram (tmpfs)  
tmpfs   /tmp   tmpfs   nodev,nosuid,noexec,relatime,mode=1777,size=2G%    0    0
tmpfs    /var/tmp    tmpfs    defaults,size=3%    0  0
tmpfs    /var/log    tmpfs    defaults,size=3%    0  0


#Clear tmp
rm -rf /tmp/*
rm -rf /var/tmp
rm -rf /var/log

#link to tmp
ln -s /tmp /var/log
ln -s /tmp /var/tmp









Grub way

sudo nano -w /etc/default/grub, edit

old SSD with no trim

GRUB_CMDLINE_LINUX="elevator=deadline"

new SSD with trim and decent scheduler

GRUB_CMDLINE_LINUX="elevator=noop"

Then run this to generate a new grub.cfg with elevator settings in.

sudo update-grub




hosts.
(23M)

hosts.zip
(5.1M)

i915-xorg.txt
(1.8k)

linux_tweaks.txt
(1.4k)

MLDonkey.
(1.6k)

openwrt.
(250B)

preload.conf
(5.2k)

sysctl.conf
(4.6k)

trakers.
(906B)