Download List

Descripción del Proyecto

sdb is a really simple program to benchmark disks. It only writes/reads data sequentially to/from a file and calculates the performance of this action. A memory buffer is used for input/output to get values close to the real performance of the disk or RAID system. You can use flags like O_DIRECT and O_SYNC to avoid buffering by the operating system. It is similar to dd, but there are some differences, since dd was not created for benchmarking a disk. It is possible to initialize the buffer with random values before writing them to the disk or a file on the disk. It is a simple but effective program to get the maximum speed of a disk. Due to the simplicity, you will get the results much faster than with a more complex benchmark.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2013-02-16 10:26
0.7.1

Hay un error menor en versión 0.7: si primero se calculó el rendimiento "normal" para archivos de grandes tamaño con un tamaño de bloque grande y luego se realizaron cálculos de IOPS, la medición del tiempo estaba equivocada. El tiempo para ambos se utilizó para calcular el rendimiento, que estaba equivocado.
Si se miden a ambos por separado, los valores son correctos.
There is a minor bug in version 0.7: if first the "normal" throughput for large files with a big block size was calculated and then IOPS calculations were made, the measurement of the time was wrong. The time for both was used to calculate the throughput, which was wrong.
If you measure them both separately, the values are correct.

2013-02-13 06:45
0.7

Cálculo de IOPS es ahora posible. Sincronización de subprocesos fue reescrito: es más crítico con el fin de calcular IOPS con varios hilos, se elimina el límite en el número de subprocesos paralelos y la salida en modo detallado da más información. Uso de la CPU se calcula.
IOPS calculation is now possible. Thread synchronization was rewritten: it is more critical in order to calculate IOPS with several threads, the limit on the number of parallel threads is removed, and the output in verbose mode gives more information. CPU usage is calculated.

2012-11-19 04:20
0.6

Ahora, el segundo tampón se inicializa con memset() antes de memcpy(). Esto corrige las extrañas diferencias entre memcpy() y bcopy(). Ahora -F activa la llamada fsync() después de la operación de archivo. Esta versión intenta averiguar el programador de I/O se utiliza e imprimirlo. / etc/mtab se utiliza para buscar dispositivos y sistemas de archivos en lugar de /proc/mounts. Información de uname se imprime en modo detallado como ideal, además de algunos valores de tiempo y rendimiento máximo (máximo * hilos). La carga del sistema se observa justo antes y después de la referencia real.
The second buffer is now initialized with memset() before memcpy(). This fixes the strange differences between memcpy() and bcopy(). Now -F activates the fsync() call after file operation. This release tries to find out the I/O scheduler being used and print it. /etc/mtab is used to find devices and filesystems instead of /proc/mounts. Some information from uname is printed in verbose mode as well as some timing values, maximum throughput, and the ideal one (maximum*threads). The load of the system is noted right before and after the real benchmark.

2012-11-14 07:01
0.5

No hay ningún cambio funcional en esta versión. Vuelva a formatear la salida detallada, los usuarios pueden agregar comentarios, y el nombre de host y la fecha y la hora se imprimen. Esta versión intenta encontrar el dispositivo donde residen los archivos y el sistema de archivos usado (tal vez alguien olvidó montar la unidad?). El comentario es útil si, por ejemplo, alguien cambia la caché de reescritura a aplazada. Con enlaces simbólicos a los dispositivos reales, puede probar varias unidades en paralelo. Esto puede ser útil si, por ejemplo, un controlador RAID con dos bases. Podría construir volúmenes por BP, probarlos en paralelo y encontrar los límites de la controladora RAID.
There is no functional change in this release. The verbose output is reformatted, users can add comments, and the hostname and date/time are printed. This release tries to find the device where the files reside and the used filesystem (maybe someone forgot to mount the drive?). The comment is helpful to include if, for example, someone changes the Cache from WriteBack to WriteThrough. With symbolic links to the real devices, you can test several drives in parallel. This might be helpful if you have, for example, one RAID controller with two backplanes. You could build volumes per BP, test them in parallel, and find the limits of the RAID controller.

2012-11-11 12:25
0.4

Esta es la versión inicial de Freecode.
This is the initial release on Freecode.

Project Resources