Dicas de Otimização linux






Placa de videos

criei um arquivo chamado 20-intel.conf .

#nano /usr/share/X11/xorg.conf.d/20-intel.conf


Section "Device"
Driver      "intel"
Identifier  "Intel Graphics"
# accelmethod sna ou uxa
Option     "AccelMethod" "sna"
# desabilita o vsync
Option "SwapbuffersWait" "false"
#
Option      "TearFree"               "true"
EndSection

desabilita o vsync melhorando um pouco o desempenho da placa 3d
$echo "export vblank_mode=0" >> ~/.bashrc

###########################################################################

nano /etc/sysctl.conf

# Discourage Linux from swapping idle processes to disk (default = 60)

vm.swappiness = 10

###########################################################################

Otimizar HD

Alterando o fstab

EX:
UUID=fcca4e79-f9c1-410c-a88f-36636d993b2c    /    ext4    noatime,barrier=0,commit=60,errors=remount-ro    0    1

apt-get install smartmontools

Usar SMART para prever falhas no disco rígido
Você pode monitorizar e registar em log o seu disco rígido que é compatível com SMART com o daemon smartd
Activar a função SMART na BIOS.
 Instalar o pacote smartmontools
retire a marca de comentário na linha "start_smartd=yes" no ficheiro "/etc/default/smartmontools"
 reinicie o daemon smartd(8) com "sudo /etc/init.d/smartmontools restart".

############################################################################

Obs :: apt-get purge --auto-remove avahi-daemon &&  apt-get purge --auto-remove avahi-autoipd &&   apt-get purge --auto-remove && bluez apt-get autoremove

ou 

Desabilitar serviços desnecessários
apt-get install chkconfig
chkconfig --level 12345 avahi-daemon off
chkconfig --level 12345 bluetooth off
chkconfig --level 12345 network-manager off

############################################################################

Vamos colocar o nome da sua máquina na linha do  127.0.0.1
nano /etc/hosts
127.0.0.1   localhost debian
127.0.1.1   debian

############################################################################

Removendo o Logo do LibreOffice e acelerando sua inicialização

nano /etc/libreoffice/sofficerc
ou
nano /etc/libreoffice4.0/program/sofficerc

Logo=1
Mude para
Logo=0

############################################################################

Antes do  exit 0

nano /etc/rc.local

echo deadline > /sys/block/sda/queue/scheduler

############################################################################

Opcional
isso e melhoria na rede samba .
apt-get install winbind libnss-winbind

nano /etc/nsswitch.conf
acrescentar winbind

passwd:         compat
group:          compat winbind
shadow:         compat
gshadow:        files

hosts:          files dns winbind
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

############################################################################


Reinicie o computador

Comentários

Postagens mais visitadas deste blog

Roteador Modelo HGW-2501GNP-RC da Vivo

Login automático LXDE

Firewall para seu PC iptables Linux ipv6