informatica:linux:discos:benchmark
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
informatica:linux:discos:benchmark [2014/01/20 14:45] – javi | informatica:linux:discos:benchmark [2015/04/13 20:19] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
Aqui se listan herramientas para analizar la velocidad de los discos y otro tipo de tests. | Aqui se listan herramientas para analizar la velocidad de los discos y otro tipo de tests. | ||
- | ====== | + | ====== |
- | | + | Logical Block Address |
+ | |||
+ | ====== Sectores ====== | ||
+ | |||
+ | http:// | ||
+ | |||
+ | | ||
+ | * Tradicionalmente | ||
+ | * Para mantener la compatibilidad, | ||
+ | * Para determinar el tamanyo de sectores | ||
+ | < | ||
+ | sudo cat / | ||
+ | 4096 | ||
+ | sudo cat / | ||
+ | 512 | ||
+ | </ | ||
+ | Otro metodo: | ||
< | < | ||
sudo fdisk -l | egrep " | sudo fdisk -l | egrep " | ||
Line 26: | Line 42: | ||
Sector size (logical/ | Sector size (logical/ | ||
</ | </ | ||
+ | En este caso se trata de uno de 4096 bytes. Los viejos son de 512 bytes | ||
+ | |||
+ | ===== Alineacion ===== | ||
+ | |||
+ | http:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | http:// | ||
+ | |||
+ | TODO: ver si es cierto o no que particiones no alineadas impactan en el rendimiento | ||
+ | |||
+ | * **SOLO** impacta negativamente, | ||
+ | * **Cada particion tiene que comenzar en un numero de sector divisible por 8** (relacion 4096 bytes fisico - 512 bytes logico) | ||
+ | * El impacto es **solo negativo en operaciones de escritura** | ||
+ | |||
+ | Con fdisk se puede alinear lanzando el siguiente comando cuando se particiona: | ||
+ | sudo fdisk -H 224 -S 56 /dev/sda | ||
====== Obtener IOPS ====== | ====== Obtener IOPS ====== | ||
Line 289: | Line 323: | ||
sudo cat / | sudo cat / | ||
</ | </ | ||
+ | |||
informatica/linux/discos/benchmark.1390229133.txt.gz · Last modified: (external edit)