mejorar el rendimiento de ubuntu

4
Mejorar el rendimiento de ubuntu 0 1 2 Aqui pongo algunas cosas que hago con mi compu despues instalar en mi caso xubuntu para que me corra un poquito mas rapido 1. instalar algunas cosa necesarias sudo apt install gedit gdebi prelink preload synaptic 2. hacer que trabaje mas la memoria que el swap recomendado si tienes un giga o mas sudo su y luego gedit /etc/sysctl.conf se abre gedit y al final del texto pegamos la la linea como se ve abajo # Decrease swappiness value vm.swappiness=10 # # Do not accept ICMP redirects (prevent MITM attacks) #net.ipv4.conf.all.accept_redirects = 0 #net.ipv6.conf.all.accept_redirects = 0 # _or_ # Accept ICMP redirects only for gateways listed in our default

Upload: juliomaster92

Post on 15-Jan-2016

214 views

Category:

Documents


0 download

DESCRIPTION

rendimiento linux

TRANSCRIPT

Page 1: Mejorar El Rendimiento de Ubuntu

Mejorar el rendimiento de ubuntu012Aqui pongo algunas cosas que hago con mi compu despues instalar en mi caso xubuntu para que me corra un poquito mas rapido

1. instalar algunas cosa necesarias

sudo apt install gedit gdebi prelink preload synaptic

2. hacer que trabaje mas la memoria que el swap recomendado si tienes un giga o mas

sudo su

y luego

gedit /etc/sysctl.conf

se abre gedit y al final del texto pegamos la la linea como se ve abajo

# Decrease swappiness value vm.swappiness=10

# # Do not accept ICMP redirects (prevent MITM attacks) #net.ipv4.conf.all.accept_redirects = 0 #net.ipv6.conf.all.accept_redirects = 0 # _or_ # Accept ICMP redirects only for gateways listed in our default # gateway list (enabled by default) # net.ipv4.conf.all.secure_redirects = 1 # # Do not send ICMP redirects (we are not a router) #net.ipv4.conf.all.send_redirects = 0 # # Do not accept IP source route packets (we are not a router) #net.ipv4.conf.all.accept_source_route = 0 #net.ipv6.conf.all.accept_source_route = 0 #

Page 2: Mejorar El Rendimiento de Ubuntu

# Log Martian Packets #net.ipv4.conf.all.log_martians = 1 # # Decrease swappiness value vm.swappiness=10

3. cerramos gedit y ponemos en la terminal

gedit /etc/default/prelink

se abre gedit cambiamos PRELINKING=unknown por PRELINKING=yes y guardamos y cerramos

# Set this to no to disable prelinking altogether # or to yes to enable it. Any other value will # make prelink do nothing. # (if you change this from yes to no prelink -ua # will be run next night to undo prelinking) PRELINKING=yes

# Options to pass to prelink # -m Try to conserve virtual memory by allowing overlapping # assigned virtual memory slots for libraries which # never appear together in one binary # -R Randomize virtual memory slot assignments for libraries. # This makes it slightly harder for various buffer overflow # attacks, since library addresses will be different on each # host using -R. PRELINK_OPTS=-mR

# How often should full prelink be run (in days) # Normally, prelink will be run in quick mode, every # $PRELINK_FULL_TIME_INTERVAL days it will be run # in normal mode. Comment this line out if prelink # should be run in normal mode always.

Esto acelera la carga de los programas mas usados

4. Abrimos la terminal y ponemos para activar prelink

sudo prelink -all

y le dan enter

Page 3: Mejorar El Rendimiento de Ubuntu

5. Para aquellos que tengan mas de un nucleo esta este truco Activa Proceso Paralelos en ordenadores de varios nucleos. Esto haría que cada núcleo del procesador pueda iniciar aplicaciones paralelamente, iniciar el sistema más rápido y ejecutar varias aplicaciones a la vez.

Ir a Terminal Ejecutar el siguiente comando:

sudo gedit /etc/init.d/rc

y debemos cambiar el primer parametro CONCURRENCY=makefile por CONCURRENCY=startpar se cambia en la primera linea que no tiene # despues de eso, guardamos y cerramos el archivo. Esto también hace que los portátiles se calienten un poco menos al arrancar

Precionado CONTROL+F en la casilla de busqueda que se abre en gedit poner CONCURRENCY y esto les hara el trabajo mas facil pra encontrar la linea a modicar