Télécharger la liste

Description du projet

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.

Système requise

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

Il y a un bug mineur dans la version 0.7 : si le débit « normal » pour les fichiers volumineux avec une taille de gros bloc d'abord a été calculé et puis a fait des calculs de l'OPS es/s, la mesure du temps a été mauvaise. Le temps pour les deux a été utilisé pour calculer le débit, ce qui n'allait pas.
Si vous mesurez les deux séparément, les valeurs sont correctes.
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

Calcul des Ops ES/s est désormais possible. La synchronisation des threads a été réécrit : c'est plus critique pour le calcul des Ops ES/s avec plusieurs threads, la limite sur le nombre de threads parallèles est enlevée et la sortie en mode verbose donne plus d'informations. L'utilisation du processeur est calculée.
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

Le deuxième tampon est maintenant initialisé avec memset() avant memcpy(). Cette version corrige les différences étranges entre memcpy() et bcopy(). Maintenant -F active l'appel fdatasync après opération de fichier. Cette version essaie de trouver le planificateur I/O utilisé et l'imprimer. / etc/mtab est utilisé pour tous les appareils et systèmes de fichiers au lieu de/proc/mounts. Certaines informations d'uname sont imprimées en mode détaillé ainsi que des valeurs de minuterie, débit maximal et celui idéal (maximum * threads). La charge du système est indiquée juste avant et après le véritable point de repère.
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

Il n'y a aucun changement fonctionnel dans cette version. La sortie détaillée est remise en forme, les utilisateurs peuvent ajouter des commentaires, et le nom d'hôte et de la date/heure sont imprimées. Cette version essaie de trouver le périphérique où résident les fichiers et le système de fichiers utilisé (peut-être que quelqu'un a oublié de monter le lecteur?). Le commentaire est utile de préciser si, par exemple, un utilisateur modifie le Cache d'écriture différée à WriteThrough. Avec les liens symboliques vers les périphériques réels, vous pouvez tester plusieurs disques en parallèle. Cela peut être utile si vous avez, par exemple, un contrôleur RAID avec deux fonds de panier. Vous pouvez construire des volumes par BP, testez-les en parallèle et trouver les limites du contrôleur 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

Il s'agit de la version initiale sur Freecode.
This is the initial release on Freecode.

Project Resources