by Felipe Facundes
Grupo Telegram: https://t.me/winehq_linux
Canal Telegram: https://t.me/s/PlayOnGit
Para deixar o seu computador muito mais rápido, eficiente, mais seguro. Aumente a performance e o FPS em JOGOS:
echo -e "vm.swappiness=0" > /etc/sysctl.conf
echo -e "net.ipv4.tcp_syncookies=1" >> /etc/sysctl.conf
echo -e "net.ipv4.ip_forward=1" >> /etc/sysctl.conf
echo -e "net.ipv4.tcp_dsack=0" >> /etc/sysctl.conf
echo -e "net.ipv4.tcp_sack=0" >> /etc/sysctl.conf
echo -e "fs.file-max=100000" >> /etc/sysctl.conf
echo -e "kernel.sched_migration_cost_ns=5000000" >> /etc/sysctl.conf
echo -e "kernel.sched_autogroup_enabled=0" >> /etc/sysctl.conf
echo -e "vm.dirty_background_bytes=16777216" >> /etc/sysctl.conf
echo -e "vm.dirty_bytes=50331648" >> /etc/sysctl.conf
echo -e "kernel.pid_max=4194304" >> /etc/sysctl.conf
echo -e "vm.oom_kill_allocating_task=1" >> /etc/sysctl.conf
echo -e "hard stack unlimited" >> /etc/security/limits.conf
echo -e "nproc unlimited" >> /etc/security/limits.conf
echo -e "nofile 1048576" >> /etc/security/limits.conf
echo -e "memlock unlimited" >> /etc/security/limits.conf
echo -e "as unlimited" >> /etc/security/limits.conf
echo -e "cpu unlimited" >> /etc/security/limits.conf
echo -e "fsize unlimited" >> /etc/security/limits.conf
echo -e "memlock unlimited" >> /etc/security/limits.conf
echo -e "msgqueue unlimited" >> /etc/security/limits.conf
echo -e "locks unlimited" >> /etc/security/limits.conf
echo -e "* hard nofile 1048576" >> /etc/security/limits.conf
cd /etc/systemd/
sudo rm system.conf
sudo rm user.conf
sudo wget https://raw.githubusercontent.com/felipefacundes/desktop/master/etc-systemd/system.conf
sudo wget https://raw.githubusercontent.com/felipefacundes/desktop/master/etc-systemd/user.conf
nano ~/.drirc
<driconf>
<device screen="0" driver="dri3">
<application name="all">
<!-- Always synchronize with vertical refresh to avoid tearing -->
<option name="vblank_mode" value="0"/>
<option name="hyperz" value="true"/>
</application>
</device>
</driconf>
~/.profile
~/.zprofile
~/.bash_profile
/etc/environment